IDE: Configure the IDE control to reflect the initial value of the command register.

This commit is contained in:
Gabe Black 2009-08-02 18:01:09 -07:00
parent aff57202b4
commit 80aa771dbc

View file

@ -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