diff options
author | Nathan Binkert <binkertn@umich.edu> | 2005-10-18 22:05:05 -0400 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2005-10-18 22:05:05 -0400 |
commit | 2badc0113c0c35729cf4035980abe8dc74372d0c (patch) | |
tree | d373d75fec9ef2f9aec3d93ac5b98ec0475d0f5a /dev/sinic.hh | |
parent | 1e67135c8b0019fcd40e4154e69b66df5b4f2ccc (diff) | |
download | gem5-2badc0113c0c35729cf4035980abe8dc74372d0c.tar.xz |
Shuffle around device names to make things easier to read.
Create EtherDevBase which both Sinic and NSGigE derive from
bump fifos
drop rx max copy size to 1514 bytes to be friendlier with linux
default interrupt delay is 10us
dev/ns_gige.cc:
Shuffle around parameters to make it easier to find stuff
dev/sinic.cc:
Shuffle around parameters to make it easier to find stuff
rename cycleTime -> clock
dev/sinic.hh:
rename cycleTime -> clock
--HG--
extra : convert_revision : a673bee875e50d083098991aea20972fa8d5b5c7
Diffstat (limited to 'dev/sinic.hh')
-rw-r--r-- | dev/sinic.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dev/sinic.hh b/dev/sinic.hh index d190746a4..924c6eeeb 100644 --- a/dev/sinic.hh +++ b/dev/sinic.hh @@ -48,8 +48,8 @@ class Base : public PciDev protected: bool rxEnable; bool txEnable; - Tick cycleTime; - inline Tick cycles(int numCycles) const { return numCycles * cycleTime; } + Tick clock; + inline Tick cycles(int numCycles) const { return numCycles * clock; } protected: Tick intrDelay; @@ -81,7 +81,7 @@ class Base : public PciDev public: struct Params : public PciDev::Params { - Tick cycle_time; + Tick clock; Tick intr_delay; }; |