diff options
author | Steve Reinhardt <stever@gmail.com> | 2013-07-11 21:56:50 -0500 |
---|---|---|
committer | Steve Reinhardt <stever@gmail.com> | 2013-07-11 21:56:50 -0500 |
commit | 502ad1e6757116867e0e0529c0c080320a2b440b (patch) | |
tree | 7f2f79fd913a23a4cfc6bdb9a3147551e6624c00 /src/dev/Pci.py | |
parent | 2737650a69f0c56d325c2d9cfd45eef099fbd581 (diff) | |
download | gem5-502ad1e6757116867e0e0529c0c080320a2b440b.tar.xz |
dev: consistently end device classes in 'Device'
PciDev and IntDev stuck out as the only device classes that
ended in 'Dev' rather than 'Device'. This patch takes care
of that inconsistency.
Note that you may need to delete pre-existing files matching
build/*/python/m5/internal/param_* as scons does not pick up
indirect dependencies on imported python modules when generating
params, and the PciDev -> PciDevice rename takes place in a
file (dev/Device.py) that gets imported quite a bit.
Committed by: Nilay Vaish <nilay@cs.wisc.edu>
Diffstat (limited to 'src/dev/Pci.py')
-rw-r--r-- | src/dev/Pci.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dev/Pci.py b/src/dev/Pci.py index a63c329a4..fa3fc854e 100644 --- a/src/dev/Pci.py +++ b/src/dev/Pci.py @@ -44,7 +44,7 @@ class PciConfigAll(BasicPioDevice): class PciDevice(DmaDevice): type = 'PciDevice' - cxx_class = 'PciDev' + cxx_class = 'PciDevice' cxx_header = "dev/pcidev.hh" abstract = True platform = Param.Platform(Parent.any, "Platform this device is part of.") |