3c509 network card initialization

Eric Norum eric.norum at usask.ca
Thu Dec 19 23:00:17 UTC 2002


On Thursday, December 19, 2002, at 04:12  PM, shanehelms at eircom.net  
wrote:

> According to the following code in confdefs.h, network cards are not
> included in the device_drivers table.
>
> So where do they exactly get initialized ? and why are they _not_  
> included
> in this table ? is this table for a specific type of devices, or can  
> any
> device be included here ?
>
> ------------- code from confdefs.h file ------------------
> #ifdef CONFIGURE_INIT
> rtems_driver_address_table Device_drivers[] = {
> #ifdef CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
>   CONSOLE_DRIVER_TABLE_ENTRY,
> #endif
> #ifdef CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
>   CLOCK_DRIVER_TABLE_ENTRY,
> #endif
> #ifdef CONFIGURE_APPLICATION_NEEDS_STUB_DRIVER
>   STUB_DRIVER_TABLE_ENTRY,
> #endif
>   NULL_DRIVER_TABLE_ENTRY
> };
> #endif

The BSD network stack is an add-on to RTEMS and has its own  
configuration tables.  Have a look at the RTEMS Network Supplement  
document for details.
http://www.oarcorp.com/rtems/releases/4.5.0/rtemsdoc-4.5.0/share/ 
rtemsdoc/html/networking/index.html

-- 
Eric Norum <eric.norum at usask.ca>
Department of Electrical Engineering
University of Saskatchewan
Saskatoon, Canada.
Phone: (306) 966-5394   FAX:   (306) 966-5407




More information about the users mailing list