Compaq AA-RNG2A-TE manual Network Device Driver

Models: AA-RNG2A-TE

1 159
Download 159 pages 42.56 Kb
Page 20
Image 20

Figure 1–1: Sections of a Network Device Driver

Network Device Driver

/* Include Files Section */

/* Declarations Section */

/* Configure Section */

/* Initialization Section */

/* Autoconfiguration Support Section */

/* Start Transmit Section */

/* Ioctl Section */

/* Interrupt Section */

/* Reset Section */

/* Watchdog Section */

ZK-0818U-AI

Unlike for block and character drivers, you do not specify network driver entry points in the dsent data structure. This means that a network driver has no exposure into the file system and, therefore, has no entry in the /dev directory. Thus, network drivers do not have block and character driver-specific interfaces such as open, close, read, write, and strategy.

1–2Network Device Driver Environment

Page 20
Image 20
Compaq AA-RNG2A-TE manual Network Device Driver