merge
This commit is contained in:
commit
17ef60cbb8
1 changed files with 4 additions and 2 deletions
|
@ -919,8 +919,10 @@ rtl8169receive(Ether* edev)
|
||||||
int x;
|
int x;
|
||||||
|
|
||||||
ctlr = edev->ctlr;
|
ctlr = edev->ctlr;
|
||||||
x = ctlr->rdh;
|
if(ctlr->nrq < ctlr->nrd/2)
|
||||||
for(;;){
|
rtl8169replenish(ctlr);
|
||||||
|
|
||||||
|
for(x = ctlr->rdh; x != ctlr->rdt;){
|
||||||
d = &ctlr->rd[x];
|
d = &ctlr->rd[x];
|
||||||
if((control = d->control) & Own)
|
if((control = d->control) & Own)
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue