Compaq Tru64 UNIX Installation Manual page 4

Writing network device drivers
Table of Contents

Advertisement

3.6
Defining the Interrupt Handler ID . .. . .. . . .. . .. . .. . .. . . .. . .. . .. . .. .
3.7
Defining CSR Pointer Information . .. . .. . . .. . .. . .. . .. . . .. . .. . .. . .. .
3.8
Defining FIFO Maintenance Information .. . .. . .. . .. . . .. . .. . .. . .. .
3.9
Defining Bus-Specific Information . .. . .. . . .. . .. . .. . .. . . .. . .. . .. . .. .
3.10
Defining the Broadcast Flag . . .. . .. . .. . .. . . .. . .. . .. . .. . . .. . .. . .. . .. .
3.11
Defining the Debug Flag .. . . .. . .. . .. . .. . .. . . .. . .. . .. . .. . . .. . .. . .. . .. .
3.12
Defining Interrupt and Timeout Statistics . .. . .. . .. . . .. . .. . .. . .. .
3.13
3.14
Defining the Polling Context Flag . . .. . .. . . .. . .. . .. . .. . . .. . .. . .. . .. .
3.15
3.16
Declaring the Simple Lock Data Structure . .. . .. . .. . . .. . .. . .. . .. .
4.1
4.2
Setting Up the el_configure Routine . . .. . . .. . .. . .. . .. . . .. . .. . .. . .. .
5.1
Implementing the el_probe Routine . . .. . . .. . .. . .. . .. . . .. . .. . .. . .. .
5.1.1
Setting Up the el_probe Routine . . .. . . .. . .. . .. . .. . . .. . .. . .. . .. .
5.1.2
5.1.3
Performing Bus-Specific Tasks . .. . .. . . .. . .. . .. . .. . . .. . .. . .. . .. .
5.1.4
5.1.5
Allocating the ether_driver Data Structure . . .. . . .. . .. . .. . .. .
5.1.6
Structure .. . . .. . .. . .. . .. . . .. . .. . .. . .. . .. . . .. . .. . .. . .. . . .. . .. . .. . .. .
5.1.7
Computing the CSR Addresses .. . .. . . .. . .. . .. . .. . . .. . .. . .. . .. .
5.1.8
5.1.9
Handling First-Time Probe Operations . .. . .. . .. . . .. . .. . .. . .. .
5.1.10
Handling Subsequent Probe Operations . . .. . .. . . .. . .. . .. . .. .
5.1.11
Registering the Interrupt Handler . . . .. . .. . .. . .. . . .. . .. . .. . .. .
5.1.12
5.1.13
5.1.14
Registering the shutdown Routine . . . .. . .. . .. . .. . . .. . .. . .. . .. .
5.2
Implementing the el_shutdown Routine . .. . .. . .. . .. . . .. . .. . .. . .. .
5.3
5.3.1
5.3.2
Blocking Until Awakened . .. . .. . .. . .. . . .. . .. . .. . .. . . .. . .. . .. . .. .
5.3.3
Testing for the Termination Flag . .. . . .. . .. . .. . .. . . .. . .. . .. . .. .
5.3.4
Starting Up Statistics . . .. . .. . .. . .. . .. . . .. . .. . .. . .. . . .. . .. . .. . .. .
iv Contents
3-6
3-6
3-7
3-7
3-8
3-8
3-8
3-9
3-9
3-10
3-10
4-1
4-3
5-1
5-2
5-4
5-4
5-6
5-7
5-8
5-8
5-8
5-10
5-12
5-14
5-16
5-16
5-17
5-17
5-17
5-19
5-19
5-20
5-20

Advertisement

Table of Contents
loading

Table of Contents