aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsaku Yamahata <yamahata@valinux.co.jp>2010-05-27 14:40:02 +0900
committerMichael S. Tsirkin <mst@redhat.com>2010-05-31 16:33:52 +0300
commit0c6fcb62100d5ed0819963b2b20879b1e61691db (patch)
tree6b24d7a474298408f83b6c3cf7b56129133841bd
parent3c18685f43acd81626e7e7bafc5967f04ee48090 (diff)
downloadqemu-0c6fcb62100d5ed0819963b2b20879b1e61691db.zip
qemu-0c6fcb62100d5ed0819963b2b20879b1e61691db.tar.gz
qemu-0c6fcb62100d5ed0819963b2b20879b1e61691db.tar.bz2
pci.h: remove unused constants.
So remove unused constants, PCI_STATUS_RESERVED_MASK_LO, PCI_STATUS_RESERVED_MASK_HI, PCI_COMMAND_RESERVED, PCI_COMMAND_RESERVED_MASK_HI. They were used once, but they aren't used anymore. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
-rw-r--r--hw/pci.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/hw/pci.h b/hw/pci.h
index 1e76ef0..b803593 100644
--- a/hw/pci.h
+++ b/hw/pci.h
@@ -97,17 +97,6 @@ typedef struct PCIIORegion {
/* PCI HEADER_TYPE */
#define PCI_HEADER_TYPE_MULTI_FUNCTION 0x80
-#define PCI_STATUS_RESERVED_MASK_LO (PCI_STATUS_RESERVED1 | \
- PCI_STATUS_INT_STATUS | PCI_STATUS_CAPABILITIES | \
- PCI_STATUS_66MHZ | PCI_STATUS_RESERVED2 | PCI_STATUS_FAST_BACK)
-
-#define PCI_STATUS_RESERVED_MASK_HI (PCI_STATUS_DEVSEL >> 8)
-
-/* Bits in the PCI Command Register (PCI 2.3 spec) */
-#define PCI_COMMAND_RESERVED 0xf800
-
-#define PCI_COMMAND_RESERVED_MASK_HI (PCI_COMMAND_RESERVED >> 8)
-
/* Size of the standard PCI config header */
#define PCI_CONFIG_HEADER_SIZE 0x40
/* Size of the standard PCI config space */