diff options
Diffstat (limited to 'src/dev/i8254xGBe.hh')
-rw-r--r-- | src/dev/i8254xGBe.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dev/i8254xGBe.hh b/src/dev/i8254xGBe.hh index d353c1d83..116fa5b95 100644 --- a/src/dev/i8254xGBe.hh +++ b/src/dev/i8254xGBe.hh @@ -352,7 +352,7 @@ class IGbE : public EtherDevice virtual void updateHead(long h) { igbe->regs.rdh(h); } virtual void enableSm(); virtual void fetchAfterWb() { - if (!igbe->rxTick && igbe->getDrainState() == Drainable::Running) + if (!igbe->rxTick && igbe->getDrainState() == DrainState::Running) fetchDescriptors(); } @@ -414,7 +414,7 @@ class IGbE : public EtherDevice virtual void enableSm(); virtual void actionAfterWb(); virtual void fetchAfterWb() { - if (!igbe->txTick && igbe->getDrainState() == Drainable::Running) + if (!igbe->txTick && igbe->getDrainState() == DrainState::Running) fetchDescriptors(); } |