3.6 | Defining the Interrupt Handler ID | |
3.7 | Defining CSR Pointer Information | |
3.8 | Defining FIFO Maintenance Information | |
3.9 | Defining | |
3.10 | Defining the Broadcast Flag | |
3.11 | Defining the Debug Flag | |
3.12 | Defining Interrupt and Timeout Statistics | |
3.13 | Defining Autosense Kernel Thread Context Information | |
3.14 | Defining the Polling Context Flag | |
3.15 | Defining a Copy of the w3_eeprom Data Structure | |
3.16 | Declaring the Simple Lock Data Structure |
4 Implementing the Configure Section
4.1Declaring
| cfg_subsys_attr_t Data Structure | |
4.2 | Setting Up the el_configure Routine |
5 Implementing the Autoconfiguration Support Section (probe)
5.1 | Implementing the el_probe Routine | |
5.1.1 | Setting Up the el_probe Routine |
5.1.2Checking the Maximum Number of Devices That the
| Driver Supports | |
5.1.3 | Performing | |
5.1.4 | Allocating Memory for the softc Data Structure | |
5.1.5 | Allocating the ether_driver Data Structure |
5.1.6Initializing the Enhanced Hardware Management Data
| Structure | |
5.1.7 | Computing the CSR Addresses | |
5.1.8 | Setting | |
5.1.9 | Handling | |
5.1.10 | Handling Subsequent Probe Operations | |
5.1.11 | Registering the Interrupt Handler | |
5.1.12 | Saving the controller and softc Data Structure Pointers .. | |
5.1.13 | Trying to Allocate Another controller Data Structure | |
5.1.14 | Registering the shutdown Routine | |
5.2 | Implementing the el_shutdown Routine | |
5.3 | Implementing the el_autosense_thread Routine | |
5.3.1 | Setting Up the el_autosense_thread Routine | |
5.3.2 | Blocking Until Awakened | |
5.3.3 | Testing for the Termination Flag | |
5.3.4 | Starting Up Statistics |
iv Contents