public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* RE: [PATCH] Allow x86-64 compilation for ips.c
@ 2003-08-11 11:48 Hammer, Jack
  2003-08-11 22:38 ` James Bottomley
  2003-08-11 22:52 ` Andi Kleen
  0 siblings, 2 replies; 5+ messages in thread
From: Hammer, Jack @ 2003-08-11 11:48 UTC (permalink / raw)
  To: 'Andi Kleen', James.Bottomley, linux-scsi

James,

Please do not apply this patch - It is incomplete.  A complete patch (
there's more to x86_64 than just this one change ) to ips for x86_64 support
is coming from the maintainers at Adaptec ( probably within a week ).

Adaptec Raid Development Team




-----Original Message-----
From: Andi Kleen [mailto:ak@muc.de]
Sent: Sunday, August 10, 2003 10:15 AM
To: linux-scsi@vger.kernel.org; James.Bottomley@HansenPartnership.com;
IpsLinux
Subject: [PATCH] Allow x86-64 compilation for ips.c



ips.c seems to work on x86-64 fine. Disable the rogue error checking
for unsupported architectures.

Also make this check a soft error, not a hard error.

-Andi

diff -burpN -X ../KDIFX linux/drivers/scsi/ips.c
linux-2.6.0test3-amd64/drivers/scsi/ips.c
--- linux/drivers/scsi/ips.c	2003-08-09 16:48:09.000000000 +0200
+++ linux-2.6.0test3-amd64/drivers/scsi/ips.c	2003-08-09
16:50:20.000000000 +0200
@@ -198,8 +198,8 @@
 #define IPS_VERSION_LOW         ".01-BETA"
 
 
-#if !defined(__i386__) && !defined(__ia64__)
-   #error "This driver has only been tested on the x86/ia64 platforms"
+#if !defined(__i386__) && !defined(__ia64__) && !defined(__x86_64__)
+   #warning "This driver has only been tested on the x86/ia64 platforms"
 #endif
 
 #if LINUX_VERSION_CODE <= KERNEL_VERSION(2,5,0)
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread
* [PATCH] Allow x86-64 compilation for ips.c
@ 2003-08-10 14:15 Andi Kleen
  0 siblings, 0 replies; 5+ messages in thread
From: Andi Kleen @ 2003-08-10 14:15 UTC (permalink / raw)
  To: linux-scsi, James.Bottomley, ipslinux


ips.c seems to work on x86-64 fine. Disable the rogue error checking
for unsupported architectures.

Also make this check a soft error, not a hard error.

-Andi

diff -burpN -X ../KDIFX linux/drivers/scsi/ips.c linux-2.6.0test3-amd64/drivers/scsi/ips.c
--- linux/drivers/scsi/ips.c	2003-08-09 16:48:09.000000000 +0200
+++ linux-2.6.0test3-amd64/drivers/scsi/ips.c	2003-08-09 16:50:20.000000000 +0200
@@ -198,8 +198,8 @@
 #define IPS_VERSION_LOW         ".01-BETA"
 
 
-#if !defined(__i386__) && !defined(__ia64__)
-   #error "This driver has only been tested on the x86/ia64 platforms"
+#if !defined(__i386__) && !defined(__ia64__) && !defined(__x86_64__)
+   #warning "This driver has only been tested on the x86/ia64 platforms"
 #endif
 
 #if LINUX_VERSION_CODE <= KERNEL_VERSION(2,5,0)

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

end of thread, other threads:[~2003-08-11 22:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-11 11:48 [PATCH] Allow x86-64 compilation for ips.c Hammer, Jack
2003-08-11 22:38 ` James Bottomley
2003-08-11 22:52 ` Andi Kleen
2003-08-11 22:57   ` Andi Kleen
  -- strict thread matches above, loose matches on Subject: below --
2003-08-10 14:15 Andi Kleen

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