Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

Manual ethernet settings

hallo ,

Does somebody know how to inintialize ethernet ,after making ethernet settings manuallly in ecos config tool.

thanks,

NIrav

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi nirav,

    > Does somebody know how to inintialize ethernet

    First, you should review the description of the the configuration option for

    manual configuration (e.g. CYGHWR_NET_DRIVER_ETH0_MANUAL): [emphasis added]<div class='quotetop'>QUOTE </div>

    --- Quote Start ---

    If this option is selected, the eCos library provides no initialization code

    for this interface; you must perform all the initialization in the application,

    by means of appropriate ioctl() calls, or by calling init_net() with an

    appropriate bootp record you have constructed yourself.[/b]

    --- Quote End ---

    Second, use the force and review the following in the packages/net tree:

    -- sockio.h

    -- network_support.c

    -- bootp_support.c

    It should answer most of your questions.

    Regards,

    --Scott