]> git.lizzy.rs Git - plan9front.git/commit
devpccard, pci: fix pccard support and handle pci expansion roms
authorcinap_lenrek <cinap_lenrek@felloff.net>
Mon, 1 Mar 2021 16:24:54 +0000 (17:24 +0100)
committercinap_lenrek <cinap_lenrek@felloff.net>
Mon, 1 Mar 2021 16:24:54 +0000 (17:24 +0100)
commita0404ff58245f16d2117542d2dffd1fc6199943d
tree1eea09a3c9b1426c73858e90f13c77f1bc315bbd
parent35558431105e4c793673310bd5bfa7f8a99d89e3
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
sys/src/9/mtx/pcimtx.c
sys/src/9/pc/devpccard.c
sys/src/9/pc/mp.c
sys/src/9/pc/pcipc.c
sys/src/9/port/pci.c
sys/src/9/port/pci.h
sys/src/9/teg2/pciteg.c