lkml.org 
[lkml]   [2003]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Linux 2.4.23-pre7
 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.041 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site