diff options
author | Myles Watson <mylesgw@gmail.com> | 2010-08-30 21:52:38 +0000 |
---|---|---|
committer | Myles Watson <mylesgw@gmail.com> | 2010-08-30 21:52:38 +0000 |
commit | bd61a819496200c135d02ed999b229fdd11f6832 (patch) | |
tree | d2f4e11af41e392c881c86419204229ce2aa8a09 /src | |
parent | 704b59662d8bf17cac387109a186cc6f702f27f9 (diff) | |
download | coreboot-bd61a819496200c135d02ed999b229fdd11f6832.tar.xz |
Make yabel work for non-zero bus numbers. The link_num is not the bus number.
Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5757 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-rw-r--r-- | src/devices/oprom/yabel/device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/oprom/yabel/device.c b/src/devices/oprom/yabel/device.c index 7fdc438bbd..b48f1d6dee 100644 --- a/src/devices/oprom/yabel/device.c +++ b/src/devices/oprom/yabel/device.c @@ -45,7 +45,7 @@ biosemu_dev_get_addr_info(void) { int taa_index = 0; struct resource *r; - u8 bus = bios_device.dev->bus->link_num; + u8 bus = bios_device.dev->bus->secondary; u16 devfn = bios_device.dev->path.pci.devfn; bios_device.bus = bus; |