diff options
author | Ed Swierk <eswierk@arastra.com> | 2008-04-01 17:14:57 +0000 |
---|---|---|
committer | Ed Swierk <eswierk@arastra.com> | 2008-04-01 17:14:57 +0000 |
commit | 2b85b6311f1b7497da3484dc9369e80c9140ae5c (patch) | |
tree | 16fe3ff636026bf86c40c4ba32a85fc9a579398f /src/southbridge/intel/i3100/i3100_sata.c | |
parent | 23cd49ab807d7d3ce496740000ad588eb5a0a16a (diff) | |
download | coreboot-2b85b6311f1b7497da3484dc9369e80c9140ae5c.tar.xz |
Setting an integrated southbridge device (like SATA or USB2.0) to
"off" in Config.lb should cause the PCI device not to respond to
configuration requests.
Replace the existing code that I naively copied from esb6300 with
something that actually works on the 3100.
Signed-off-by: Ed Swierk <eswierk@arastra.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3209 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/intel/i3100/i3100_sata.c')
-rw-r--r-- | src/southbridge/intel/i3100/i3100_sata.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/southbridge/intel/i3100/i3100_sata.c b/src/southbridge/intel/i3100/i3100_sata.c index 43fea3942f..781e3d73b3 100644 --- a/src/southbridge/intel/i3100/i3100_sata.c +++ b/src/southbridge/intel/i3100/i3100_sata.c @@ -72,18 +72,19 @@ static struct device_operations sata_ops = { .enable_resources = pci_dev_enable_resources, .init = sata_init, .scan_bus = 0, + .enable = i3100_enable, .ops_pci = &lops_pci, }; static struct pci_driver sata_driver __pci_driver = { - .ops = &sata_ops, - .vendor = PCI_VENDOR_ID_INTEL, - .device = PCI_DEVICE_ID_INTEL_3100_SATA, + .ops = &sata_ops, + .vendor = PCI_VENDOR_ID_INTEL, + .device = PCI_DEVICE_ID_INTEL_3100_SATA, }; static struct pci_driver sata_driver_nr __pci_driver = { - .ops = &sata_ops, - .vendor = PCI_VENDOR_ID_INTEL, - .device = PCI_DEVICE_ID_INTEL_3100_SATA_R, + .ops = &sata_ops, + .vendor = PCI_VENDOR_ID_INTEL, + .device = PCI_DEVICE_ID_INTEL_3100_SATA_R, }; |