Compaq Tru64 UNIX Installation Manual page 6

Writing network device drivers
Table of Contents

Advertisement

7.10
Database . . .. . .. . . .. . .. . .. . .. . . .. . .. . .. . .. . .. . . .. . .. . .. . .. . . .. . .. . .. . .. .
7.11
Freeing Resources . .. . .. . .. . . .. . .. . .. . .. . .. . . .. . .. . .. . .. . . .. . .. . .. . .. .
8.1
Implementing the el_init Routine . . .. . .. . . .. . .. . .. . .. . . .. . .. . .. . .. .
8.1.1
Setting Up the el_init Routine . .. . .. . . .. . .. . .. . .. . . .. . .. . .. . .. .
8.1.2
8.1.3
8.1.4
Calling the el_init_locked Routine . . . .. . .. . .. . .. . . .. . .. . .. . .. .
8.1.5
8.1.6
8.2
Implementing the el_init_locked Routine .. . .. . .. . .. . . .. . .. . .. . .. .
8.2.1
Resetting the Transmitter and Receiver .. . .. . .. . . .. . .. . .. . .. .
8.2.2
Clearing Interrupts . .. . . .. . .. . .. . .. . .. . . .. . .. . .. . .. . . .. . .. . .. . .. .
8.2.3
Starting the Device . .. . . .. . .. . .. . .. . .. . . .. . .. . .. . .. . . .. . .. . .. . .. .
8.2.4
8.2.5
Setting the LAN Media . .. . .. . .. . .. . .. . . .. . .. . .. . .. . . .. . .. . .. . .. .
8.2.6
Setting a LAN Attribute . . .. . .. . .. . .. . . .. . .. . .. . .. . . .. . .. . .. . .. .
8.2.7
Selecting Memory Mapping . .. . .. . .. . . .. . .. . .. . .. . . .. . .. . .. . .. .
8.2.8
8.2.9
Setting the LAN Address . .. . .. . .. . .. . . .. . .. . .. . .. . . .. . .. . .. . .. .
8.2.10
Processing Special Flags . . .. . .. . .. . .. . . .. . .. . .. . .. . . .. . .. . .. . .. .
8.2.11
Setting the Debug Flag . .. . .. . .. . .. . .. . . .. . .. . .. . .. . . .. . .. . .. . .. .
8.2.12
Enabling TX and RX .. . . .. . .. . .. . .. . .. . . .. . .. . .. . .. . . .. . .. . .. . .. .
8.2.13
Enabling Interrupts .. . . .. . .. . .. . .. . .. . . .. . .. . .. . .. . . .. . .. . .. . .. .
8.2.14
Setting the Operational Window . .. . . .. . .. . .. . .. . . .. . .. . .. . .. .
8.2.15
Marking the Device as Running . . .. . . .. . .. . .. . .. . . .. . .. . .. . .. .
8.2.16
Starting the Autosense Kernel Thread . .. . .. . .. . . .. . .. . .. . .. .
8.2.17
Starting the Transmit of Pending Packets .. . .. . . .. . .. . .. . .. .
9.1
Implementing the el_start Routine .. . .. . . .. . .. . .. . .. . . .. . .. . .. . .. .
9.1.1
9.1.2
Calling the el_start_locked Routine . . .. . .. . .. . .. . . .. . .. . .. . .. .
9.1.3
9.2
Implementing the el_start_locked Routine . .. . .. . .. . . .. . .. . .. . .. .
9.2.1
Discarding All Transmits After the User Removes the
PCMCIA Card . .. . .. . .. . . .. . .. . .. . .. . .. . . .. . .. . .. . .. . . .. . .. . .. . .. .
9.2.2
the Transmit Buffer . .. . . .. . .. . .. . .. . .. . . .. . .. . .. . .. . . .. . .. . .. . .. .
vi Contents
7-5
7-5
8-1
8-1
8-2
8-2
8-3
8-3
8-3
8-3
8-4
8-4
8-5
8-5
8-6
8-7
8-7
8-7
8-8
8-8
8-9
8-9
8-10
8-10
8-10
8-11
8-11
9-1
9-1
9-2
9-2
9-3
9-3
9-4

Advertisement

Table of Contents
loading

Table of Contents