From: Anthony Gutierrez Date: Thu, 15 May 2014 17:26:31 +0000 (-0400) Subject: config: remove unecessary assignment of etherlink interfaces X-Git-Tag: stable_2014_08_26~7 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=53dd4497b3e554869adb9c7faede24e4fd797319;p=gem5.git config: remove unecessary assignment of etherlink interfaces in makeDualRoot() the etherlink interfaces are set using the tsunami interface however, they are set again a few lines later based on whether or not the system is a realview or tsunami system; the original assignment is always overwritten or there will be a fatal. this seems like an artifact from when tsunami was the only type of system capable of running with the dual option. --- diff --git a/configs/common/FSConfig.py b/configs/common/FSConfig.py index 57d6aa2b2..dc24adf6f 100644 --- a/configs/common/FSConfig.py +++ b/configs/common/FSConfig.py @@ -535,8 +535,6 @@ def makeDualRoot(full_system, testSystem, driveSystem, dumpfile): self.testsys = testSystem self.drivesys = driveSystem self.etherlink = EtherLink() - self.etherlink.int0 = Parent.testsys.tsunami.ethernet.interface - self.etherlink.int1 = Parent.drivesys.tsunami.ethernet.interface if hasattr(testSystem, 'realview'): self.etherlink.int0 = Parent.testsys.realview.ethernet.interface