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

Go to the source code of this file.

Data Structures

struct  Node
 
struct  ExpansionRom
 
struct  ConfigDev
 

Macros

#define ZORRO_MANUF(id)   ((id) >> 16)
 
#define ZORRO_PROD(id)   (((id) >> 8) & 0xff)
 
#define ZORRO_EPC(id)   ((id) & 0xff)
 
#define ZORRO_ID(manuf, prod, epc)   ((ZORRO_MANUF_##manuf << 16) | ((prod) << 8) | (epc))
 
#define GVP_PRODMASK   (0xf8)
 
#define GVP_SCSICLKMASK   (0x01)
 
#define ERT_TYPEMASK   0xc0
 
#define ERT_ZORROII   0xc0
 
#define ERT_ZORROIII   0x80
 
#define ERTB_MEMLIST   5 /* Link RAM into free memory list */
 
#define ERTF_MEMLIST   (1<<5)
 
#define ZORRO_NUM_AUTO   16
 

Typedefs

typedef __u32 zorro_id
 

Enumerations

enum  GVP_flags {
  GVP_IO = 0x01, GVP_ACCEL = 0x02, GVP_SCSI = 0x04, GVP_24BITDMA = 0x08,
  GVP_25BITDMA = 0x10, GVP_NOBANK = 0x20, GVP_14MHZ = 0x40
}
 

Functions

struct Node __attribute__ ((packed))
 

Variables

struct Nodeln_Succ
 
struct Nodeln_Pred
 
__u8 ln_Type
 
__s8 ln_Pri
 
__s8ln_Name
 
__u8 er_Type
 
__u8 er_Product
 
__u8 er_Flags
 
__u8 er_Reserved03
 
__u16 er_Manufacturer
 
__u32 er_SerialNumber
 
__u16 er_InitDiagVec
 
__u8 er_Reserved0c
 
__u8 er_Reserved0d
 
__u8 er_Reserved0e
 
__u8 er_Reserved0f
 
struct Node cd_Node
 
__u8 cd_Flags
 
__u8 cd_Pad
 
struct ExpansionRom cd_Rom
 
voidcd_BoardAddr
 
__u32 cd_BoardSize
 
__u16 cd_SlotAddr
 
__u16 cd_SlotSize
 
voidcd_Driver
 
struct ConfigDevcd_NextCD
 
__u32 cd_Unused [4]
 

Macro Definition Documentation

#define ERT_TYPEMASK   0xc0

Definition at line 89 of file zorro.h.

#define ERT_ZORROII   0xc0

Definition at line 90 of file zorro.h.

#define ERT_ZORROIII   0x80

Definition at line 91 of file zorro.h.

#define ERTB_MEMLIST   5 /* Link RAM into free memory list */

Definition at line 94 of file zorro.h.

#define ERTF_MEMLIST   (1<<5)

Definition at line 95 of file zorro.h.

#define GVP_PRODMASK   (0xf8)

Definition at line 51 of file zorro.h.

#define GVP_SCSICLKMASK   (0x01)

Definition at line 52 of file zorro.h.

#define ZORRO_EPC (   id)    ((id) & 0xff)

Definition at line 33 of file zorro.h.

#define ZORRO_ID (   manuf,
  prod,
  epc 
)    ((ZORRO_MANUF_##manuf << 16) | ((prod) << 8) | (epc))

Definition at line 35 of file zorro.h.

#define ZORRO_MANUF (   id)    ((id) >> 16)

Definition at line 31 of file zorro.h.

#define ZORRO_NUM_AUTO   16

Definition at line 111 of file zorro.h.

#define ZORRO_PROD (   id)    (((id) >> 8) & 0xff)

Definition at line 32 of file zorro.h.

Typedef Documentation

typedef __u32 zorro_id

Definition at line 38 of file zorro.h.

Enumeration Type Documentation

enum GVP_flags
Enumerator:
GVP_IO 
GVP_ACCEL 
GVP_SCSI 
GVP_24BITDMA 
GVP_25BITDMA 
GVP_NOBANK 
GVP_14MHZ 

Definition at line 54 of file zorro.h.

Function Documentation

struct Node __attribute__ ( (packed)  )
read

mcontroller : adapter info structure for old mimd_t apps

: base address : irq number : number of logical drives : pci bus : pci device : pci function : pci id : vendor id : slot number : unique id

Definition at line 171 of file esd_usb2.c.

Variable Documentation

void* cd_BoardAddr

Definition at line 114 of file zorro.h.

__u32 cd_BoardSize

Definition at line 115 of file zorro.h.

void* cd_Driver

Definition at line 118 of file zorro.h.

__u8 cd_Flags

Definition at line 111 of file zorro.h.

struct ConfigDev* cd_NextCD

Definition at line 119 of file zorro.h.

struct Node cd_Node

Definition at line 110 of file zorro.h.

__u8 cd_Pad

Definition at line 112 of file zorro.h.

Definition at line 113 of file zorro.h.

__u16 cd_SlotAddr

Definition at line 116 of file zorro.h.

__u16 cd_SlotSize

Definition at line 117 of file zorro.h.

__u32 cd_Unused[4]

Definition at line 120 of file zorro.h.

__u8 er_Flags

Definition at line 90 of file zorro.h.

__u16 er_InitDiagVec

Definition at line 94 of file zorro.h.

__u16 er_Manufacturer

Definition at line 92 of file zorro.h.

__u8 er_Product

Definition at line 89 of file zorro.h.

__u8 er_Reserved03

Definition at line 91 of file zorro.h.

__u8 er_Reserved0c

Definition at line 95 of file zorro.h.

__u8 er_Reserved0d

Definition at line 96 of file zorro.h.

__u8 er_Reserved0e

Definition at line 97 of file zorro.h.

__u8 er_Reserved0f

Definition at line 98 of file zorro.h.

__u32 er_SerialNumber

Definition at line 93 of file zorro.h.

__u8 er_Type

Definition at line 88 of file zorro.h.

__s8* ln_Name

Definition at line 76 of file zorro.h.

struct Node* ln_Pred

Definition at line 73 of file zorro.h.

__s8 ln_Pri

Definition at line 75 of file zorro.h.

struct Node* ln_Succ

Definition at line 72 of file zorro.h.

__u8 ln_Type

Definition at line 74 of file zorro.h.