From 646c502b151f667362c625b6e2440cf1db520475 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Thu, 17 Dec 2020 21:02:11 +0100 Subject: ether2114x: make sure pci bar0 is I/O --- sys/src/9/pc/ether2114x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/src/9/pc/ether2114x.c b/sys/src/9/pc/ether2114x.c index bfc828613..db7c638c0 100644 --- a/sys/src/9/pc/ether2114x.c +++ b/sys/src/9/pc/ether2114x.c @@ -1654,7 +1654,7 @@ dec2114xpci(void) p = nil; while(p = pcimatch(p, 0, 0)){ - if(p->ccrb != 0x02 || p->ccru != 0) + if(p->ccrb != 0x02 || p->ccru != 0 || (p->mem[0].bar & 1) == 0) continue; switch((p->did<<16)|p->vid){ default: -- cgit v1.2.3