Revision cef3017c hw/pci.h

b/hw/pci.h
55 55
#define PCI_DEVICE_ID_VMWARE_SCSI        0x0730
56 56
#define PCI_DEVICE_ID_VMWARE_IDE         0x1729
57 57

  
58
#define PCI_VENDOR_ID_INTEL              0x8086
58
/* Intel (0x8086) */
59 59
#define PCI_DEVICE_ID_INTEL_82551IT      0x1209
60 60

  
61 61
/* Red Hat / Qumranet (for QEMU) -- see pci-ids.txt */
......
92 92

  
93 93
#define PCI_DEVICES_MAX 64
94 94

  
95
/* Declarations from linux/pci_regs.h */
95 96
#define PCI_VENDOR_ID		0x00	/* 16 bits */
96 97
#define PCI_DEVICE_ID		0x02	/* 16 bits */
97 98
#define PCI_COMMAND		0x04	/* 16 bits */
98 99
#define  PCI_COMMAND_IO		0x1	/* Enable response in I/O space */
99 100
#define  PCI_COMMAND_MEMORY	0x2	/* Enable response in Memory space */
100
#define PCI_REVISION            0x08
101
#define PCI_STATUS              0x06    /* 16 bits */
102
#define PCI_REVISION_ID         0x08    /* 8 bits  */
101 103
#define PCI_CLASS_DEVICE        0x0a    /* Device class */
102
#define PCI_SUBVENDOR_ID	0x2c	/* 16 bits */
103
#define PCI_SUBDEVICE_ID	0x2e	/* 16 bits */
104
#define PCI_HEADER_TYPE         0x0e    /* 8 bits */
105
#define PCI_SUBSYSTEM_VENDOR_ID 0x2c    /* 16 bits */
106
#define PCI_SUBSYSTEM_ID        0x2e    /* 16 bits */
104 107
#define PCI_INTERRUPT_LINE	0x3c	/* 8 bits */
105 108
#define PCI_INTERRUPT_PIN	0x3d	/* 8 bits */
106 109
#define PCI_MIN_GNT		0x3e	/* 8 bits */
107 110
#define PCI_MAX_LAT		0x3f	/* 8 bits */
108 111

  
112
#define PCI_REVISION            0x08    /* obsolete, use PCI_REVISION_ID */
113
#define PCI_SUBVENDOR_ID        0x2c    /* obsolete, use PCI_SUBSYSTEM_VENDOR_ID */
114
#define PCI_SUBDEVICE_ID        0x2e    /* obsolete, use PCI_SUBSYSTEM_ID */
115

  
109 116
/* Bits in the PCI Status Register (PCI 2.3 spec) */
110 117
#define PCI_STATUS_RESERVED1	0x007
111 118
#define PCI_STATUS_INT_STATUS	0x008

Also available in: Unified diff