fix for delayed state machine changes
--HG-- extra : convert_revision : db19e3687f48799725a9062e014588d318988cee
This commit is contained in:
parent
70a799a8cf
commit
5f7952f8e1
1 changed files with 4 additions and 0 deletions
|
@ -1840,6 +1840,8 @@ NSGigE::rxKick()
|
||||||
CRDD = true;
|
CRDD = true;
|
||||||
goto exit;
|
goto exit;
|
||||||
} else {
|
} else {
|
||||||
|
if (rxDmaState != dmaIdle)
|
||||||
|
goto exit;
|
||||||
rxState = rxDescRead;
|
rxState = rxDescRead;
|
||||||
regs.rxdp = rxDescCache.link;
|
regs.rxdp = rxDescCache.link;
|
||||||
CRDD = false;
|
CRDD = false;
|
||||||
|
@ -2286,6 +2288,8 @@ NSGigE::txKick()
|
||||||
txState = txIdle;
|
txState = txIdle;
|
||||||
goto exit;
|
goto exit;
|
||||||
} else {
|
} else {
|
||||||
|
if (txDmaState != dmaIdle)
|
||||||
|
goto exit;
|
||||||
txState = txDescRead;
|
txState = txDescRead;
|
||||||
regs.txdp = txDescCache.link;
|
regs.txdp = txDescCache.link;
|
||||||
CTDD = false;
|
CTDD = false;
|
||||||
|
|
Loading…
Reference in a new issue