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/x86/Pc.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/dev/x86') diff --git a/src/dev/x86/Pc.py b/src/dev/x86/Pc.py index 6f315cbcb..bb8c91ac6 100644 --- a/src/dev/x86/Pc.py +++ b/src/dev/x86/Pc.py @@ -79,5 +79,4 @@ class Pc(Platform): self.fake_com_4.pio = bus.port self.fake_floppy.pio = bus.port self.pciconfig.pio = bus.default - bus.responder_set = True - bus.responder = self.pciconfig + bus.use_default_range = True -- cgit v1.2.3