Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
eisa_enumerator.c File Reference
#include <linux/ioport.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <asm/io.h>
#include <asm/uaccess.h>
#include <asm/byteorder.h>
#include <asm/eisa_bus.h>
#include <asm/eisa_eeprom.h>

Go to the source code of this file.

Macros

#define EPI   0xc80
 
#define NUM_SLOT   16
 
#define SLOT2PORT(x)   (x<<12)
 
#define get_8(x)   (*(u_int8_t*)(x))
 

Functions

int eisa_enumerator (unsigned long eeprom_addr, struct resource *io_parent, struct resource *mem_parent)
 

Macro Definition Documentation

#define EPI   0xc80

Definition at line 34 of file eisa_enumerator.c.

#define get_8 (   x)    (*(u_int8_t*)(x))

Definition at line 42 of file eisa_enumerator.c.

#define NUM_SLOT   16

Definition at line 35 of file eisa_enumerator.c.

#define SLOT2PORT (   x)    (x<<12)

Definition at line 36 of file eisa_enumerator.c.

Function Documentation

int eisa_enumerator ( unsigned long  eeprom_addr,
struct resource io_parent,
struct resource mem_parent 
)

Definition at line 485 of file eisa_enumerator.c.