[PATCH 2.6.23-rc3] pata_via cable override for Arima W730-K8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 3 Aug 2007 23:32:17 +0100, Alan Cox wrote:
>On Fri, 3 Aug 2007 20:28:39 +0200 (MEST)
>Mikael Pettersson <mikpe@xxxxxxxx> wrote:
>
>> The machine is an Athlon64 laptop with a K8T800 chipset. With the IDE
>> VIA driver the disk is detected as udma/100:
>
>Currently old IDE via driver has a hack in it which goes 'did the BIOS
>set UDMA3+' then I guess the cable is 80 wire regardless. libata doesn't
>do that as it breaks with hotplug, breaks with suspend/resume before the
>driver is loaded and other bits.
>
>Instead we have two things - an ACPI snoop and a table of wonky laptops
>(eg those that use 40 wire ultrashort cables which are valid for UDMA133
>but not detected as 80 wire). If your laptop is done that way then it
>just needs adding to the magic list and/or 2.6.23-rc1-mm should spot it
>by ACPI. I'd prefer the table entry anyway as I don't like relying on ACPI
>so an lspci -vvxx would be appreciated

This patch updates the pata_via cable override DMI table to also
recognise my Targa Visionary 811 laptop (== Arima W730-K8).
With this patch pata_via does UDMA100 just like the old IDE driver.

Signed-off-by: Mikael Pettersson <mikpe@xxxxxxxx>
---
 drivers/ata/pata_via.c |    7 +++++++
 1 files changed, 7 insertions(+)

--- linux-2.6.23-rc3/drivers/ata/pata_via.c.~1~	2007-08-21 00:45:11.000000000 +0200
+++ linux-2.6.23-rc3/drivers/ata/pata_via.c	2007-08-21 01:01:27.000000000 +0200
@@ -136,6 +136,13 @@ static struct dmi_system_id cable_dmi_ta
 			DMI_MATCH(DMI_BOARD_NAME, "Ferrari 3400"),
 		},
 	},
+	{
+		.ident = "Arima W730-K8",
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "ACTEBIS"),
+			DMI_MATCH(DMI_BOARD_NAME, "SAM#451B"),
+		},
+	},
 	{ }
 };
 
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux