ALIX: No pci device at bus 0, dev 0, func 0

Seems like its a kind of convention introduced by Intel but not
mandatory from a PCI specification point of view, that the PCI host
controller resides on bus 0, device 0 function 0. At least tinybios
(the bios used by ALIX and WRAP) based appliances are not able to boot
with this change.

Change-Id: I0e45c68c482972be7276028525985de920cf64f7
This commit is contained in:
rlfnb 2015-03-03 21:23:40 +01:00 committed by Lionel Sambuc
parent 3d0f2c86c4
commit b56a9d4725

View file

@ -1980,9 +1980,6 @@ pci_intel_init()
if (OK != (s=sys_outl(PCII_CONFADD, PCII_UNSEL)))
printf("PCI: warning, sys_outl failed: %d\n", s);
if (vid == 0xffff && did == 0xffff)
return; /* Nothing here */
if (nr_pcibus >= NR_PCIBUS)
panic("too many PCI busses: %d", nr_pcibus);
busind= nr_pcibus;