changeset 92c3973dd98c in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=92c3973dd98c
description:
        IDE: Configure the IDE control to reflect the initial value of the 
command register.

diffstat:

1 file changed, 3 insertions(+)
src/dev/ide_ctrl.cc |    3 +++

diffs (13 lines):

diff -r 4c5671ecceda -r 92c3973dd98c src/dev/ide_ctrl.cc
--- a/src/dev/ide_ctrl.cc       Sun Aug 02 08:39:29 2009 -0700
+++ b/src/dev/ide_ctrl.cc       Sun Aug 02 18:01:09 2009 -0700
@@ -107,6 +107,9 @@
     }
     primary.select(false);
     secondary.select(false);
+
+    ioEnabled = (config.command & htole(PCI_CMD_IOSE));
+    bmEnabled = (config.command & htole(PCI_CMD_BME));
 }
 
 bool
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to