Go to the source code of this file.
Data Structures | |
| struct | pci_class |
Defines | |
| #define | pci_lookup_vendor(x) "Unknown Vendor" |
| #define | pci_lookup_device(x, y) "Unknown Device" |
| #define | PCI_CLASS_TABLE_SZ (sizeof(pci_class_table) / sizeof(struct pci_class)) |
Functions | |
| const char * | pci_lookup_class (uint8_t major, uint8_t minor, uint8_t iface) |
Variables | |
| struct pci_class | pci_class_table [] |
| #define PCI_CLASS_TABLE_SZ (sizeof(pci_class_table) / sizeof(struct pci_class)) |
| #define pci_lookup_device | ( | x, | |||
| y | ) | "Unknown Device" |
| #define pci_lookup_vendor | ( | x | ) | "Unknown Vendor" |
Definition at line 120 of file pci_lookup.h.
References pci_class::name, and PCI_CLASS_TABLE_SZ.
Referenced by pci_print_dev_info().
| struct pci_class pci_class_table[] |
Initial value:
{
{0, 0, 0, "Pre-PCI 2.0 Non-VGA Device"},
{0, 1, 0, "Pre-PCI 2.0 VGA Device"},
{1, 0, 0, "SCSI Controller"},
{1, 1, 0, "IDE Controller"},
{1, 2, 0, "Floppy Disk Controller"},
{2, 0, 0, "Ethernet"},
{3, 0, 0, "VGA Controller"},
{3, 1, 0, "XGA Controller"},
{5, 0, 0, "Memory Controller - RAM"},
{5, 1, 0, "Memory Controller - Flash"},
{6, 0, 0, "PCI Host"},
{6, 1, 0, "PCI-ISA Bridge"},
{6, 2, 0, "PCI-EISA Bridge"},
{6, 4, 0, "PCI-PCI Bridge"},
{6, 5, 0, "PCI-PCMCIA Bridge"},
{12, 0, 0, "Firewire Adapter"},
{12, 3, 0, "USB 1.1 Controller (UHCI)"},
{12, 3, 0x10, "USB 1.1 Controller (OHCI)"},
{12, 3, 0x20, "USB 2.0 Controller (EHCI)"}
}
Definition at line 94 of file pci_lookup.h.
1.5.6