On Feb 18, 2008 7:12 PM, Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> wrote:
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@gmx.net>

Acked-by: Corey Osgood <corey.osgood@gmail.com>
 

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/


--
coreboot mailing list
coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot