16#define EISA_MIN_SLOT (0x1)
17#define EISA_MAX_SLOT (0xf)
18#define EISA_SLOT_BASE( n ) ( 0x1000 * (n) )
20#define EISA_VENDOR_ID ( 0xc80 )
21#define EISA_PROD_ID ( 0xc82 )
22#define EISA_GLOBAL_CONFIG ( 0xc84 )
24#define EISA_CMD_RESET ( 1 << 2 )
25#define EISA_CMD_ENABLE ( 1 << 0 )
83#define EISA_DRIVERS __table ( struct eisa_driver, "eisa_drivers" )
86#define __eisa_driver __table_entry ( EISA_DRIVERS, 01 )
static void enable_eisa_device(struct eisa_device *eisa)
Enable EISA device.
static void eisa_set_drvdata(struct eisa_device *eisa, void *priv)
Set EISA driver-private data.
static void disable_eisa_device(struct eisa_device *eisa)
Disable EISA device.
static void * eisa_get_drvdata(struct eisa_device *eisa)
Get EISA driver-private data.
void eisa_device_enabled(struct eisa_device *eisa, int enabled)
Reset and enable/disable an EISA device.
uint8_t id
Request identifier.
uint16_t enabled
Single-entry bitmask of the enabled option value.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
An EISA device ID list entry.
uint16_t prod_id
Product ID.
uint16_t vendor_id
Manufacturer ID.
struct device dev
Generic device.
uint16_t prod_id
Product ID.
uint16_t ioaddr
I/O address.
unsigned int slot
Slot number.
uint16_t vendor_id
Manufacturer ID.
struct eisa_driver * driver
Driver for this device.
void * priv
Driver-private data.
int(* probe)(struct eisa_device *eisa, const struct eisa_device_id *id)
Probe device.
unsigned int id_count
Number of entries in EISA ID table.
void(* remove)(struct eisa_device *eisa)
Remove device.
struct eisa_device_id * ids
EISA ID table.
static struct tlan_private * priv