|
|
The sample UDI NIC driver for the Osicom 2300 uses the Network Interface Metalanguage to transmit and receive data through the network card, and is a dual-region UDI driver.
The source code for the driver is installed as part of the UDI Development Kit under /usr/src/hdk/udi/driver/shrkudi. It is recommended that you open the above link in a new window, and follow along in the source code as you read this text.
The remainder of this chapter follows the sample NIC driver code to explain how to program a UDI NIC driver, and builds upon the basic UDI driver concepts introduced in ``UDI driver coding basics''. It concentrates on presenting the concepts unique to programming a UDI NIC driver, as well as other aspects of the UDI programming environment (such as multi-region programming) not presented in earlier chapters.