summaryrefslogtreecommitdiff
path: root/src/southbridge/amd
diff options
context:
space:
mode:
authorYinghai Lu <yinghailu@gmail.com>2006-04-07 20:35:39 +0000
committerYinghai Lu <yinghailu@gmail.com>2006-04-07 20:35:39 +0000
commit2a9fcb79f4238fd6d6a15a438034e3d8d5952b7e (patch)
tree08e255092264b0893bae62cfa1e06ad20e493c67 /src/southbridge/amd
parent4223188335a07700626637aaa584006372b47628 (diff)
downloadcoreboot-2a9fcb79f4238fd6d6a15a438034e3d8d5952b7e.tar.xz
15->11 for device num
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2246 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/amd')
-rw-r--r--src/southbridge/amd/amd8111/amd8111_early_ctrl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/amd/amd8111/amd8111_early_ctrl.c b/src/southbridge/amd/amd8111/amd8111_early_ctrl.c
index 9d40076bea..542864a58c 100644
--- a/src/southbridge/amd/amd8111/amd8111_early_ctrl.c
+++ b/src/southbridge/amd/amd8111/amd8111_early_ctrl.c
@@ -10,7 +10,7 @@ static unsigned get_sbdn(unsigned bus)
PCI_ID(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_8111_PCI),
bus);
- return (dev>>15) & 0x1f;
+ return (dev>>11) & 0x1f;
}