pata_ali/alim15x3: override 80-wire cable detection for Toshiba S1800-814
authorDaniel Exner <dex@dragonslave.de>
Tue, 11 Sep 2007 20:28:36 +0000 (22:28 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 11 Sep 2007 20:28:36 +0000 (22:28 +0200)
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@dragonslave.de>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ata/pata_ali.c
drivers/ide/pci/alim15x3.c

index 94e5edc..71bdc3b 100644 (file)
@@ -48,6 +48,13 @@ static struct dmi_system_id cable_dmi_table[] = {
                        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"),
+               },
+       },
        { }
 };
 
index 025689d..11ecb61 100644 (file)
@@ -596,6 +596,13 @@ static struct dmi_system_id cable_dmi_table[] = {
                        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"),
+               },
+       },
        { }
 };