public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@steeleye.com>
To: Christoph Hellwig <hch@infradead.org>
Cc: SCSI Mailing List <linux-scsi@vger.kernel.org>,
	Andrew Morton <akpm@digeo.com>,
	mjacob@feral.com
Subject: Re: Feral Qlogic ISP driver up for testing
Date: 15 May 2003 12:13:50 -0500	[thread overview]
Message-ID: <1053018832.2265.81.camel@mulgrave> (raw)
In-Reply-To: <20030515180341.A30444@infradead.org>

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

On Thu, 2003-05-15 at 12:03, Christoph Hellwig wrote:
> On Thu, May 15, 2003 at 11:58:41AM -0500, James Bottomley wrote:
> > I've taken Matthew Jacob's latest drop of the Feral ISP driver and put
> > it up under bitkeeper at
> > 
> > http://linux-scsi.bkbits.net/scsi-isp-2.5
> 
> Could ypu please submitt a diff for review?  Some people don't like to
> be lost in a maze of BK trees, all almost the same..

Well, it's all new files, there's not much to diff.

The tarball is here:

ftp://ftp.feral.com/pub/isp/isp_dist.tgz

(I think that corresponds to what I pulled out of the feral BK tree)
except that I flattened common, linux and firmware into a single
directory.

And the patches I did are below.

James


[-- Attachment #2: tmp.diff --]
[-- Type: text/plain, Size: 3913 bytes --]

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.1064  -> 1.1066 
#	drivers/scsi/isp/isp_linux.c	1.1     -> 1.2    
#	drivers/scsi/isp/isp_linux.h	1.1     -> 1.2    
#	drivers/scsi/Makefile	1.41    -> 1.42   
#	drivers/scsi/Kconfig	1.20    -> 1.21   
#	               (new)	        -> 1.1     drivers/scsi/isp/Makefile
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/05/15	jejb@raven.il.steeleye.com	1.1065
# Plumb the Feral ISP driver into the SCSI Builds
# --------------------------------------------
# 03/05/15	jejb@raven.il.steeleye.com	1.1066
# Update feral ISP driver to compile without warnings
# 
# add #include <linux/vmalloc.h> and convert to irqreturn_t
# --------------------------------------------
#
diff -Nru a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig
--- a/drivers/scsi/Kconfig	Thu May 15 12:12:52 2003
+++ b/drivers/scsi/Kconfig	Thu May 15 12:12:52 2003
@@ -1739,6 +1739,15 @@
 
 #      bool 'Cyberstorm Mk III SCSI support (EXPERIMENTAL)' CONFIG_CYBERSTORMIII_SCSI
 #      bool 'GVP Turbo 040/060 SCSI support (EXPERIMENTAL)' CONFIG_GVP_TURBO_SCSI
+
+config SCSI_FERAL_ISP
+	tristate "Feral ISP driver for 10x0/12x0/2x00"
+	depends on SCSI
+	help
+	  Feral Driver for the following qlogic ISP chips
+	  1020/1040/1080/1280/12160/2100/2200/2300
+	  If this doesn't work, there are other drivers for these chips
+	  below.
 endmenu
 
 source "drivers/scsi/pcmcia/Kconfig"
diff -Nru a/drivers/scsi/Makefile b/drivers/scsi/Makefile
--- a/drivers/scsi/Makefile	Thu May 15 12:12:52 2003
+++ b/drivers/scsi/Makefile	Thu May 15 12:12:52 2003
@@ -69,6 +69,7 @@
 obj-$(CONFIG_SCSI_NCR53C406A)	+= NCR53c406a.o
 obj-$(CONFIG_SCSI_NCR_D700)	+= NCR_D700.o 53c700.o
 obj-$(CONFIG_SCSI_SYM53C416)	+= sym53c416.o
+obj-$(CONFIG_SCSI_FERAL_ISP)	+= isp/
 obj-$(CONFIG_SCSI_QLOGIC_FAS)	+= qlogicfas.o
 obj-$(CONFIG_SCSI_QLOGIC_ISP)	+= qlogicisp.o 
 obj-$(CONFIG_SCSI_QLOGIC_FC)	+= qlogicfc.o 
diff -Nru a/drivers/scsi/isp/Makefile b/drivers/scsi/isp/Makefile
--- /dev/null	Wed Dec 31 16:00:00 1969
+++ b/drivers/scsi/isp/Makefile	Thu May 15 12:12:52 2003
@@ -0,0 +1,5 @@
+obj-y		+= isp_mod.o
+
+EXTRA_CFLAGS	+= -Idrivers/scsi
+
+isp_mod-y	+= isp_pci.o isp_linux.o isp.o isp_cb_ops.o isp_target.o
diff -Nru a/drivers/scsi/isp/isp_linux.c b/drivers/scsi/isp/isp_linux.c
--- a/drivers/scsi/isp/isp_linux.c	Thu May 15 12:12:51 2003
+++ b/drivers/scsi/isp/isp_linux.c	Thu May 15 12:12:52 2003
@@ -2241,7 +2241,7 @@
     ISP_IUNLK_SOFTC(isp);
 }
 
-void
+irqreturn_t
 isplinux_intr(int irq, void *arg, struct pt_regs *pt)
 {
     struct ispsoftc *isp = arg;
@@ -2253,7 +2253,7 @@
     if (ISP_READ_ISR(isp, &isr, &sema, &mbox) == 0) {
 	isp->isp_intbogus++;
 	ISP_IUNLK_SOFTC(isp);
-	return;
+	return IRQ_NONE;
     }
     isp_intr(isp, isr, sema, mbox);
     isplinux_runwaitq(isp);
@@ -2293,6 +2293,7 @@
 	}
 	ISP_UNLK_SCSI_DONE(isp);
     }
+    return IRQ_HANDLED;
 }
 
 static INLINE int
diff -Nru a/drivers/scsi/isp/isp_linux.h b/drivers/scsi/isp/isp_linux.h
--- a/drivers/scsi/isp/isp_linux.h	Thu May 15 12:12:52 2003
+++ b/drivers/scsi/isp/isp_linux.h	Thu May 15 12:12:52 2003
@@ -40,6 +40,8 @@
 #ifndef _ISP_LINUX_H
 #define _ISP_LINUX_H
 
+#include <linux/vmalloc.h>
+
 #ifndef	ISP_MODULE
 #define	__NO_VERSION__
 #endif
@@ -732,7 +734,7 @@
  */
 void isplinux_timer(unsigned long);
 void isplinux_mbtimer(unsigned long);
-void isplinux_intr(int, void *, struct pt_regs *);
+irqreturn_t isplinux_intr(int, void *, struct pt_regs *);
 void isplinux_common_init(struct ispsoftc *);
 #ifdef	CONFIG_PROC_FS
 void isplinux_init_proc(struct ispsoftc *);

  reply	other threads:[~2003-05-15 17:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-15 16:58 Feral Qlogic ISP driver up for testing James Bottomley
2003-05-15 17:03 ` Christoph Hellwig
2003-05-15 17:13   ` James Bottomley [this message]
2003-05-15 17:25     ` Matthew Jacob
2003-05-15 17:30       ` James Bottomley
2003-05-15 17:32         ` Matthew Jacob
2003-05-15 17:23 ` Matthew Jacob
2003-05-15 18:05   ` Christoph Hellwig

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=1053018832.2265.81.camel@mulgrave \
    --to=james.bottomley@steeleye.com \
    --cc=akpm@digeo.com \
    --cc=hch@infradead.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=mjacob@feral.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