From e7ad1a1126e008f038e6baf64e75d93d66c8253e Mon Sep 17 00:00:00 2001 From: rlfnb Date: Tue, 3 Mar 2015 21:23:40 +0100 Subject: [PATCH] ALIX does not have a device at bus 0, device 0, function 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. --- minix/drivers/bus/pci/pci.c | 3 --- 1 file changed, 3 deletions(-) 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;