diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2007-09-12 15:24:23 -0400 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2007-09-12 15:24:23 -0400 |
commit | 5f187e592e2f5db10d67ee7c8d9cfb11972950b6 (patch) | |
tree | dce8ec27fa83500168bd756ff53b02891ef8c4ea /src/dev/i8254xGBe.hh | |
parent | 19fbdcd30bfcbfe11b2a1a315039f0e3b68025a1 (diff) | |
download | gem5-5f187e592e2f5db10d67ee7c8d9cfb11972950b6.tar.xz |
Devices: More fixes to Intel NIC Model.
--HG--
extra : convert_revision : 14306d3cd79bbef7decdf2fd370ed7e7f2b10a93
Diffstat (limited to 'src/dev/i8254xGBe.hh')
-rw-r--r-- | src/dev/i8254xGBe.hh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/dev/i8254xGBe.hh b/src/dev/i8254xGBe.hh index 50101325a..cbe7cf8c0 100644 --- a/src/dev/i8254xGBe.hh +++ b/src/dev/i8254xGBe.hh @@ -388,14 +388,13 @@ class IGbE : public EtherDevice oldHead, curHead); // If we still have more to wb, call wb now - bool oldMoreToWb = moreToWb; + intAfterWb(); if (moreToWb) { DPRINTF(EthernetDesc, "Writeback has more todo\n"); writeback(wbAlignment); } - intAfterWb(); - if (!oldMoreToWb) { + if (!wbOut) { igbe->checkDrain(); } fetchAfterWb(); |