diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-12-17 21:02:11 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-12-17 21:02:11 +0100 |
commit | 646c502b151f667362c625b6e2440cf1db520475 (patch) | |
tree | cbf063877411dca20d945a241d27626b6b97e14d /sys/src | |
parent | 318fe6a702b5c118ce271b616c115648ae6d7448 (diff) |
ether2114x: make sure pci bar0 is I/O
Diffstat (limited to 'sys/src')
-rw-r--r-- | sys/src/9/pc/ether2114x.c | 2 |
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: |