From 9a380abaa2c96c9e937327a43e13d700c722df6d Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 22 Jun 2012 13:16:11 -0700 Subject: bd82x6x: Convert all PCI ID lists to new scheme - Convert all PCI ID lists to new scheme - Unify code (variable names) - add missing PCI IDs for Panther Point PCIe root ports. Change-Id: I6357f6ebce7ddffe45a3ec642b0c594147f6134c Signed-off-by: Stefan Reinauer Reviewed-on: http://review.coreboot.org/1301 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/southbridge/intel/bd82x6x/smbus.c | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'src/southbridge/intel/bd82x6x/smbus.c') diff --git a/src/southbridge/intel/bd82x6x/smbus.c b/src/southbridge/intel/bd82x6x/smbus.c index baa3cfbc45..49306855ca 100644 --- a/src/southbridge/intel/bd82x6x/smbus.c +++ b/src/southbridge/intel/bd82x6x/smbus.c @@ -100,14 +100,10 @@ static struct device_operations smbus_ops = { .ops_pci = &smbus_pci_ops, }; -static const struct pci_driver pch_smbus __pci_driver = { - .ops = &smbus_ops, - .vendor = PCI_VENDOR_ID_INTEL, - .device = 0x1c22, -}; +static const unsigned short pci_device_ids[] = { 0x1c22, 0x1e22, 0 }; -static const struct pci_driver pch_smbus_a __pci_driver = { - .ops = &smbus_ops, - .vendor = PCI_VENDOR_ID_INTEL, - .device = 0x1e22, +static const struct pci_driver pch_smbus __pci_driver = { + .ops = &smbus_ops, + .vendor = PCI_VENDOR_ID_INTEL, + .devices = pci_device_ids, }; -- cgit v1.2.3