3c509-eisa.c File Reference

#include <gpxe/eisa.h>
#include <gpxe/isa.h>
#include "console.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 16 of file 3c509-eisa.c.

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

00016                                                                         {
00017         
00018 
00019         nic->ioaddr = eisa->ioaddr;
00020         nic->irqno = 0;
00021         enable_eisa_device ( eisa );
00022         
00023         /* Hand off to generic t5x9 probe routine */
00024         return t5x9_probe ( nic, ISA_PROD_ID ( PROD_ID ), ISA_PROD_ID_MASK );
00025 }

static void el3_eisa_disable ( struct nic nic,
struct eisa_device eisa 
) [static]

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

References disable_eisa_device(), and t5x9_disable().

00027                                                                            {
00028         t5x9_disable ( nic );
00029         disable_eisa_device ( eisa );
00030 }

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 32 of file 3c509-eisa.c.


Generated on Tue Apr 6 20:01:17 2010 for gPXE by  doxygen 1.5.7.1