Add PCI IDs for most Intel southbridges of the 82801 series

(ICH/ICH0 up to the ICH9 family) in preparation for further
code improvements for the i82801xx southbridge code.

Small fixes in the 6300ESB PCI IDs.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2947 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Uwe Hermann
2007-11-07 00:19:42 +00:00
parent c931625bab
commit b294582a0f
8 changed files with 363 additions and 29 deletions

View File

@@ -22,11 +22,11 @@ void esb6300_enable(device_t dev)
return;
}
if ((lpc_dev->vendor != PCI_VENDOR_ID_INTEL) ||
(lpc_dev->device != PCI_DEVICE_ID_INTEL_6300ESB_ISA)) {
(lpc_dev->device != PCI_DEVICE_ID_INTEL_6300ESB_LPC)) {
uint32_t id;
id = pci_read_config32(lpc_dev, PCI_VENDOR_ID);
if (id != (PCI_VENDOR_ID_INTEL |
(PCI_DEVICE_ID_INTEL_6300ESB_ISA << 16))) {
(PCI_DEVICE_ID_INTEL_6300ESB_LPC << 16))) {
return;
}
}

View File

@@ -46,6 +46,6 @@ static struct device_operations pci_ops = {
static const struct pci_driver pci_driver __pci_driver = {
.ops = &pci_ops,
.vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_6300ESB_BRIDGE1C,
.device = PCI_DEVICE_ID_INTEL_6300ESB_PCI_X,
};

View File

@@ -406,5 +406,5 @@ static struct device_operations lpc_ops = {
static const struct pci_driver lpc_driver __pci_driver = {
.ops = &lpc_ops,
.vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_6300ESB_ISA,
.device = PCI_DEVICE_ID_INTEL_6300ESB_LPC,
};

View File

@@ -104,6 +104,6 @@ static struct device_operations pci_ops = {
static const struct pci_driver pci_driver __pci_driver = {
.ops = &pci_ops,
.vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_6300ESB_PIC1,
.device = PCI_DEVICE_ID_INTEL_6300ESB_APIC1,
};

View File

@@ -72,6 +72,6 @@ static const struct pci_driver sata_driver __pci_driver = {
static const struct pci_driver sata_driver_nr __pci_driver = {
.ops = &sata_ops,
.vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_6300ESB_SATA_R,
.device = PCI_DEVICE_ID_INTEL_6300ESB_SATA_RAID,
};

View File

@@ -36,10 +36,10 @@ static struct device_operations uhci_ops = {
.ops_pci = &lops_pci,
};
static const struct pci_driver uhci_driver __pci_driver = {
static const struct pci_driver usb1_driver __pci_driver = {
.ops = &uhci_ops,
.vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_6300ESB_USB,
.device = PCI_DEVICE_ID_INTEL_6300ESB_USB1,
};
static const struct pci_driver usb2_driver __pci_driver = {
@@ -48,9 +48,10 @@ static const struct pci_driver usb2_driver __pci_driver = {
.device = PCI_DEVICE_ID_INTEL_6300ESB_USB2,
};
static const struct pci_driver usb3_driver __pci_driver = {
/* Note: May or may not need different init than UHCI. */
static const struct pci_driver ehci_driver __pci_driver = {
.ops = &uhci_ops,
.vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_6300ESB_USB3,
.device = PCI_DEVICE_ID_INTEL_6300ESB_EHCI,
};