From ca247a81f0cf42e3ab3d56adc0100c1715ce3d72 Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Mon, 25 Jul 2011 18:18:31 -0500 Subject: Ruby: Fix dma controller configs/ruby/MI_example.py The dma controller in configs/ruby/MI_example.py was not being set correctly. This patch fixes it. --- configs/ruby/MI_example.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configs') diff --git a/configs/ruby/MI_example.py b/configs/ruby/MI_example.py index 4ea5e5993..fcee35f00 100644 --- a/configs/ruby/MI_example.py +++ b/configs/ruby/MI_example.py @@ -149,9 +149,9 @@ def create_system(options, system, piobus, dma_devices, ruby_system): exec("system.dma_cntrl%d = dma_cntrl" % i) if dma_device.type == 'MemTest': - system.dma_cntrl.dma_sequencer.port = dma_device.test + exec("system.dma_cntrl%d.dma_sequencer.port = dma_device.test" % i) else: - system.dma_cntrl.dma_sequencer.port = dma_device.dma + exec("system.dma_cntrl%d.dma_sequencer.port = dma_device.dma" % i) dma_cntrl.dma_sequencer.port = dma_device.dma dma_cntrl_nodes.append(dma_cntrl) -- cgit v1.2.3