pci_ops_auto.c File Reference

#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>

Include dependency graph for pci_ops_auto.c:

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_operationspci_check_direct (void)
void pci_set_method (device_t dev)
 Set the method to be used for PCI, type I or type II.


Define Documentation

#define PCI_CLASS_BRIDGE_HOST   0x0600

Referenced by pci_sanity_check().

#define PCI_CLASS_DISPLAY_VGA   0x0300

#define PCI_VENDOR_ID_COMPAQ   0x0e11

Referenced by pci_sanity_check().

#define PCI_VENDOR_ID_INTEL   0x8086

#define PCI_VENDOR_ID_MOTOROLA   0x1057

Referenced by pci_sanity_check().


Function Documentation

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().

Here is the call graph for this function:

Here is the caller graph for this function:

static int pci_sanity_check ( const struct pci_bus_operations o  )  [static]

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().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Wed Jan 7 14:16:16 2009 for coreboot by  doxygen 1.5.5