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 ) uint16_t prod_id
Product ID.
uint16_t vendor_id
Manufacturer ID.
uint32_t enabled
Bitmask of enabled AENQ groups (host -> device)
static void enable_eisa_device(struct eisa_device *eisa)
Enable EISA device.
int(* probe)(struct eisa_device *eisa, const struct eisa_device_id *id)
Probe device.
void eisa_device_enabled(struct eisa_device *eisa, int enabled)
Reset and enable/disable an EISA device.
uint16_t vendor_id
Manufacturer ID.
struct eisa_driver * driver
Driver for this device.
An EISA device ID list entry.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
unsigned int slot
Slot number.
void(* remove)(struct eisa_device *eisa)
Remove device.
uint8_t id
Request identifier.
unsigned int id_count
Number of entries in EISA ID table.
static void disable_eisa_device(struct eisa_device *eisa)
Disable EISA device.
static void eisa_set_drvdata(struct eisa_device *eisa, void *priv)
Set EISA driver-private data.
uint16_t ioaddr
I/O address.
static void * eisa_get_drvdata(struct eisa_device *eisa)
Get EISA driver-private data.
static struct tlan_private * priv
struct eisa_device_id * ids
EISA ID table.
struct device dev
Generic device.
uint16_t prod_id
Product ID.
void * priv
Driver-private data.