#ifndef _LINUX_EISA_H
#define _LINUX_EISA_H
#include <linux/ioport.h>
#include <linux/device.h>
#include <linux/mod_devicetable.h>
#define EISA_MAX_SLOTS …
#define EISA_MAX_RESOURCES …
#define EISA_DMA1_STATUS …
#define EISA_INT1_CTRL …
#define EISA_INT1_MASK …
#define EISA_INT2_CTRL …
#define EISA_INT2_MASK …
#define EISA_DMA2_STATUS …
#define EISA_DMA2_WRITE_SINGLE …
#define EISA_EXT_NMI_RESET_CTRL …
#define EISA_INT1_EDGE_LEVEL …
#define EISA_INT2_EDGE_LEVEL …
#define EISA_VENDOR_ID_OFFSET …
#define EISA_CONFIG_OFFSET …
#define EISA_CONFIG_ENABLED …
#define EISA_CONFIG_FORCED …
struct eisa_device { … };
#define to_eisa_device(n) …
static inline int eisa_get_region_index (void *addr)
{ … }
struct eisa_driver { … };
#define to_eisa_driver(drv) …
#ifdef CONFIG_EISA
extern struct bus_type eisa_bus_type;
int eisa_driver_register (struct eisa_driver *edrv);
void eisa_driver_unregister (struct eisa_driver *edrv);
#else
static inline int eisa_driver_register (struct eisa_driver *edrv) { return 0; }
static inline void eisa_driver_unregister (struct eisa_driver *edrv) { }
#endif
static inline void *eisa_get_drvdata (struct eisa_device *edev)
{ … }
static inline void eisa_set_drvdata (struct eisa_device *edev, void *data)
{ … }
struct eisa_root_device { … };
int eisa_root_register (struct eisa_root_device *root);
#ifdef CONFIG_EISA
extern int EISA_bus;
#else
#define EISA_bus …
#endif
#endif