pata_via: Add Arima W730-K8 and other rebadgings
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Wed, 22 Aug 2007 21:57:48 +0000 (22:57 +0100)
committerJeff Garzik <jeff@garzik.org>
Thu, 23 Aug 2007 09:32:07 +0000 (05:32 -0400)
More cable funnies

Signed-off-by: Alan Cox <alan@redhat.com>
Tested-by: Mikael Pettersson <mikpe@it.uu.se>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/pata_via.c

index f645fe22cd1e7c6fb47df6591f7be1a12fc54114..ea18e33f50efc76032ebfa44fa9286ff774b17a6 100644 (file)
@@ -63,7 +63,7 @@
 #include <linux/dmi.h>
 
 #define DRV_NAME "pata_via"
-#define DRV_VERSION "0.3.1"
+#define DRV_VERSION "0.3.2"
 
 /*
  *     The following comes directly from Vojtech Pavlik's ide/pci/via82cxxx
@@ -144,6 +144,9 @@ static int via_cable_override(struct pci_dev *pdev)
        /* Systems by DMI */
        if (dmi_check_system(cable_dmi_table))
                return 1;
+       /* Arima W730-K8/Targa Visionary 811/... */
+       if (pdev->subsystem_vendor == 0x161F && pdev->subsystem_device == 0x2032)
+               return 1;
        return 0;
 }