linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH][2.6.11.12] sata_nv.c patch for new NVIDIA device IDs
@ 2005-06-24  0:07 Rob Punkunus
  2005-06-27  4:14 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Rob Punkunus @ 2005-06-24  0:07 UTC (permalink / raw)
  To: rpunkunus, blazara, acurrid, achew, bzolnier, vojtech, gregkh,
	jgarzik
  Cc: linux-ide

Signed-off-by: Rob Punkunus <rpunkunus@nvidia.com>
---

Only in linux-2.6.11.12-sata: .config
diff -pur linux-2.6.11.12/drivers/scsi/sata_nv.c linux-2.6.11.12-sata/drivers/scsi/sata_nv.c
--- linux-2.6.11.12/drivers/scsi/sata_nv.c	2005-06-11 19:45:37.000000000 -0700
+++ linux-2.6.11.12-sata/drivers/scsi/sata_nv.c	2005-06-21 06:36:08.000000000 -0700
@@ -20,6 +20,12 @@
  *  If you do not delete the provisions above, a recipient may use your
  *  version of this file under either the OSL or the GPL.
  *
+ *  0.08 
+ *     - Added support for MCP51 and MCP55.
+ *
+ *  0.07
+ *     - Added support for RAID class code.
+ *
  *  0.06
  *     - Added generic SATA support by using a pci_device_id that filters on
  *       the IDE storage class code.
@@ -48,7 +54,7 @@
 #include <linux/libata.h>
 
 #define DRV_NAME			"sata_nv"
-#define DRV_VERSION			"0.6"
+#define DRV_VERSION			"0.8"
 
 #define NV_PORTS			2
 #define NV_PIO_MASK			0x1f
@@ -115,7 +121,9 @@ enum nv_host_type
 	GENERIC,
 	NFORCE2,
 	NFORCE3,
-	CK804
+	CK804,
+	MCP51,
+	MCP55
 };
 
 static struct pci_device_id nv_pci_tbl[] = {
@@ -133,9 +141,18 @@ static struct pci_device_id nv_pci_tbl[]
 		PCI_ANY_ID, PCI_ANY_ID, 0, 0, CK804 },
 	{ PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP04_SATA2,
 		PCI_ANY_ID, PCI_ANY_ID, 0, 0, CK804 },
+	{ PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP51_SATA,
+		PCI_ANY_ID, PCI_ANY_ID, 0, 0, MCP51 },
+	{ PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP51_SATA2,
+		PCI_ANY_ID, PCI_ANY_ID, 0, 0, MCP51 },
+	{ PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP55_SATA,
+		PCI_ANY_ID, PCI_ANY_ID, 0, 0, MCP55 },
 	{ PCI_VENDOR_ID_NVIDIA, PCI_ANY_ID,
 		PCI_ANY_ID, PCI_ANY_ID,
 		PCI_CLASS_STORAGE_IDE<<8, 0xffff00, GENERIC },
+	{ PCI_VENDOR_ID_NVIDIA, PCI_ANY_ID, 
+		PCI_ANY_ID, PCI_ANY_ID,
+		PCI_CLASS_STORAGE_RAID<<8, 0xffff00, GENERIC },
 	{ 0, } /* terminate list */
 };
 
diff -pur linux-2.6.11.12/include/linux/pci_ids.h linux-2.6.11.12-sata/include/linux/pci_ids.h
--- linux-2.6.11.12/include/linux/pci_ids.h	2005-06-11 19:45:37.000000000 -0700
+++ linux-2.6.11.12-sata/include/linux/pci_ids.h	2005-06-20 09:12:48.000000000 -0700
@@ -1166,6 +1166,9 @@
 #define PCI_DEVICE_ID_NVIDIA_QUADRO4_900XGL	0x0258
 #define PCI_DEVICE_ID_NVIDIA_QUADRO4_750XGL	0x0259
 #define PCI_DEVICE_ID_NVIDIA_QUADRO4_700XGL	0x025B
+#define PCI_DEVICE_ID_NVIDIA_NFORCE_MCP51_SATA  0x0266
+#define PCI_DEVICE_ID_NVIDIA_NFORCE_MCP51_SATA2 0x0267
+#define PCI_DEVICE_ID_NVIDIA_NFORCE_MCP55_SATA  0x036F
 #define PCI_DEVICE_ID_NVIDIA_GEFORCE_FX_GO_5200	0x0329
 
 #define PCI_VENDOR_ID_IMS		0x10e0




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

* Re: [PATCH][2.6.11.12] sata_nv.c patch for new NVIDIA device IDs
  2005-06-24  0:07 [PATCH][2.6.11.12] sata_nv.c patch for new NVIDIA device IDs Rob Punkunus
@ 2005-06-27  4:14 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2005-06-27  4:14 UTC (permalink / raw)
  To: Rob Punkunus
  Cc: blazara, acurrid, achew, bzolnier, vojtech, gregkh, linux-ide

Rob Punkunus wrote:
> Signed-off-by: Rob Punkunus <rpunkunus@nvidia.com>

Can you please resend this patch?  Your mailer (Ximian Evolution?) 
corrupted it:

> 
>   *     - Added generic SATA support by using a pci_device_id that filters =
> on
>   *       the IDE storage class code.
> @@ -48,7 +54,7 @@
>  #include <linux/libata.h>
> =20
>  #define DRV_NAME                       "sata_nv"
> -#define DRV_VERSION                    "0.6"
> +#define DRV_VERSION                    "0.8"
> =20



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

end of thread, other threads:[~2005-06-27  4:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-24  0:07 [PATCH][2.6.11.12] sata_nv.c patch for new NVIDIA device IDs Rob Punkunus
2005-06-27  4:14 ` Jeff Garzik

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).