[PATCH] Override 80-wire cable detection for Toshiba S1800-814 (resend)

From: Daniel Exner
Date: Fri Aug 31 2007 - 10:48:38 EST


Hi!

Please CC me, as I'm currently not subscribed to this list, thx.

Another try :)


--
Greetings
Daniel Exner
Add Toshiba S1800-814 to whitelist for both
pata_ali and alim15x3, as it is correctly detected as 40-wire connected but
this cable is short enough to still use transfer modes higher than UDMA33.

Signed-off-by: Daniel Exner <dex@xxxxxxxxxxxxxx>

--- linux-2.6.22.old/drivers/ata/pata_ali.c 2007-08-29 23:27:53.000000000 +0200
+++ linux-2.6.22/drivers/ata/pata_ali.c 2007-08-29 23:14:37.000000000 +0200
@@ -48,6 +48,13 @@
DMI_MATCH(DMI_BOARD_VERSION, "OmniBook N32N-736"),
},
},
+ {
+ .ident = "Toshiba Satelite S1800-814",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "S1800-814"),
+ },
+ },
{ }
};

--- linux-2.6.22.old/drivers/ide/pci/alim15x3.c 2007-08-29 22:17:14.000000000 +0200
+++ linux-2.6.22/drivers/ide/pci/alim15x3.c 2007-08-29 22:56:27.000000000 +0200
@@ -596,6 +596,13 @@
DMI_MATCH(DMI_BOARD_VERSION, "OmniBook N32N-736"),
},
},
+ {
+ .ident = "Toshiba Satellite S1800-814",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "S1800-814"),
+ },
+ },
{ }
};