summaryrefslogtreecommitdiff
path: root/src/dev/Ethernet.py
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2008-10-09 22:19:39 -0700
committerNathan Binkert <nate@binkert.org>2008-10-09 22:19:39 -0700
commit94b08bed07d13106381a0bb692bf0d879c5353d4 (patch)
treee6edac20c9eaa5cfb6eab25d3e6a4716d4451da9 /src/dev/Ethernet.py
parent4ecc5d53a302c5e494df5853a314a61e8bba3a50 (diff)
downloadgem5-94b08bed07d13106381a0bb692bf0d879c5353d4.tar.xz
SimObjects: Clean up handling of C++ namespaces.
Make them easier to express by only having the cxx_type parameter which has the full namespace name, and drop the cxx_namespace thing. Add support for multiple levels of namespace.
Diffstat (limited to 'src/dev/Ethernet.py')
-rw-r--r--src/dev/Ethernet.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dev/Ethernet.py b/src/dev/Ethernet.py
index cf513b834..5821a3e96 100644
--- a/src/dev/Ethernet.py
+++ b/src/dev/Ethernet.py
@@ -160,8 +160,7 @@ class NSGigE(EtherDevBase):
class Sinic(EtherDevBase):
type = 'Sinic'
- cxx_namespace = 'Sinic'
- cxx_class = 'Device'
+ cxx_class = 'Sinic::Device'
rx_max_copy = Param.MemorySize('1514B', "rx max copy")
tx_max_copy = Param.MemorySize('16kB', "tx max copy")