Re: Kernel 2.6.30rc7 limits IDE to UDMA33

From: Alan Cox
Date: Fri Jun 05 2009 - 05:04:07 EST


> Adding more information. A user on the openSUSE forum which is trying
> out openSUSE 11.2 milestone 2 (with kernel 2.6.30-rc6-git3) is having
> the same problems. His computer is using the pata_amd driver instead
> of pata_via like mine and he too gets limiting to UDMA33 during boot
>
> Link: http://forums.opensuse.org/pre-release-beta/415373-hd-speed.html

Different problem. However that Nvidia one it would be worth trying this
so that we just rely upon the ACPI/BIOS data for Nvidia.

diff --git a/drivers/ata/pata_amd.c b/drivers/ata/pata_amd.c
index 33a74f1..c9c5fad 100644
--- a/drivers/ata/pata_amd.c
+++ b/drivers/ata/pata_amd.c
@@ -424,7 +424,7 @@ static struct ata_port_operations amd133_port_ops = {

static const struct ata_port_operations nv_base_port_ops = {
.inherits = &ata_bmdma_port_ops,
- .cable_detect = ata_cable_ignore,
+ .cable_detect = ata_cable_80wire,
.mode_filter = nv_mode_filter,
.prereset = nv_pre_reset,
.host_stop = nv_host_stop,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/