coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
pci.c File Reference
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ids.h>
#include <device/pci_ops.h>
#include "i82801dx.h"
Include dependency graph for pci.c:

Go to the source code of this file.

Functions

static void pci_init (struct device *dev)
 

Variables

static struct device_operations pci_ops
 
static const struct pci_driver pci_driver_db __pci_driver
 

Function Documentation

◆ pci_init()

static void pci_init ( struct device dev)
static

Definition at line 9 of file pci.c.

Variable Documentation

◆ __pci_driver

static const struct pci_driver pci_driver_dbm __pci_driver
static
Initial value:
= {
.ops = &pci_ops,
.vendor = PCI_VID_INTEL,
}
static struct device_operations pci_ops
Definition: pci.c:15
#define PCI_VID_INTEL
Definition: pci_ids.h:2157
#define PCI_DID_INTEL_82801DB_PCI
Definition: pci_ids.h:2274

Definition at line 9 of file pci.c.

◆ pci_ops

struct device_operations pci_ops
static
Initial value:
= {
.read_resources = pci_bus_read_resources,
.set_resources = pci_dev_set_resources,
.enable_resources = pci_bus_enable_resources,
.init = pci_init,
.scan_bus = pci_scan_bridge,
}
static void pci_init(struct device *dev)
Definition: pci.c:9
void pci_bus_enable_resources(struct device *dev)
Definition: pci_device.c:758
void pci_bus_read_resources(struct device *dev)
Definition: pci_device.c:540
void pci_scan_bridge(struct device *dev)
Scan a PCI bridge and the buses behind the bridge.
Definition: pci_device.c:1598
void pci_dev_set_resources(struct device *dev)
Definition: pci_device.c:691

Definition at line 9 of file pci.c.