lib/src/pcidef.h File Reference

Go to the source code of this file.

Classes

struct  _pci
struct  _base_address
struct  _pci_node_number
struct  _pci_busarray_hardware_id
struct  _pcierr
struct  _pciflags

Defines

#define PCI_K_VENDOR_ID   0
#define PCI_K_DEVICE_ID   2
#define PCI_K_COMMAND   4
#define PCI_M_IO_ENABLE   0x1
#define PCI_M_MEM_ENABLE   0x2
#define PCI_M_BUS_MASTER_ENABLE   0x4
#define PCI_M_SPECIAL_CYCLE_ENABLE   0x8
#define PCI_M_INVAL_ENABLE   0x10
#define PCI_M_PALETTE_SNOOP_ENABLE   0x20
#define PCI_M_PARITY_ENABLE   0x40
#define PCI_M_WAIT_CYCLE_ENABLE   0x80
#define PCI_M_SERR_ENABLE   0x100
#define PCI_M_BACK_TO_BACK_ENABLE   0x200
#define PCI_K_STATUS   6
#define PCI_M_FAST_BB_CAPABLE   0x80
#define PCI_M_DATA_PARITY_DETECT   0x100
#define PCI_M_DEVSEL_TIMING   0x600
#define PCI_M_SIGNAL_TARGET_ABORT   0x800
#define PCI_M_RCV_TARGET_ABORT   0x1000
#define PCI_M_RCV_MASTER_ABORT   0x2000
#define PCI_M_SIGNAL_SERR   0x4000
#define PCI_M_DETECT_PE   0x8000
#define PCI_K_REVISION_ID   8
#define PCI_K_PROGRAMMING_IF   9
#define PCI_K_SUB_CLASS   10
#define PCI_K_BASE_CLASS   11
#define PCI_K_CACHE_LINE_SIZE   12
#define PCI_K_LATENCY_TIMER   13
#define PCI_K_HEADER_TYPE   14
#define PCI_K_BIST   15
#define PCI_K_BASE_ADDRESS_0   16
#define PCI_K_BASE_ADDRESS_1   20
#define PCI_K_BASE_ADDRESS_2   24
#define PCI_K_BASE_ADDRESS_3   28
#define PCI_K_BASE_ADDRESS_4   32
#define PCI_K_BASE_ADDRESS_5   36
#define PCI_K_CARDBUS_CIS   40
#define PCI_K_SUB_VNDR   44
#define PCI_K_SUB_ID   46
#define PCI_K_EXP_ROM_BASE   48
#define PCI_K_INTR_LINE   60
#define PCI_K_INTR_PIN   61
#define PCI_K_MIN_GNT   62
#define PCI_K_MAX_LAT   63
#define PCI_S_PCIDEF   64
#define PCI_K_DEVSEL_FAST   0
#define PCI_K_DEVSEL_MEDIUM   1
#define PCI_K_DEVSEL_SLOW   2
#define PCI_K_NOT_IMPLEMENTED   0
#define PCI_K_MASS_STORAGE_CTRLR   1
#define PCI_K_NETWORK_CTRLR   2
#define PCI_K_DISPLAY_CTRLR   3
#define PCI_K_MULTIMEDIA_DEVICE   4
#define PCI_K_MEMORY_CTRLR   5
#define PCI_K_BRIDGE_DEVICE   6
#define PCI_K_UNDEFINED   255
#define PCI_K_SCSI_CTRLR   0
#define PCI_K_IDE_CTRLR   1
#define PCI_K_FLOPPY_CTRLR   2
#define PCI_K_IPI_CTRLR   3
#define PCI_K_OTHER_MASS_STORAGE   80
#define PCI_K_NI_CTRLR   0
#define PCI_K_TOKEN_CTRLR   1
#define PCI_K_FDDI_CTRLR   2
#define PCI_K_OTHER_NETWORK   80
#define PCI_K_VGA_CTRLR   0
#define PCI_K_XGA_CTRLR   1
#define PCI_K_OTHER_DISPLAY   80
#define PCI_K_VIDEO_CTRLR   0
#define PCI_K_AUDIO_CTRLR   1
#define PCI_K_OTHER_MULTIMEDIA   80
#define PCI_K_RAM   0
#define PCI_K_FLASH   1
#define PCI_K_OTHER_MEMORY   80
#define PCI_K_HOST_BRIDGE   0
#define PCI_K_ISA_BRIDGE   1
#define PCI_K_EISA_BRIDGE   2
#define PCI_K_MC_BRIDGE   3
#define PCI_K_PCI_PCI_BRIDGE   4
#define PCI_K_PCMCIA_BRIDGE   5
#define PCI_K_OTHER_BRIDGE   80
#define PCI_K_INTR_PIN_NOT_USED   0
#define PCI_K_INTR_PIN_INTA   1
#define PCI_K_INTR_PIN_INTB   2
#define PCI_K_INTR_PIN_INTC   3
#define PCI_K_INTR_PIN_INTD   4
#define PCI_K_MAX_DEVICES   32
#define PCI_K_LENGTH   64
#define PCI_M_BASE_ADDRESS_MEM_IO   0x1
#define PCI_M_BASE_ADDRESS_TYPE   0x6
#define PCI_M_BASE_ADDRESS_PREFETCHABLE   0x8
#define PCI_M_BASE_ADDRESS_BITS_31_4   0xFFFFFFF0
#define BASE_ADDR_32   0
#define BASE_ADDR_BELOW_1MB   1
#define BASE_ADDR_64   2
#define BASE_ADDR_RESERVED   3
#define PCI_M_PCI_NODE_NUMBER_FUNCTION   0x7
#define PCI_M_PCI_NODE_NUMBER_DEVICE   0xF8
#define PCI_M_PCI_NODE_NUMBER_BUS   0xFF00
#define PCI_M_PCI_NODE_NUMBER_OFFSET   0xFFFF0000
#define PCIERR_K_LENGTH   72
#define PCIFLAGS_M_FILL1   0xFFFFFF00
#define PCIFLAGS_M_DATA_PARITY_DETECT   0x1
#define PCIFLAGS_M_SIGNAL_TARGET_ABORT   0x2
#define PCIFLAGS_M_RCV_TARGET_ABORT   0x4
#define PCIFLAGS_M_RCV_MASTER_ABORT   0x8
#define PCIFLAGS_M_SIGNAL_SERR   0x10
#define PCIFLAGS_M_DETECT_PE   0x20
#define PCIFLAGS_M_FILL2   0xC0
#define PCIFLAGS_M_FILL3   0xFFFFFF00
#define ERRTAG_K_PCIERR   16


Define Documentation

#define BASE_ADDR_32   0

Definition at line 98 of file pcidef.h.

#define BASE_ADDR_64   2

Definition at line 100 of file pcidef.h.

#define BASE_ADDR_BELOW_1MB   1

Definition at line 99 of file pcidef.h.

#define BASE_ADDR_RESERVED   3

Definition at line 101 of file pcidef.h.

#define ERRTAG_K_PCIERR   16

Definition at line 119 of file pcidef.h.

#define PCI_K_AUDIO_CTRLR   1

Definition at line 73 of file pcidef.h.

#define PCI_K_BASE_ADDRESS_0   16

Definition at line 34 of file pcidef.h.

#define PCI_K_BASE_ADDRESS_1   20

Definition at line 35 of file pcidef.h.

#define PCI_K_BASE_ADDRESS_2   24

Definition at line 36 of file pcidef.h.

#define PCI_K_BASE_ADDRESS_3   28

Definition at line 37 of file pcidef.h.

#define PCI_K_BASE_ADDRESS_4   32

Definition at line 38 of file pcidef.h.

#define PCI_K_BASE_ADDRESS_5   36

Definition at line 39 of file pcidef.h.

#define PCI_K_BASE_CLASS   11

Definition at line 29 of file pcidef.h.

#define PCI_K_BIST   15

Definition at line 33 of file pcidef.h.

#define PCI_K_BRIDGE_DEVICE   6

Definition at line 58 of file pcidef.h.

#define PCI_K_CACHE_LINE_SIZE   12

Definition at line 30 of file pcidef.h.

#define PCI_K_CARDBUS_CIS   40

Definition at line 40 of file pcidef.h.

#define PCI_K_COMMAND   4

Definition at line 6 of file pcidef.h.

#define PCI_K_DEVICE_ID   2

Definition at line 5 of file pcidef.h.

#define PCI_K_DEVSEL_FAST   0

Definition at line 49 of file pcidef.h.

#define PCI_K_DEVSEL_MEDIUM   1

Definition at line 50 of file pcidef.h.

#define PCI_K_DEVSEL_SLOW   2

Definition at line 51 of file pcidef.h.

#define PCI_K_DISPLAY_CTRLR   3

Definition at line 55 of file pcidef.h.

#define PCI_K_EISA_BRIDGE   2

Definition at line 80 of file pcidef.h.

#define PCI_K_EXP_ROM_BASE   48

Definition at line 43 of file pcidef.h.

#define PCI_K_FDDI_CTRLR   2

Definition at line 67 of file pcidef.h.

#define PCI_K_FLASH   1

Definition at line 76 of file pcidef.h.

#define PCI_K_FLOPPY_CTRLR   2

Definition at line 62 of file pcidef.h.

#define PCI_K_HEADER_TYPE   14

Definition at line 32 of file pcidef.h.

#define PCI_K_HOST_BRIDGE   0

Definition at line 78 of file pcidef.h.

#define PCI_K_IDE_CTRLR   1

Definition at line 61 of file pcidef.h.

#define PCI_K_INTR_LINE   60

Definition at line 44 of file pcidef.h.

#define PCI_K_INTR_PIN   61

Definition at line 45 of file pcidef.h.

#define PCI_K_INTR_PIN_INTA   1

Definition at line 86 of file pcidef.h.

#define PCI_K_INTR_PIN_INTB   2

Definition at line 87 of file pcidef.h.

#define PCI_K_INTR_PIN_INTC   3

Definition at line 88 of file pcidef.h.

#define PCI_K_INTR_PIN_INTD   4

Definition at line 89 of file pcidef.h.

#define PCI_K_INTR_PIN_NOT_USED   0

Definition at line 85 of file pcidef.h.

#define PCI_K_IPI_CTRLR   3

Definition at line 63 of file pcidef.h.

#define PCI_K_ISA_BRIDGE   1

Definition at line 79 of file pcidef.h.

#define PCI_K_LATENCY_TIMER   13

Definition at line 31 of file pcidef.h.

#define PCI_K_LENGTH   64

Definition at line 91 of file pcidef.h.

#define PCI_K_MASS_STORAGE_CTRLR   1

Definition at line 53 of file pcidef.h.

#define PCI_K_MAX_DEVICES   32

Definition at line 90 of file pcidef.h.

#define PCI_K_MAX_LAT   63

Definition at line 47 of file pcidef.h.

#define PCI_K_MC_BRIDGE   3

Definition at line 81 of file pcidef.h.

#define PCI_K_MEMORY_CTRLR   5

Definition at line 57 of file pcidef.h.

#define PCI_K_MIN_GNT   62

Definition at line 46 of file pcidef.h.

#define PCI_K_MULTIMEDIA_DEVICE   4

Definition at line 56 of file pcidef.h.

#define PCI_K_NETWORK_CTRLR   2

Definition at line 54 of file pcidef.h.

#define PCI_K_NI_CTRLR   0

Definition at line 65 of file pcidef.h.

#define PCI_K_NOT_IMPLEMENTED   0

Definition at line 52 of file pcidef.h.

#define PCI_K_OTHER_BRIDGE   80

Definition at line 84 of file pcidef.h.

#define PCI_K_OTHER_DISPLAY   80

Definition at line 71 of file pcidef.h.

#define PCI_K_OTHER_MASS_STORAGE   80

Definition at line 64 of file pcidef.h.

#define PCI_K_OTHER_MEMORY   80

Definition at line 77 of file pcidef.h.

#define PCI_K_OTHER_MULTIMEDIA   80

Definition at line 74 of file pcidef.h.

#define PCI_K_OTHER_NETWORK   80

Definition at line 68 of file pcidef.h.

#define PCI_K_PCI_PCI_BRIDGE   4

Definition at line 82 of file pcidef.h.

#define PCI_K_PCMCIA_BRIDGE   5

Definition at line 83 of file pcidef.h.

#define PCI_K_PROGRAMMING_IF   9

Definition at line 27 of file pcidef.h.

#define PCI_K_RAM   0

Definition at line 75 of file pcidef.h.

#define PCI_K_REVISION_ID   8

Definition at line 26 of file pcidef.h.

#define PCI_K_SCSI_CTRLR   0

Definition at line 60 of file pcidef.h.

#define PCI_K_STATUS   6

Definition at line 17 of file pcidef.h.

#define PCI_K_SUB_CLASS   10

Definition at line 28 of file pcidef.h.

#define PCI_K_SUB_ID   46

Definition at line 42 of file pcidef.h.

#define PCI_K_SUB_VNDR   44

Definition at line 41 of file pcidef.h.

#define PCI_K_TOKEN_CTRLR   1

Definition at line 66 of file pcidef.h.

#define PCI_K_UNDEFINED   255

Definition at line 59 of file pcidef.h.

#define PCI_K_VENDOR_ID   0

Definition at line 4 of file pcidef.h.

#define PCI_K_VGA_CTRLR   0

Definition at line 69 of file pcidef.h.

#define PCI_K_VIDEO_CTRLR   0

Definition at line 72 of file pcidef.h.

#define PCI_K_XGA_CTRLR   1

Definition at line 70 of file pcidef.h.

#define PCI_M_BACK_TO_BACK_ENABLE   0x200

Definition at line 16 of file pcidef.h.

#define PCI_M_BASE_ADDRESS_BITS_31_4   0xFFFFFFF0

Definition at line 96 of file pcidef.h.

#define PCI_M_BASE_ADDRESS_MEM_IO   0x1

Definition at line 93 of file pcidef.h.

#define PCI_M_BASE_ADDRESS_PREFETCHABLE   0x8

Definition at line 95 of file pcidef.h.

#define PCI_M_BASE_ADDRESS_TYPE   0x6

Definition at line 94 of file pcidef.h.

#define PCI_M_BUS_MASTER_ENABLE   0x4

Definition at line 9 of file pcidef.h.

#define PCI_M_DATA_PARITY_DETECT   0x100

Definition at line 19 of file pcidef.h.

#define PCI_M_DETECT_PE   0x8000

Definition at line 25 of file pcidef.h.

#define PCI_M_DEVSEL_TIMING   0x600

Definition at line 20 of file pcidef.h.

#define PCI_M_FAST_BB_CAPABLE   0x80

Definition at line 18 of file pcidef.h.

#define PCI_M_INVAL_ENABLE   0x10

Definition at line 11 of file pcidef.h.

#define PCI_M_IO_ENABLE   0x1

Definition at line 7 of file pcidef.h.

#define PCI_M_MEM_ENABLE   0x2

Definition at line 8 of file pcidef.h.

#define PCI_M_PALETTE_SNOOP_ENABLE   0x20

Definition at line 12 of file pcidef.h.

#define PCI_M_PARITY_ENABLE   0x40

Definition at line 13 of file pcidef.h.

#define PCI_M_PCI_NODE_NUMBER_BUS   0xFF00

Definition at line 104 of file pcidef.h.

#define PCI_M_PCI_NODE_NUMBER_DEVICE   0xF8

Definition at line 103 of file pcidef.h.

#define PCI_M_PCI_NODE_NUMBER_FUNCTION   0x7

Definition at line 102 of file pcidef.h.

#define PCI_M_PCI_NODE_NUMBER_OFFSET   0xFFFF0000

Definition at line 105 of file pcidef.h.

#define PCI_M_RCV_MASTER_ABORT   0x2000

Definition at line 23 of file pcidef.h.

#define PCI_M_RCV_TARGET_ABORT   0x1000

Definition at line 22 of file pcidef.h.

#define PCI_M_SERR_ENABLE   0x100

Definition at line 15 of file pcidef.h.

#define PCI_M_SIGNAL_SERR   0x4000

Definition at line 24 of file pcidef.h.

#define PCI_M_SIGNAL_TARGET_ABORT   0x800

Definition at line 21 of file pcidef.h.

#define PCI_M_SPECIAL_CYCLE_ENABLE   0x8

Definition at line 10 of file pcidef.h.

#define PCI_M_WAIT_CYCLE_ENABLE   0x80

Definition at line 14 of file pcidef.h.

#define PCI_S_PCIDEF   64

Definition at line 48 of file pcidef.h.

#define PCIERR_K_LENGTH   72

Definition at line 107 of file pcidef.h.

#define PCIFLAGS_M_DATA_PARITY_DETECT   0x1

Definition at line 110 of file pcidef.h.

#define PCIFLAGS_M_DETECT_PE   0x20

Definition at line 115 of file pcidef.h.

#define PCIFLAGS_M_FILL1   0xFFFFFF00

Definition at line 109 of file pcidef.h.

#define PCIFLAGS_M_FILL2   0xC0

Definition at line 116 of file pcidef.h.

#define PCIFLAGS_M_FILL3   0xFFFFFF00

Definition at line 117 of file pcidef.h.

#define PCIFLAGS_M_RCV_MASTER_ABORT   0x8

Definition at line 113 of file pcidef.h.

#define PCIFLAGS_M_RCV_TARGET_ABORT   0x4

Definition at line 112 of file pcidef.h.

#define PCIFLAGS_M_SIGNAL_SERR   0x10

Definition at line 114 of file pcidef.h.

#define PCIFLAGS_M_SIGNAL_TARGET_ABORT   0x2

Definition at line 111 of file pcidef.h.


Generated on Fri Oct 9 10:25:53 2009 for FreeVMS by  doxygen 1.5.5