projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aff5720
)
IDE: Configure the IDE control to reflect the initial value of the command register.
author
Gabe Black
<gblack@eecs.umich.edu>
Mon, 3 Aug 2009 01:01:09 +0000
(18:01 -0700)
committer
Gabe Black
<gblack@eecs.umich.edu>
Mon, 3 Aug 2009 01:01:09 +0000
(18:01 -0700)
src/dev/ide_ctrl.cc
patch
|
blob
|
history
diff --git
a/src/dev/ide_ctrl.cc
b/src/dev/ide_ctrl.cc
index 3d4e71888ac5171c117ccaf41006c35ed7c49aa3..a8cceda1f47fadddd3eea9d1a4b6355235c3fffc 100644
(file)
--- a/
src/dev/ide_ctrl.cc
+++ b/
src/dev/ide_ctrl.cc
@@
-107,6
+107,9
@@
IdeController::IdeController(Params *p)
}
primary.select(false);
secondary.select(false);
+
+ ioEnabled = (config.command & htole(PCI_CMD_IOSE));
+ bmEnabled = (config.command & htole(PCI_CMD_BME));
}
bool