#include <stddef.h>#include <console/console.h>#include <arch/io.h>#include <arch/pciconf.h>#include <device/pci.h>#include <device/pci_ids.h>#include <device/pci_ops.h>

Go to the source code of this file.
Defines | |
| #define | PCI_CLASS_BRIDGE_HOST 0x0600 |
| #define | PCI_CLASS_DISPLAY_VGA 0x0300 |
| #define | PCI_VENDOR_ID_COMPAQ 0x0e11 |
| #define | PCI_VENDOR_ID_INTEL 0x8086 |
| #define | PCI_VENDOR_ID_MOTOROLA 0x1057 |
Functions | |
| static int | pci_sanity_check (const struct pci_bus_operations *o) |
| struct pci_bus_operations * | pci_check_direct (void) |
| void | pci_set_method (device_t dev) |
| Set the method to be used for PCI, type I or type II. | |
| #define PCI_CLASS_BRIDGE_HOST 0x0600 |
Referenced by pci_sanity_check().
| #define PCI_CLASS_DISPLAY_VGA 0x0300 |
Referenced by do_vgabios(), pci_dev_init(), pci_rom_load(), and pci_sanity_check().
| #define PCI_VENDOR_ID_COMPAQ 0x0e11 |
Referenced by pci_sanity_check().
| #define PCI_VENDOR_ID_INTEL 0x8086 |
Referenced by enable_smbus(), esb6300_enable(), full_reset(), i82801er_enable(), main(), and pci_sanity_check().
| #define PCI_VENDOR_ID_MOTOROLA 0x1057 |
Referenced by pci_sanity_check().
| struct pci_bus_operations* pci_check_direct | ( | void | ) | [read] |
Definition at line 44 of file pci_ops_auto.c.
References die(), inb, inl, NULL, outb, outl, pci_cf8_conf1, pci_cf8_conf2, pci_sanity_check(), and printk_debug.
Referenced by pci_set_method().


| static int pci_sanity_check | ( | const struct pci_bus_operations * | o | ) | [static] |
Definition at line 19 of file pci_ops_auto.c.
References PCI_CLASS_BRIDGE_HOST, PCI_CLASS_DEVICE, PCI_CLASS_DISPLAY_VGA, PCI_VENDOR_ID, PCI_VENDOR_ID_COMPAQ, PCI_VENDOR_ID_INTEL, PCI_VENDOR_ID_MOTOROLA, printk_err, pci_bus_operations::read16, and vendor.
Referenced by pci_check_direct().

| void pci_set_method | ( | device_t | dev | ) |
Set the method to be used for PCI, type I or type II.
Definition at line 86 of file pci_ops_auto.c.
References device::ops, device_operations::ops_pci_bus, pci_check_direct(), post_code, and printk_info.
Referenced by enable_dev(), and pci_domain_enable().


1.5.5