]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/src/9/pc/uartpci.c
pc/ether*: use 64-bit physical addresses and check pci membar types and sizes
[plan9front.git] / sys / src / 9 / pc / uartpci.c
index 1f97bd9307e3d72b43521a18ed8344e0909b7e5a..aed64a1b1e33d7c44e45bd4083d36e4720e3fe44 100644 (file)
@@ -35,6 +35,7 @@ uartpci(int ctlrno, Pcidev* p, int barno, int n, int freq, char* name,
                return nil;
        }
 
+       pcienable(p);
        uart = head;
        for(i = 0; i < n; i++){
                ctlr = i8250alloc(io + i*iosize, p->intl, p->tbdf);