diff options
author | Nathan Binkert <binkertn@umich.edu> | 2005-09-17 10:47:16 -0400 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2005-09-17 10:47:16 -0400 |
commit | f88d7c7456ed0064316ef46b59ab71a3c25e91f1 (patch) | |
tree | 33e4a9c64e32f53e6731ca1701886814ad00f868 /python | |
parent | 36b9e9fcdad06d5e927ebd2ef91873f72f088041 (diff) | |
download | gem5-f88d7c7456ed0064316ef46b59ab71a3c25e91f1.tar.xz |
Fix the EtherDump parameters
dev/etherdump.cc:
no default parameters anymore they should be in python
python/m5/objects/Ethernet.py:
move the maxlen parameter for EtherDump into python
--HG--
extra : convert_revision : a796353a68907dfeb22059cd3ad536e6e8f60998
Diffstat (limited to 'python')
-rw-r--r-- | python/m5/objects/Ethernet.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/python/m5/objects/Ethernet.py b/python/m5/objects/Ethernet.py index a357ba346..d3e8c2811 100644 --- a/python/m5/objects/Ethernet.py +++ b/python/m5/objects/Ethernet.py @@ -30,6 +30,7 @@ class EtherTap(EtherInt): class EtherDump(SimObject): type = 'EtherDump' file = Param.String("dump file") + maxlen = Param.Int(96, "max portion of packet data to dump") if build_env['ALPHA_TLASER']: |