From: Bartlomiej Zolnierkiewicz Date: Tue, 27 Nov 2007 20:35:56 +0000 (+0100) Subject: alim15x3: add Mitac 8317 and derivatives to ali_cable_override() X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=d151456a71e2757da4169a6be2eb68ac115b05b0;p=openwrt%2Fstaging%2Fblogic.git alim15x3: add Mitac 8317 and derivatives to ali_cable_override() Port of Alan's patch for pata_ali.c. Cc: Alan Cox Acked-by: Sergei Shtylyov Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/ide/pci/alim15x3.c b/drivers/ide/pci/alim15x3.c index a607dd31a64c..ce293936af4b 100644 --- a/drivers/ide/pci/alim15x3.c +++ b/drivers/ide/pci/alim15x3.c @@ -603,6 +603,11 @@ static int ali_cable_override(struct pci_dev *pdev) pdev->subsystem_device == 0x10AF) return 1; + /* Mitac 8317 (Winbook-A) and relatives */ + if (pdev->subsystem_vendor == 0x1071 && + pdev->subsystem_device == 0x8317) + return 1; + /* Systems by DMI */ if (dmi_check_system(cable_dmi_table)) return 1;