linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] 2.4.x sata_promis pci_ids update
@ 2006-04-28 14:32 eyck
  0 siblings, 0 replies; only message in thread
From: eyck @ 2006-04-28 14:32 UTC (permalink / raw)
  To: linux-ide

[-- Attachment #1: Type: text/plain, Size: 191 bytes --]

Hi, 
 this little update (taken from 2.6) makes 2.4.32 recognize 'newer' promis
controllers.
-- 
Key fingerprint = 40D0 9FFB 9939 7320 8294  05E0 BCC7 02C4 75CC 50D9
 Total Existance Failure

[-- Attachment #2: 012-promis.pci.ids.103.diff --]
[-- Type: text/plain, Size: 1594 bytes --]

diff -ruN linux-2.4.32.orig/drivers/scsi/sata_promise.c linux-2.4.32/drivers/scsi/sata_promise.c
--- linux-2.4.32.orig/drivers/scsi/sata_promise.c	2005-11-16 20:12:54.000000000 +0100
+++ linux-2.4.32/drivers/scsi/sata_promise.c	2006-04-25 19:46:35.000000000 +0200
@@ -42,6 +42,7 @@
 #define DRV_NAME	"sata_promise"
 #define DRV_VERSION	"1.01"
 
+// pci device id list from 1.03
 
 enum {
 	PDC_PKT_SUBMIT		= 0x40, /* Command packet pointer addr */
@@ -161,9 +162,12 @@
 	},
 };
 
-static struct pci_device_id pdc_ata_pci_tbl[] = {
+
+static const struct pci_device_id pdc_ata_pci_tbl[] = {
 	{ PCI_VENDOR_ID_PROMISE, 0x3371, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
 	  board_2037x },
+	{ PCI_VENDOR_ID_PROMISE, 0x3570, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
+	  board_2037x },
 	{ PCI_VENDOR_ID_PROMISE, 0x3571, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
 	  board_2037x },
 	{ PCI_VENDOR_ID_PROMISE, 0x3373, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
@@ -176,11 +180,17 @@
 	  board_2037x },
 	{ PCI_VENDOR_ID_PROMISE, 0x3d75, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
 	  board_2037x },
+	{ PCI_VENDOR_ID_PROMISE, 0x3d73, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
+	  board_2037x },
 
 	{ PCI_VENDOR_ID_PROMISE, 0x3318, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
 	  board_20319 },
 	{ PCI_VENDOR_ID_PROMISE, 0x3319, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
 	  board_20319 },
+	{ PCI_VENDOR_ID_PROMISE, 0x3519, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
+	  board_20319 },
+	{ PCI_VENDOR_ID_PROMISE, 0x3d17, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
+	  board_20319 },
 	{ PCI_VENDOR_ID_PROMISE, 0x3d18, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
 	  board_20319 },
 
@@ -190,3 +200,3 @@
 	{ }	/* terminate list */
 };
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-04-28 14:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-28 14:32 [PATCH] 2.4.x sata_promis pci_ids update eyck

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