15->11 for device num

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2246 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Yinghai Lu 2006-04-07 20:35:39 +00:00
parent 4223188335
commit 2a9fcb79f4
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}