]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
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 94e5edc12ac9769fd15c3eae3509140ea3b2d80d..71bdc3b3189c494f77751eb407262afad289883d 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 025689de50e9e6b5e420cdcdf89504759946f043..11ecb618007c3f5586006713c46b898eb7a0abf0 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"),
+               },
+       },
        { }
 };