From a0404ff58245f16d2117542d2dffd1fc6199943d Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Mon, 1 Mar 2021 17:24:54 +0100 Subject: devpccard, pci: fix pccard support and handle pci expansion roms let pci.c deal with the special cardbus controller bar0 and expansion roms. handle apic interrupt routing for devices behind a cardbus slot. do not free the pcidev on card removal, as the drivers most certanly are not prepared to handle this yet. instead, we provide a pcidevfree() function that just unlinks the device from pcilist and the parent bridge. --- sys/src/9/bcm64/pcibcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/src/9/bcm64') diff --git a/sys/src/9/bcm64/pcibcm.c b/sys/src/9/bcm64/pcibcm.c index 0ba9b5111..4e21d7e86 100644 --- a/sys/src/9/bcm64/pcibcm.c +++ b/sys/src/9/bcm64/pcibcm.c @@ -210,7 +210,7 @@ pcicfginit(void) fmtinstall('T', tbdffmt); - pciscan(0, &pciroot); + pciscan(0, &pciroot, nil); if(pciroot == nil) return; -- cgit v1.2.3