ether2114x: make sure pci bar0 is I/O
This commit is contained in:
parent
318fe6a702
commit
646c502b15
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue