From 70e99e0b915fa7ed9ac682af6f68f077799ddea7 Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Tue, 21 Aug 2012 05:50:03 -0400 Subject: Device: Remove overloaded pio_latency parameter This patch removes the overloading of the parameter, which seems both redundant, and possibly incorrect. The PciConfigAll now also uses a Param.Latency rather than a Param.Tick. For backwards compatibility it still sets the pio_latency to 1 tick. All the comments have also been updated to not state that it is in simticks when it is not necessarily the case. --- src/dev/sparc/T1000.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dev/sparc') diff --git a/src/dev/sparc/T1000.py b/src/dev/sparc/T1000.py index aa66a9004..03a59ac67 100644 --- a/src/dev/sparc/T1000.py +++ b/src/dev/sparc/T1000.py @@ -47,7 +47,7 @@ class DumbTOD(BasicPioDevice): class Iob(PioDevice): type = 'Iob' platform = Param.Platform(Parent.any, "Platform this device is part of.") - pio_latency = Param.Latency('1ns', "Programed IO latency in simticks") + pio_latency = Param.Latency('1ns', "Programed IO latency") class T1000(Platform): -- cgit v1.2.3