linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] pata_via: Add Armia W730-K8 and other rebadgings
@ 2007-08-22 21:57 Alan Cox
  2007-08-23  9:32 ` Jeff Garzik
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Cox @ 2007-08-22 21:57 UTC (permalink / raw)
  To: jeff, akpm, linux-ide

More cable funnies

Signed-off-by: Alan Cox <alan@redhat.com>

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.23rc3-mm1/drivers/ata/pata_via.c linux-2.6.23rc3-mm1/drivers/ata/pata_via.c
--- linux.vanilla-2.6.23rc3-mm1/drivers/ata/pata_via.c	2007-08-22 17:23:00.000000000 +0100
+++ linux-2.6.23rc3-mm1/drivers/ata/pata_via.c	2007-08-22 17:46:53.000000000 +0100
@@ -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 @@
 	/* Systems by DMI */
 	if (dmi_check_system(cable_dmi_table))
 		return 1;
+	/* Armia W730-K8/Targa Visionary 811/... */
+	if (pdev->subsystem_vendor == 0x161F && pdev->subsystem_device == 0x2032)
+		return 1;
 	return 0;
 }
 


-- 
--
	"Alan, I'm getting a bit worried about you."
				-- Linus Torvalds

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] pata_via: Add Armia W730-K8 and other rebadgings
@ 2007-08-23  8:04 Mikael Pettersson
  0 siblings, 0 replies; 3+ messages in thread
From: Mikael Pettersson @ 2007-08-23  8:04 UTC (permalink / raw)
  To: akpm, alan, jeff, linux-ide

On Wed, 22 Aug 2007 22:57:48 +0100, Alan Cox wrote:
> More cable funnies
> 
> Signed-off-by: Alan Cox <alan@redhat.com>
> 
> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.23rc3-mm1/drivers/ata/pata_via.c linux-2.6.23rc3-mm1/drivers/ata/pata_via.c
> --- linux.vanilla-2.6.23rc3-mm1/drivers/ata/pata_via.c	2007-08-22 17:23:00.000000000 +0100
> +++ linux-2.6.23rc3-mm1/drivers/ata/pata_via.c	2007-08-22 17:46:53.000000000 +0100
> @@ -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 @@
>  	/* Systems by DMI */
>  	if (dmi_check_system(cable_dmi_table))
>  		return 1;
> +	/* Armia W730-K8/Targa Visionary 811/... */
> +	if (pdev->subsystem_vendor == 0x161F && pdev->subsystem_device == 0x2032)
> +		return 1;
>  	return 0;
>  }

s/Armia/Arima/

Apart from that it works fine on my '811.

Tested-by: Mikael Pettersson <mikpe@it.uu.se>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] pata_via: Add Armia W730-K8 and other rebadgings
  2007-08-22 21:57 [PATCH] pata_via: Add Armia W730-K8 and other rebadgings Alan Cox
@ 2007-08-23  9:32 ` Jeff Garzik
  0 siblings, 0 replies; 3+ messages in thread
From: Jeff Garzik @ 2007-08-23  9:32 UTC (permalink / raw)
  To: Alan Cox; +Cc: akpm, linux-ide

Alan Cox wrote:
> More cable funnies
> 
> Signed-off-by: Alan Cox <alan@redhat.com>
> 
> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.23rc3-mm1/drivers/ata/pata_via.c linux-2.6.23rc3-mm1/drivers/ata/pata_via.c
> --- linux.vanilla-2.6.23rc3-mm1/drivers/ata/pata_via.c	2007-08-22 17:23:00.000000000 +0100
> +++ linux-2.6.23rc3-mm1/drivers/ata/pata_via.c	2007-08-22 17:46:53.000000000 +0100
> @@ -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 @@
>  	/* Systems by DMI */
>  	if (dmi_check_system(cable_dmi_table))
>  		return 1;
> +	/* Armia W730-K8/Targa Visionary 811/... */
> +	if (pdev->subsystem_vendor == 0x161F && pdev->subsystem_device == 0x2032)
> +		return 1;
>  	return 0;

applied with s/Armia/Arima/ as Mikael suggested



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-08-23  9:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-22 21:57 [PATCH] pata_via: Add Armia W730-K8 and other rebadgings Alan Cox
2007-08-23  9:32 ` Jeff Garzik
  -- strict thread matches above, loose matches on Subject: below --
2007-08-23  8:04 Mikael Pettersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).