mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Hammer, Jack" <Jack_Hammer@adaptec.com>
To: <linux-kernel@vger.kernel.org>, <linux-scsi@vger.kernel.org>
Cc: "Marcelo Tosatti" <marcelo.tosatti@cyclades.com>,
	"Arjan van de Ven" <arjanv@redhat.com>,
	"Adrian Bunk" <bunk@fs.tum.de>
Subject: 2.4.28-pre3: broken ips update
Date: Mon, 13 Sep 2004 14:01:46 -0400	[thread overview]
Message-ID: <A121ABA5B472B74EB59076B8E3C8F0197965F4@rtpe2k01.adaptec.com> (raw)


This patch replaces the patch I submitted ( and then rescinded ) earlier
today. It fixes the compilation problem in 2.4.28 and includes the
changes recommended by Arjan on my earlier proposal for this.

Jack 




--- linux.orig/drivers/scsi/ips.h	Mon Sep 13 12:51:04 2004
+++ linux/drivers/scsi/ips.h	Mon Sep 13 12:55:15 2004
@@ -95,15 +95,14 @@
       #define scsi_set_pci_device(sh,dev) (0)
    #endif
 
-   #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
-   
-      #ifndef irqreturn_t
-         typedef void irqreturn_t;
-      #endif 
-      
+   #ifndef IRQ_NONE
+      typedef void irqreturn_t;
       #define IRQ_NONE
       #define IRQ_HANDLED
       #define IRQ_RETVAL(x)
+   #endif
+   
+   #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
       #define IPS_REGISTER_HOSTS(SHT)
scsi_register_module(MODULE_SCSI_HA,SHT)
       #define IPS_UNREGISTER_HOSTS(SHT)
scsi_unregister_module(MODULE_SCSI_HA,SHT)
       #define IPS_ADD_HOST(shost,device) 




             reply	other threads:[~2004-09-13 18:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-13 18:01 Hammer, Jack [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-09-13 15:00 Hammer, Jack
2004-09-13 14:28 Hammer, Jack
2004-09-13 14:42 ` Matthew Wilcox
2004-09-13 14:46 ` Arjan van de Ven
2004-09-11 22:01 Linux 2.4.28-pre3 Marcelo Tosatti
2004-09-13  7:03 ` 2.4.28-pre3: broken ips update Adrian Bunk
2004-09-13 14:24   ` Mikael Pettersson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A121ABA5B472B74EB59076B8E3C8F0197965F4@rtpe2k01.adaptec.com \
    --to=jack_hammer@adaptec.com \
    --cc=arjanv@redhat.com \
    --cc=bunk@fs.tum.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=marcelo.tosatti@cyclades.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®