[coreboot] [PATCH] v3: fix up missing conversion from r558
Carl-Daniel Hailfinger
c-d.hailfinger.devel.2006 at gmx.net
Tue Feb 19 01:12:32 CET 2008
r558 had this:
> Author: rminnich
> util/x86emu/vm86.c
> Change uses of dev_find_device to dev_find_pci_device
Unfortunately, x86emu/pcbios/pcibios.c was missed in the conversion. Fix
it to get builds with x86emu compiling again.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
Index: LinuxBIOSv3-dbe61/util/x86emu/pcbios/pcibios.c
===================================================================
--- LinuxBIOSv3-dbe61/util/x86emu/pcbios/pcibios.c (revision 610)
+++ LinuxBIOSv3-dbe61/util/x86emu/pcbios/pcibios.c (working copy)
@@ -61,7 +61,7 @@
break;
case FIND_PCI_DEVICE:
/* FixME: support SI != 0 */
- dev = dev_find_device(X86_DX, X86_CX, dev);
+ dev = dev_find_pci_device(X86_DX, X86_CX, dev);
if (dev != 0) {
X86_BH = dev->bus->secondary;
X86_BL = dev->path.u.pci.devfn;
--
http://www.hailfinger.org/
More information about the coreboot
mailing list