Go to the documentation of this file.
5 #include <linux/device.h>
8 #define EISA_MAX_SLOTS 8
10 #define EISA_MAX_RESOURCES 4
14 #define EISA_DMA1_STATUS 8
15 #define EISA_INT1_CTRL 0x20
16 #define EISA_INT1_MASK 0x21
17 #define EISA_INT2_CTRL 0xA0
18 #define EISA_INT2_MASK 0xA1
19 #define EISA_DMA2_STATUS 0xD0
20 #define EISA_DMA2_WRITE_SINGLE 0xD4
21 #define EISA_EXT_NMI_RESET_CTRL 0x461
22 #define EISA_INT1_EDGE_LEVEL 0x4D0
23 #define EISA_INT2_EDGE_LEVEL 0x4D1
24 #define EISA_VENDOR_ID_OFFSET 0xC80
25 #define EISA_CONFIG_OFFSET 0xC84
27 #define EISA_CONFIG_ENABLED 1
28 #define EISA_CONFIG_FORCED 2
42 #ifdef CONFIG_EISA_NAMES
47 #define to_eisa_device(n) container_of(n, struct eisa_device, dev)
49 static inline int eisa_get_region_index (
void *
addr)
51 unsigned long x = (
unsigned long) addr;
62 #define to_eisa_driver(drv) container_of(drv,struct eisa_driver, driver)
79 static inline void *eisa_get_drvdata (
struct eisa_device *edev)
84 static inline void eisa_set_drvdata (
struct eisa_device *edev,
void *
data)