changeset 7b6983f2787a in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=7b6983f2787a
description:
        IDE: Support x86, Alpha, and ARM use of the IDE controller.

diffstat:

 src/dev/ide_ctrl.cc |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r bd40568644f3 -r 7b6983f2787a src/dev/ide_ctrl.cc
--- a/src/dev/ide_ctrl.cc       Mon Apr 04 11:42:23 2011 -0500
+++ b/src/dev/ide_ctrl.cc       Mon Apr 04 11:42:23 2011 -0500
@@ -107,11 +107,11 @@
     primary.select(false);
     secondary.select(false);
 
-    if ((BARAddrs[0] & ~BAR_IO_MASK) && !legacyIO[0]){
+    if ((BARAddrs[0] & ~BAR_IO_MASK) && (!legacyIO[0] || ioShift)) {
         primary.cmdAddr = BARAddrs[0];  primary.cmdSize = BARSize[0];
         primary.ctrlAddr = BARAddrs[1]; primary.ctrlSize = BARAddrs[1];
     }
-    if ((BARAddrs[2] & ~BAR_IO_MASK) && !legacyIO[2]){
+    if ((BARAddrs[2] & ~BAR_IO_MASK) && (!legacyIO[2] || ioShift)) {
         secondary.cmdAddr = BARAddrs[2];  secondary.cmdSize = BARSize[2];
         secondary.ctrlAddr = BARAddrs[3]; secondary.ctrlSize = BARAddrs[3];
     }
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to