If we get a overflow read the data.

This probably fixes #2801 and is what the FreeBSD driver does.  


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34667 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Fredrik Holmqvist
2009-12-15 16:46:44 +00:00
parent 5e972c0f3d
commit 7afaadfbb7
@@ -449,9 +449,6 @@ rtl8169_int(void *data)
PROFILING_ONLY(device->intTotalCount++);
PROFILING_ONLY(device->intCurrentCount++);
if (stat & INT_FOVW) {
TRACE("INT_FOVW\n");
}
if (stat & INT_TimeOut) {
PROFILING_ONLY(device->intTimerTotalCount++);
@@ -469,7 +466,7 @@ rtl8169_int(void *data)
ret = B_INVOKE_SCHEDULER;
}
if (stat & (INT_ROK | INT_RER)) {
if (stat & (INT_ROK | INT_RER | INT_FOVW)) {
rtl8169_rx_int(device);
PROFILING_ONLY(device->intRxTotalCount++);
PROFILING_ONLY(device->intRxCurrentCount++);