This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fw: Re: Question about the ethernet hardware device driver?


To: "Qiang Huang" <jameshq@liverpool.ac.uk>
Subject: Re: [ECOS] Question about the ethernet hardware device driver?



> 	NETDEVTAB_ENTRY(DRV_netdev,
> 	                "DRV",
> 	                DRV_HRDWR_init,
> 	                &DRV_sc);
> 

The netdevtab contains the init functions for the ethernet drivers
you configured in your setup.It is the job of the network stack
to walk this list and call each init in turn.
for the redboot stack it is done in redboot/src/net_io.c
for the *BSD stacks in tcpip/src/ecos/support.c
the lwip stack also does this.

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]