summaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2005-10-21 19:18:28 -0400
committerNathan Binkert <binkertn@umich.edu>2005-10-21 19:18:28 -0400
commit336ae93d3cc0060f3d31b907bd20eac577901dd5 (patch)
treef0171aa70a150a05edf6a714415ae4ce36232abf /dev
parent13bf7e27ac7a20c80fb079fbaff0d6091a1e1c18 (diff)
parenta51565f6ae19206ff8814d2cdfd13b8f5277c6ef (diff)
downloadgem5-336ae93d3cc0060f3d31b907bd20eac577901dd5.tar.xz
Merge zizzer.eecs.umich.edu:/bk/m5
into ziff.eecs.umich.edu:/z/binkertn/research/m5/head --HG-- extra : convert_revision : 35075f75f7e31e0500b964ec45db3019eea06c76
Diffstat (limited to 'dev')
-rw-r--r--dev/ns_gige.cc4
-rw-r--r--dev/sinic.cc3
2 files changed, 0 insertions, 7 deletions
diff --git a/dev/ns_gige.cc b/dev/ns_gige.cc
index f6d15b02f..7e7fedc15 100644
--- a/dev/ns_gige.cc
+++ b/dev/ns_gige.cc
@@ -2531,20 +2531,17 @@ NSGigE::recvPacket(PacketPtr packet)
if (!rxEnable) {
DPRINTF(Ethernet, "receive disabled...packet dropped\n");
- interface->recvDone();
return true;
}
if (!rxFilterEnable) {
DPRINTF(Ethernet,
"receive packet filtering disabled . . . packet dropped\n");
- interface->recvDone();
return true;
}
if (rxFilter(packet)) {
DPRINTF(Ethernet, "packet filtered...dropped\n");
- interface->recvDone();
return true;
}
@@ -2567,7 +2564,6 @@ NSGigE::recvPacket(PacketPtr packet)
}
rxFifo.push(packet);
- interface->recvDone();
rxKick();
return true;
diff --git a/dev/sinic.cc b/dev/sinic.cc
index 0f2fd20ea..0619a63dd 100644
--- a/dev/sinic.cc
+++ b/dev/sinic.cc
@@ -1085,13 +1085,11 @@ Device::recvPacket(PacketPtr packet)
if (!rxEnable) {
DPRINTF(Ethernet, "receive disabled...packet dropped\n");
- interface->recvDone();
return true;
}
if (rxFilter(packet)) {
DPRINTF(Ethernet, "packet filtered...dropped\n");
- interface->recvDone();
return true;
}
@@ -1104,7 +1102,6 @@ Device::recvPacket(PacketPtr packet)
return false;
}
- interface->recvDone();
devIntrPost(Regs::Intr_RxDone);
rxKick();
return true;