- Timestamp:
- May 5, 2008 2:33:41 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DevPCNet.cpp
r8314 r8599 1581 1581 pData->aCSR[0] &= ~0x0004; /* clear STOP bit */ 1582 1582 pData->aCSR[0] |= 0x0002; /* STRT */ 1583 pcnetPollTimer(pData); /* start timer if it was stopped */ 1583 1584 } 1584 1585 … … 2565 2566 pcnetUpdateIrq(pData); 2566 2567 2567 if (RT_LIKELY(!CSR_STOP(pData) && !CSR_SPND(pData) && !CSR_DPOLL(pData))) 2568 /* If the receive thread is waiting for new descriptors, poll TX/RX even if polling 2569 * disabled. We wouldn't need to poll for new TX descriptors in that case but it will 2570 * not hurt as waiting for RX descriptors should occur very seldom */ 2571 if ( RT_UNLIKELY(pData->fMaybeOutOfSpace) 2572 || RT_LIKELY(!CSR_STOP(pData) && !CSR_SPND(pData) && !CSR_DPOLL(pData))) 2568 2573 { 2569 2574 /* We ensure that we poll at least every 2ms (500Hz) but not more often than
Note:
See TracChangeset
for help on using the changeset viewer.