mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
The commit in 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> git-svn-id: svn://coreboot.org/repository/coreboot-v3@612 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
31a9e22fa4
commit
4ad45fd6c7
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ int pcibios_handler(void)
|
|||
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;
|
||||
|
|
Loading…
Add table
Reference in a new issue