diff options
author | Zheng Bao <zheng.bao@amd.com> | 2010-06-19 06:55:17 +0000 |
---|---|---|
committer | Zheng Bao <Zheng.Bao@amd.com> | 2010-06-19 06:55:17 +0000 |
commit | bfca8efab37497dba0753f38d914a759b007be0e (patch) | |
tree | 35ae6e5aae97a69e8a5f113278eb07d25b64f814 /src/southbridge/amd/sb700/sb700.c | |
parent | 7eac4450b32f6961d5abd8dae32c5eefc1a07c11 (diff) |
Trivial. Cleaning up about the blank line.
Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Acked-by: Zheng Bao <zheng.bao@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5634 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/amd/sb700/sb700.c')
-rw-r--r-- | src/southbridge/amd/sb700/sb700.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/southbridge/amd/sb700/sb700.c b/src/southbridge/amd/sb700/sb700.c index 39ae3a6b34..05c855a406 100644 --- a/src/southbridge/amd/sb700/sb700.c +++ b/src/southbridge/amd/sb700/sb700.c @@ -120,21 +120,21 @@ void sb700_enable(device_t dev) printk(BIOS_DEBUG, "sb700_enable()\n"); -/* -* 0:11.0 SATA bit 8 of sm_dev 0xac : 1 - enable, default + 32 * 3 -* 0:12.0 OHCI0-USB1 bit 0 of sm_dev 0x68 -* 0:12.1 OHCI1-USB1 bit 1 of sm_dev 0x68 -* 0:12.2 EHCI-USB1 bit 2 of sm_dev 0x68 -* 0:13.0 OHCI0-USB2 bit 4 of sm_dev 0x68 -* 0:13.1 OHCI1-USB2 bit 5 of sm_dev 0x68 -* 0:13.2 EHCI-USB2 bit 6 of sm_dev 0x68 -* 0:14.5 OHCI0-USB3 bit 7 of sm_dev 0x68 -* 0:14.0 SMBUS 0 -* 0:14.1 IDE 1 -* 0:14.2 HDA bit 3 of pm_io 0x59 : 1 - enable, default + 32 * 4 -* 0:14.3 LPC bit 20 of sm_dev 0x64 : 0 - disable, default + 32 * 1 -* 0:14.4 PCI 4 -*/ + /* + * 0:11.0 SATA bit 8 of sm_dev 0xac : 1 - enable, default + 32 * 3 + * 0:12.0 OHCI0-USB1 bit 0 of sm_dev 0x68 + * 0:12.1 OHCI1-USB1 bit 1 of sm_dev 0x68 + * 0:12.2 EHCI-USB1 bit 2 of sm_dev 0x68 + * 0:13.0 OHCI0-USB2 bit 4 of sm_dev 0x68 + * 0:13.1 OHCI1-USB2 bit 5 of sm_dev 0x68 + * 0:13.2 EHCI-USB2 bit 6 of sm_dev 0x68 + * 0:14.5 OHCI0-USB3 bit 7 of sm_dev 0x68 + * 0:14.0 SMBUS 0 + * 0:14.1 IDE 1 + * 0:14.2 HDA bit 3 of pm_io 0x59 : 1 - enable, default + 32 * 4 + * 0:14.3 LPC bit 20 of sm_dev 0x64 : 0 - disable, default + 32 * 1 + * 0:14.4 PCI 4 + */ if (dev->device == 0x0000) { vendorid = pci_read_config32(dev, PCI_VENDOR_ID); deviceid = (vendorid >> 16) & 0xffff; @@ -143,6 +143,7 @@ void sb700_enable(device_t dev) vendorid = dev->vendor; deviceid = dev->device; } + bus_dev = dev->bus->dev; if ((bus_dev->vendor == PCI_VENDOR_ID_ATI) && (bus_dev->device == PCI_DEVICE_ID_ATI_SB700_PCI)) { @@ -156,7 +157,6 @@ void sb700_enable(device_t dev) case 5 << 3: ; } - return; } |