summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_ali.c
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2007-11-19 14:36:28 +0000
committerJeff Garzik <jeff@garzik.org>2007-11-23 19:33:26 -0500
commit8f59a13accd78e9759548b40aa2a053938a01ec7 (patch)
treeaa697163342c27e4f420ad9e978b62adffbe8dc6 /drivers/ata/pata_ali.c
parent92c52c52e123e6fabb85392b16bcdbdb64cfdc1c (diff)
downloadlinux-stable-8f59a13accd78e9759548b40aa2a053938a01ec7.tar.gz
linux-stable-8f59a13accd78e9759548b40aa2a053938a01ec7.tar.bz2
linux-stable-8f59a13accd78e9759548b40aa2a053938a01ec7.zip
pata_ali: Add Mitac 8317 and derivatives
Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/pata_ali.c')
-rw-r--r--drivers/ata/pata_ali.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/ata/pata_ali.c b/drivers/ata/pata_ali.c
index 364534e7aff4..d12f386c1507 100644
--- a/drivers/ata/pata_ali.c
+++ b/drivers/ata/pata_ali.c
@@ -63,6 +63,9 @@ static int ali_cable_override(struct pci_dev *pdev)
/* Fujitsu P2000 */
if (pdev->subsystem_vendor == 0x10CF && 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;