Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
eisa.h File Reference
#include <linux/ioport.h>
#include <linux/device.h>
#include <linux/mod_devicetable.h>

Go to the source code of this file.

Data Structures

struct  eisa_device
 
struct  eisa_driver
 
struct  eisa_root_device
 

Macros

#define EISA_MAX_SLOTS   8
 
#define EISA_MAX_RESOURCES   4
 
#define EISA_DMA1_STATUS   8
 
#define EISA_INT1_CTRL   0x20
 
#define EISA_INT1_MASK   0x21
 
#define EISA_INT2_CTRL   0xA0
 
#define EISA_INT2_MASK   0xA1
 
#define EISA_DMA2_STATUS   0xD0
 
#define EISA_DMA2_WRITE_SINGLE   0xD4
 
#define EISA_EXT_NMI_RESET_CTRL   0x461
 
#define EISA_INT1_EDGE_LEVEL   0x4D0
 
#define EISA_INT2_EDGE_LEVEL   0x4D1
 
#define EISA_VENDOR_ID_OFFSET   0xC80
 
#define EISA_CONFIG_OFFSET   0xC84
 
#define EISA_CONFIG_ENABLED   1
 
#define EISA_CONFIG_FORCED   2
 
#define to_eisa_device(n)   container_of(n, struct eisa_device, dev)
 
#define to_eisa_driver(drv)   container_of(drv,struct eisa_driver, driver)
 
#define EISA_bus   0
 

Functions

int eisa_root_register (struct eisa_root_device *root)
 

Macro Definition Documentation

#define EISA_bus   0

Definition at line 108 of file eisa.h.

#define EISA_CONFIG_ENABLED   1

Definition at line 27 of file eisa.h.

#define EISA_CONFIG_FORCED   2

Definition at line 28 of file eisa.h.

#define EISA_CONFIG_OFFSET   0xC84

Definition at line 25 of file eisa.h.

#define EISA_DMA1_STATUS   8

Definition at line 14 of file eisa.h.

#define EISA_DMA2_STATUS   0xD0

Definition at line 19 of file eisa.h.

#define EISA_DMA2_WRITE_SINGLE   0xD4

Definition at line 20 of file eisa.h.

#define EISA_EXT_NMI_RESET_CTRL   0x461

Definition at line 21 of file eisa.h.

#define EISA_INT1_CTRL   0x20

Definition at line 15 of file eisa.h.

#define EISA_INT1_EDGE_LEVEL   0x4D0

Definition at line 22 of file eisa.h.

#define EISA_INT1_MASK   0x21

Definition at line 16 of file eisa.h.

#define EISA_INT2_CTRL   0xA0

Definition at line 17 of file eisa.h.

#define EISA_INT2_EDGE_LEVEL   0x4D1

Definition at line 23 of file eisa.h.

#define EISA_INT2_MASK   0xA1

Definition at line 18 of file eisa.h.

#define EISA_MAX_RESOURCES   4

Definition at line 10 of file eisa.h.

#define EISA_MAX_SLOTS   8

Definition at line 8 of file eisa.h.

#define EISA_VENDOR_ID_OFFSET   0xC80

Definition at line 24 of file eisa.h.

#define to_eisa_device (   n)    container_of(n, struct eisa_device, dev)

Definition at line 47 of file eisa.h.

#define to_eisa_driver (   drv)    container_of(drv,struct eisa_driver, driver)

Definition at line 62 of file eisa.h.

Function Documentation

int eisa_root_register ( struct eisa_root_device root)

Definition at line 422 of file eisa-bus.c.