summaryrefslogtreecommitdiff
path: root/src/device/oprom/realmode/x86_interrupts.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/device/oprom/realmode/x86_interrupts.c')
-rw-r--r--src/device/oprom/realmode/x86_interrupts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/oprom/realmode/x86_interrupts.c b/src/device/oprom/realmode/x86_interrupts.c
index 2629ab9166..8e3a51e450 100644
--- a/src/device/oprom/realmode/x86_interrupts.c
+++ b/src/device/oprom/realmode/x86_interrupts.c
@@ -174,7 +174,7 @@ int int1a_handler(void)
devfn = X86_EBX & 0xff;
bus = X86_EBX >> 8;
reg = X86_EDI;
- dev = dev_find_slot(bus, devfn);
+ dev = pcidev_path_on_bus(bus, devfn);
if (!dev) {
printk(BIOS_DEBUG, "0x%x: BAD DEVICE bus %d devfn 0x%x\n", func, bus, devfn);
// Or are we supposed to return PCIBIOS_NODEV?