]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/src/9/teg2/pciteg.c
devpccard, pci: fix pccard support and handle pci expansion roms
[plan9front.git] / sys / src / 9 / teg2 / pciteg.c
index d6cc8a2917bfdf32c36bb6b7123140aae5752d5e..96430ee36fce3979d8cc22047cbf7768b73dfb8a 100644 (file)
@@ -181,7 +181,7 @@ pcicfginit(void)
        list = &pciroot;
        /* was bno = 0; trimslice needs to start at 1 */
        for(bno = 1; bno <= pcimaxbno; bno++) {
-               bno = pciscan(bno, list);
+               bno = pciscan(bno, list, nil);
                while(*list)
                        list = &(*list)->link;
        }