summaryrefslogtreecommitdiff
path: root/src/devices/oprom/yabel
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/oprom/yabel')
-rw-r--r--src/devices/oprom/yabel/device.c2
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;