iPXE
Functions | Variables
3c509-eisa.c File Reference
#include <ipxe/eisa.h>
#include <ipxe/isa.h>
#include "3c509.h"

Go to the source code of this file.

Functions

static int el3_eisa_probe (struct nic *nic, struct eisa_device *eisa)
static void el3_eisa_disable (struct nic *nic, struct eisa_device *eisa)
 EISA_DRIVER (el3_eisa_driver, el3_eisa_adapters)
 DRIVER ("3c509 (EISA)", nic_driver, eisa_driver, el3_eisa_driver, el3_eisa_probe, el3_eisa_disable)
 ISA_ROM ("3c509-eisa","3c509 (EISA)")

Variables

static struct eisa_device_id el3_eisa_adapters []

Function Documentation

static int el3_eisa_probe ( struct nic nic,
struct eisa_device eisa 
) [static]

Definition at line 15 of file 3c509-eisa.c.

References enable_eisa_device(), eisa_device::ioaddr, ISA_PROD_ID, ISA_PROD_ID_MASK, PROD_ID, and t5x9_probe().

                                                                        {
        

        nic->ioaddr = eisa->ioaddr;
        nic->irqno = 0;
        enable_eisa_device ( eisa );
        
        /* Hand off to generic t5x9 probe routine */
        return t5x9_probe ( nic, ISA_PROD_ID ( PROD_ID ), ISA_PROD_ID_MASK );
}
static void el3_eisa_disable ( struct nic nic,
struct eisa_device eisa 
) [static]

Definition at line 26 of file 3c509-eisa.c.

References disable_eisa_device(), and t5x9_disable().

                                                                           {
        t5x9_disable ( nic );
        disable_eisa_device ( eisa );
}
EISA_DRIVER ( el3_eisa_driver  ,
el3_eisa_adapters   
)
DRIVER ( "3c509 (EISA)"  ,
nic_driver  ,
eisa_driver  ,
el3_eisa_driver  ,
el3_eisa_probe  ,
el3_eisa_disable   
)
ISA_ROM ( "3c509-eisa"  ,
"3c509 (EISA)"   
)

Variable Documentation

struct eisa_device_id el3_eisa_adapters[] [static]
Initial value:
 {
        { "3Com 3c509 EtherLink III (EISA)", MFG_ID, PROD_ID },
}

Definition at line 31 of file 3c509-eisa.c.