aboutsummaryrefslogtreecommitdiff
path: root/src/include/ipxe/pci.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2015-03-02 21:37:45 +0000
committerMichael Brown <mcb30@ipxe.org>2015-03-02 21:37:45 +0000
commit06c8a27b742fab53c5072b40b32018eae12eca57 (patch)
tree6191171da92024590d9058465a5094fafa086f7f /src/include/ipxe/pci.h
parentc1ac4668382a85fbfe4b40c6399481acbab6cfa5 (diff)
downloadipxe-06c8a27b742fab53c5072b40b32018eae12eca57.zip
ipxe-06c8a27b742fab53c5072b40b32018eae12eca57.tar.gz
ipxe-06c8a27b742fab53c5072b40b32018eae12eca57.tar.bz2
[pci] Remove outdated and mostly-unused pci_ids.h file
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/pci.h')
-rw-r--r--src/include/ipxe/pci.h51
1 files changed, 50 insertions, 1 deletions
diff --git a/src/include/ipxe/pci.h b/src/include/ipxe/pci.h
index 0bd976e..67e1169 100644
--- a/src/include/ipxe/pci.h
+++ b/src/include/ipxe/pci.h
@@ -22,7 +22,6 @@ FILE_LICENCE ( GPL2_ONLY );
#include <ipxe/device.h>
#include <ipxe/tables.h>
#include <ipxe/pci_io.h>
-#include "pci_ids.h"
/*
* PCI constants
@@ -264,6 +263,56 @@ FILE_LICENCE ( GPL2_ONLY );
#define PCI_ERR_COR_MASK 20 /* Correctable Error Mask */
/* Same bits as above */
+/* Device classes and subclasses */
+
+#define PCI_CLASS_NONE 0x00
+
+#define PCI_CLASS_STORAGE 0x01
+
+#define PCI_CLASS_NETWORK 0x02
+#define PCI_CLASS_NETWORK_ETHERNET 0x00
+#define PCI_CLASS_NETWORK_TOKENRING 0x01
+#define PCI_CLASS_NETWORK_FDDI 0x02
+#define PCI_CLASS_NETWORK_ATM 0x03
+#define PCI_CLASS_NETWORK_ISDN 0x04
+#define PCI_CLASS_NETWORK_WORLDFIP 0x05
+#define PCI_CLASS_NETWORK_PICMG 0x06
+
+#define PCI_CLASS_DISPLAY 0x03
+
+#define PCI_CLASS_MEDIA 0x04
+
+#define PCI_CLASS_MEMORY 0x05
+
+#define PCI_CLASS_BRIDGE 0x06
+
+#define PCI_CLASS_COMMS 0x07
+
+#define PCI_CLASS_GENERIC 0x08
+
+#define PCI_CLASS_INPUT 0x09
+
+#define PCI_CLASS_DOCK 0x0a
+
+#define PCI_CLASS_CPU 0x0b
+
+#define PCI_CLASS_SERIAL 0x0c
+#define PCI_CLASS_SERIAL_USB 0x03
+#define PCI_CLASS_SERIAL_USB_UHCI 0x00
+#define PCI_CLASS_SERIAL_USB_OHCI 0x10
+#define PCI_CLASS_SERIAL_USB_EHCI 0x20
+#define PCI_CLASS_SERIAL_USB_XHCI 0x30
+
+#define PCI_CLASS_WIFI 0x0d
+
+#define PCI_CLASS_IO 0x0e
+
+#define PCI_CLASS_SATELLITE 0x0f
+
+#define PCI_CLASS_CRYPTO 0x10
+
+#define PCI_CLASS_DATA 0x11
+
/** A PCI device ID list entry */
struct pci_device_id {
/** Name */