summaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2005-09-24 15:22:28 -0400
committerSteve Reinhardt <stever@eecs.umich.edu>2005-09-24 15:22:28 -0400
commit663787422520580f3a5aa37481b181ea49076177 (patch)
treea340ad4ad7990bb6c68c9cb8d1d09a06f6dbd3d8 /dev
parentd60de7122da3a90a0204853f633d34d93dcc622f (diff)
downloadgem5-663787422520580f3a5aa37481b181ea49076177.tar.xz
Fix IDE disk UDMA mode support mask to actually reflect support for
modes 4 *and below*, not just mode 4. dev/ide_disk.cc: Fix UDMA mode support mask to actually reflect support for modes 4 *and below*, not just mode 4. --HG-- extra : convert_revision : 3506d503a5e8ce8a8686fb3a552383d365be0d41
Diffstat (limited to 'dev')
-rw-r--r--dev/ide_disk.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/ide_disk.cc b/dev/ide_disk.cc
index f178e44ed..ea8f151c0 100644
--- a/dev/ide_disk.cc
+++ b/dev/ide_disk.cc
@@ -114,7 +114,7 @@ IdeDisk::IdeDisk(const string &name, DiskImage *img, PhysicalMemory *phys,
// Set PIO mode 4 and 3 supported
driveID.atap_piomode_supp = 0x3;
// Set DMA mode 4 and below supported
- driveID.atap_udmamode_supp = 0x10;
+ driveID.atap_udmamode_supp = 0x1f;
// Statically set hardware config word
driveID.atap_hwreset_res = 0x4001;