From 0685ae7a2dbceaa2b9b264a57c9d5f82868e777e Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Tue, 17 Aug 2010 05:06:21 -0700 Subject: bus: clean up default responder code. Clean up some minor things left over from the default responder change in rev 9af6fb59752f. Mostly renaming the 'responder_set' param to 'use_default_range' to actually reflect what it does... old name wasn't that descriptive in the first place, but now it really doesn't make sense at all. Also got rid of the bogus obsolete assignment to 'bus.responder' which used to be a parameter but now is interpreted as an implicit child assignment, and which was giving me problems in the config restructuring to come. (A good argument for not allowing implicit child assignments, IMO, but that's water under the bridge, I'm afraid.) Also moved the Bus constructor to the .cc file since that's where it should have been all along. --- src/dev/alpha/Tsunami.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/dev/alpha') diff --git a/src/dev/alpha/Tsunami.py b/src/dev/alpha/Tsunami.py index 5440486b6..e6a899604 100644 --- a/src/dev/alpha/Tsunami.py +++ b/src/dev/alpha/Tsunami.py @@ -96,8 +96,7 @@ class Tsunami(Platform): self.cchip.pio = bus.port self.pchip.pio = bus.port self.pciconfig.pio = bus.default - bus.responder_set = True - bus.responder = self.pciconfig + bus.use_default_range = True self.fake_sm_chip.pio = bus.port self.fake_uart1.pio = bus.port self.fake_uart2.pio = bus.port -- cgit v1.2.3