From 663787422520580f3a5aa37481b181ea49076177 Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Sat, 24 Sep 2005 15:22:28 -0400 Subject: [PATCH] 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 --- dev/ide_disk.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;