diff options
author | Tony Battersby <tonyb@cybernetics.com> | 2007-10-16 22:29:52 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-11-16 09:30:23 -0800 |
commit | bd9f792ffdfbc6b7457e406a82e1e62c122d9c8a (patch) | |
tree | 3d1b5e79922d49e627fa66f7c3d6971ed1a7c009 | |
parent | 4b3c198a4b5d083eb84abb89fe30e32f562b2771 (diff) | |
download | lwn-bd9f792ffdfbc6b7457e406a82e1e62c122d9c8a.tar.gz lwn-bd9f792ffdfbc6b7457e406a82e1e62c122d9c8a.zip |
ide: fix serverworks.c UDMA regression
patch 0c824b51b338c808de650b440ba5f9f4a725f7fc in mainline.
The patch described by the following excerpt from ChangeLog-2.6.22 makes
it impossible to use UDMA on a Tyan S2707 motherboard (SvrWks CSB5):
commit 2d5eaa6dd744a641e75503232a01f52d0768884c
Author: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Date: Thu May 10 00:01:08 2007 +0200
ide: rework the code for selecting the best DMA transfer mode (v3)
...
This one-line patch against 2.6.23 fixes the problem.
Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/ide/pci/serverworks.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ide/pci/serverworks.c b/drivers/ide/pci/serverworks.c index 9fead2e7d4c8..e8870583e41a 100644 --- a/drivers/ide/pci/serverworks.c +++ b/drivers/ide/pci/serverworks.c @@ -97,6 +97,7 @@ static u8 svwks_udma_filter(ide_drive_t *drive) mode = 2; switch(mode) { + case 3: mask = 0x3f; break; case 2: mask = 0x1f; break; case 1: mask = 0x07; break; default: mask = 0x00; break; |