Compaq AA-RNG2A-TE Network Card User Manual


 
9.2.3
Transmitting the Buffer .........................................
96
9.2.4
Accounting for Outgoing Bytes .................................
97
9.2.5
Updating Counters, Freeing the Transmit Buffer, and
Marking the Output Process as Active ....................... 97
9.2.6
Indicating When to Start the Watchdog Routine ............
98
10 Implementing a Watchdog Section
10.1
Setting the IPL and Obtaining the Simple Lock ................. 101
10.2
Incrementing the Transmit Timeout Counter and Resetting
the Unit ................................................................
102
10.3
Releasing the Simple Lock and Resetting the IPL ............... 102
11 Implementing the Reset Section
11.1
Implementing the el_reset Routine ................................ 111
11.2
Implementing the el_reset_locked Routine ....................... 112
12 Implementing the ioctl Section
12.1
Setting Up the el_ioctl Routine ..................................... 122
12.2
Determining Whether the User Has Removed the PCMCIA
Card from the Slot ....................................................
123
12.3
Setting the IPL and Obtaining the Simple Lock ................. 123
12.4
Enabling Loopback Mode (SIOCENABLBACK ioctl
Command) .............................................................
124
12.5
Disabling Loopback Mode (SIOCDISABLBACK ioctl
Command) ............................................................. 124
12.6
Reading Current and Default MAC Addresses
(SIOCRPHYSADDR ioctl Command) .............................. 125
12.7
Setting the Local MAC Address (SIOCSPHYSADDR ioctl
Command) ............................................................. 125
12.8
Adding the Device to a Multicast Group (SIOCADDMULTI
ioctl Command) ....................................................... 126
12.9
Deleting the Device from a Multicast Group (SIOCDELMULTI
ioctl Command) ....................................................... 127
12.10
Accessing Network Counters (SIOCRDCTRS and
SIOCRDZCTRS ioctl Commands) .................................. 128
12.11
Bringing Up the Device (SIOCSIFADDR ioctl Command) ..... 129
12.12
Using Currently Set Flags (SIOCSIFFLAGS ioctl Command) 1210
12.13
Setting the IP MTU (SIOCSIPMTU ioctl Command) ........... 1210
12.14
Setting the Media Speed (SIOCSMACSPEED ioctl
Command) ............................................................. 1210
Contents vii