How To Support New Network Interface Cards

There are three things necessary to support a new network interface card:

  1. Ephemeral packet Arrived function. The device driver will call this function in the context of an interrupt handler. The purpose of this function is to either raise the linker layer PacketArrived event, or kick a thread that will raise that event for each packet delivered by the device driver.

  2. Output function. A link layer output function that calls the device driver to send a packet.

  3. if_attach. network interface cards register themselves with a call to if_attach. This is then reflected via URT 's IfPrivate module and should eventually end up in the SPIN 's device management.

NEED TO SHOW EXAMPLES AND CODE.



Marc Fiuczynski
DAY/MONTH/YEAR