public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2.5] ips: remove arch limitations
@ 2003-08-28 16:07 David Jeffery
  2003-08-28 16:08 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: David Jeffery @ 2003-08-28 16:07 UTC (permalink / raw)
  To: linux-scsi@vger.kernel.org

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

This patch removes the X86 arch limitation in drivers/scsi/Kconfig,
downgrades the #error check for x86/x86_64/ia64 to a #warning, and
updates an old email address in the help.

It also fixes up a two places in the driver which have 8 spaces instead
of a tab for indention.

David Jeffery

[-- Attachment #2: test4.patch --]
[-- Type: text/x-patch, Size: 2212 bytes --]

diff -urN linux-2.6.0-test4_p0/drivers/scsi/Kconfig linux-2.6.0-test4_p1/drivers/scsi/Kconfig
--- linux-2.6.0-test4_p0/drivers/scsi/Kconfig	2003-08-25 08:19:14.000000000 -0400
+++ linux-2.6.0-test4_p1/drivers/scsi/Kconfig	2003-08-25 08:30:04.000000000 -0400
@@ -726,13 +726,13 @@
 
 config SCSI_IPS
 	tristate "IBM ServeRAID support"
-	depends on X86 && PCI && SCSI
+	depends on PCI && SCSI
 	---help---
 	  This is support for the IBM ServeRAID hardware RAID controllers.
 	  See <http://www.developer.ibm.com/welcome/netfinity/serveraid.html>
 	  for more information.  If this driver does not work correctly
 	  without modification please contact the author by email at
-	  ipslinux@us.ibm.com.
+	  ipslinux@adaptec.com.
 
 	  You can build this driver as a module ( = code which can be
 	  inserted in and removed from the running kernel whenever you want),
diff -urN linux-2.6.0-test4_p0/drivers/scsi/ips.c linux-2.6.0-test4_p1/drivers/scsi/ips.c
--- linux-2.6.0-test4_p0/drivers/scsi/ips.c	2003-08-25 08:18:32.000000000 -0400
+++ linux-2.6.0-test4_p1/drivers/scsi/ips.c	2003-08-25 08:25:08.000000000 -0400
@@ -199,7 +199,7 @@
 #define IPS_VERSION_LOW         ".90-BETA"
 
 #if !defined(__i386__) && !defined(__ia64__) && !defined(__x86_64__)
-#error "This driver has only been tested on the x86/ia64/x86_64 platforms"
+#warning "This driver has only been tested on the x86/ia64/x86_64 platforms"
 #endif
 
 #if LINUX_VERSION_CODE <= KERNEL_VERSION(2,5,0)
@@ -284,9 +284,9 @@
 /* This table describes all ServeRAID Adapters */
 static struct  pci_device_id  ips_pci_table[] = {
 	{ 0x1014, 0x002E, PCI_ANY_ID, PCI_ANY_ID, 0, 0 },
-        { 0x1014, 0x01BD, PCI_ANY_ID, PCI_ANY_ID, 0, 0 },
-        { 0x9005, 0x0250, PCI_ANY_ID, PCI_ANY_ID, 0, 0 },
-        { 0, }
+	{ 0x1014, 0x01BD, PCI_ANY_ID, PCI_ANY_ID, 0, 0 },
+	{ 0x9005, 0x0250, PCI_ANY_ID, PCI_ANY_ID, 0, 0 },
+	{ 0, }
 };
 
 MODULE_DEVICE_TABLE( pci, ips_pci_table );
@@ -300,7 +300,7 @@
 	.name		= ips_hot_plug_name,
 	.id_table	= ips_pci_table,
 	.probe		= ips_insert_device,
-        .remove		= __devexit_p(ips_remove_device),
+	.remove		= __devexit_p(ips_remove_device),
 };
            
 

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

* Re: [PATCH 2.5] ips: remove arch limitations
  2003-08-28 16:07 [PATCH 2.5] ips: remove arch limitations David Jeffery
@ 2003-08-28 16:08 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2003-08-28 16:08 UTC (permalink / raw)
  To: David Jeffery; +Cc: linux-scsi@vger.kernel.org

David Jeffery wrote:
> This patch removes the X86 arch limitation in drivers/scsi/Kconfig,
> downgrades the #error check for x86/x86_64/ia64 to a #warning, and
> updates an old email address in the help.
> 
> It also fixes up a two places in the driver which have 8 spaces instead
> of a tab for indention.


Looks good, thanks!

	Jeff




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

end of thread, other threads:[~2003-08-28 16:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-28 16:07 [PATCH 2.5] ips: remove arch limitations David Jeffery
2003-08-28 16:08 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox