summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/9/pc/ether2114x.c2
1 files changed, 1 insertions, 1 deletions
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: