X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;ds=sidebyside;f=sys%2Fsrc%2F9%2Fpc%2Fuartpci.c;h=aed64a1b1e33d7c44e45bd4083d36e4720e3fe44;hb=8243b6600f4c8d60e520aa1b20368ae9575aabf9;hp=1f97bd9307e3d72b43521a18ed8344e0909b7e5a;hpb=c4f57ff4927986ac2c45e1d4a84ad425a9c9aae9;p=plan9front.git diff --git a/sys/src/9/pc/uartpci.c b/sys/src/9/pc/uartpci.c index 1f97bd930..aed64a1b1 100644 --- a/sys/src/9/pc/uartpci.c +++ b/sys/src/9/pc/uartpci.c @@ -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);