This function should initialize the device, attach to interrupt handler, and start the driver transmit and receive tasks. The function
rtems_id rtems_bsdnet_newproc (char *name, int stacksize, void(*entry)(void *), void *arg);
should be used to start the driver tasks.
Note that the network stack may call the driver initialization function more than once. Make sure multiple versions of the receive and transmit tasks are not accidentally started.
Copyright © 1988-2008 OAR Corporation