]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/src/9/mtx/pcimtx.c
devpccard, pci: fix pccard support and handle pci expansion roms
[plan9front.git] / sys / src / 9 / mtx / pcimtx.c
index a2425d6094338a8f79856d4af3b887e32f3f22ed..c6704c0e13f030beeb7b5f407a89e168e27beaa7 100644 (file)
@@ -67,7 +67,7 @@ pcicfginit(void)
        list = &pciroot;
        for(bno = 0; bno <= pcimaxbno; bno++) {
                int sbno = bno;
-               bno = pciscan(bno, list);
+               bno = pciscan(bno, list, nil);
 
                while(*list)
                        list = &(*list)->link;