public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Olaf Hering <olh@suse.de>
To: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
Cc: linux-kernel@vger.kernel.org,
	YOKOTA Hiroshi <yokota@netlab.is.tsukuba.ac.jp>,
	GOTO Masanori <gotom@debian.or.jp>
Subject: Re: Linux 2.4.23-pre7
Date: Fri, 10 Oct 2003 17:59:30 +0200	[thread overview]
Message-ID: <20031010155930.GA15496@suse.de> (raw)
In-Reply-To: <Pine.LNX.4.44.0310091939100.6403-100000@logos.cnet>

 On Thu, Oct 09, Marcelo Tosatti wrote:

> 
> Hi,
> 
> Here goes -pre7... 

This patch is required to compile the NinjaSCSI-32Bi Cardbus driver:


diff -purNX /suse/olh/kernel/kernel_exclude.txt linux-2.4.22/drivers/scsi/nsp32.h linux-2.4.23-pre7/drivers/scsi/nsp32.h
--- linux-2.4.22/drivers/scsi/nsp32.h   2003-10-10 17:40:05.000000000 +0200
+++ linux-2.4.23-pre7/drivers/scsi/nsp32.h      2003-10-10 16:08:10.000000000 +0200
@@ -642,10 +642,12 @@ typedef struct _nsp32_hw_data {
 # define scsi_host_put(host)            scsi_unregister(host)
 # define pci_name(pci_dev)              ((pci_dev)->slot_name)

+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,4,23))
 typedef void irqreturn_t;
 # define IRQ_NONE      /* */
 # define IRQ_HANDLED   /* */
 # define IRQ_RETVAL(x) /* */
+#endif

 /* This is ad-hoc version of scsi_host_get_next() */
 static inline struct Scsi_Host *scsi_host_get_next(struct Scsi_Host *host)

-- 
USB is for mice, FireWire is for men!

sUse lINUX ag, nÜRNBERG

  reply	other threads:[~2003-10-10 15:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-10  0:52 Linux 2.4.23-pre7 Marcelo Tosatti
2003-10-10 15:59 ` Olaf Hering [this message]
2003-10-11  1:58   ` GOTO Masanori
2003-10-10 16:23 ` Linux 2.4.23-pre7 (irda compile fixes) Olaf Hering
2003-10-11 19:16   ` David S. Miller
2003-10-11 14:44 ` 2.4.23-pre7: build error with both megaraid drivers enabled Adrian Bunk
2003-10-11 14:48   ` Matt Domsch
2003-10-11 15:30     ` [patch] " Adrian Bunk
2003-10-11 15:53       ` Matt Domsch

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=20031010155930.GA15496@suse.de \
    --to=olh@suse.de \
    --cc=gotom@debian.or.jp \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo.tosatti@cyclades.com \
    --cc=yokota@netlab.is.tsukuba.ac.jp \
    /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