From: rlfnb Date: Tue, 3 Mar 2015 20:23:40 +0000 (+0100) Subject: ALIX: No pci device at bus 0, dev 0, func 0 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zpipe.c?a=commitdiff_plain;h=b56a9d4725f0b3aa743904042e3d84db4e9af7ff;p=minix.git 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 --- diff --git a/minix/drivers/bus/pci/pci.c b/minix/drivers/bus/pci/pci.c index c768b84c7..74673430d 100644 --- a/minix/drivers/bus/pci/pci.c +++ b/minix/drivers/bus/pci/pci.c @@ -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;