summaryrefslogtreecommitdiff
path: root/dev/ide_disk.hh
diff options
context:
space:
mode:
authorAndrew Schultz <alschult@umich.edu>2004-06-23 15:37:05 -0400
committerAndrew Schultz <alschult@umich.edu>2004-06-23 15:37:05 -0400
commit06d8f0af5def68e395b58636d5e7d6ca69daa51f (patch)
tree1039ea31ea32c8b56d19123d087f5c87029cb8da /dev/ide_disk.hh
parent556b2a9098930698b39f296c8d13831f2b91311b (diff)
downloadgem5-06d8f0af5def68e395b58636d5e7d6ca69daa51f.tar.xz
Fix to properly shadow the DEV bit in the Drive/Head register so other
disks are properly detected and handled --HG-- extra : convert_revision : ffc3046deb68458ee2ef6fa5263dc471488abc45
Diffstat (limited to 'dev/ide_disk.hh')
-rw-r--r--dev/ide_disk.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/ide_disk.hh b/dev/ide_disk.hh
index 409aaef9a..9c6eea623 100644
--- a/dev/ide_disk.hh
+++ b/dev/ide_disk.hh
@@ -320,7 +320,7 @@ class IdeDisk : public SimObject
// Utility functions
bool isBSYSet() { return (status & STATUS_BSY_BIT); }
bool isIENSet() { return nIENBit; }
- bool isDEVSelect() { return ((cmdReg.drive & SELECT_DEV_BIT) == devID); }
+ bool isDEVSelect();
void setComplete()
{