From: Steve Reinhardt Date: Sat, 24 Sep 2005 19:22:28 +0000 (-0400) Subject: Fix IDE disk UDMA mode support mask to actually reflect support for X-Git-Tag: m5_1.1~12 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=663787422520580f3a5aa37481b181ea49076177;p=gem5.git 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 --- 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;