[4272] in linux-scsi channel archive
Re: ncr53c8xx-3.0e ready for 2.2 [PATCH]
daemon@ATHENA.MIT.EDU (Kurt Garloff)
Wed Jul 1 23:15:31 1998
Date: Thu, 2 Jul 1998 05:12:23 +0200
From: Kurt Garloff <garloff@kg1.ping.de>
To: Gerard Roudier <groudier@club-internet.fr>, linux-scsi@vger.rutgers.edu
Mail-Followup-To: Gerard Roudier <groudier@club-internet.fr>,
linux-scsi@vger.rutgers.edu
In-Reply-To: <Pine.LNX.3.95.980630215618.891A-100000@localhost>; from Gerard Roudier on Tue, Jun 30, 1998 at 10:07:06PM +0200
Hi Gerard,
Great work!
I wish the driver I'm working on (tmscsim/am53c974) would work that well.
I found one minor problem, however:
modprobe/insmod from modutils-2.1.85 don't want to accept parameters.
Here's a patch:
--- linux/drivers/scsi/ncr53c8xx.c.30e Thu Jul 2 05:05:33 1998
+++ linux/drivers/scsi/ncr53c8xx.c Thu Jul 2 06:50:49 1998
@@ -762,7 +762,10 @@
driver_safe_setup __initdata = SCSI_NCR_DRIVER_SAFE_SETUP;
#ifdef MODULE
char *ncr53c8xx = 0; /* command line passed by insmod */
-#endif
+# if LINUX_VERSION_CODE >= LinuxVersionCode(2,1,30)
+MODULE_PARM(ncr53c8xx, "1s");
+# endif
+# endif
#endif
/*
I don't know, where exactly the MODULE_PARM feature was added; 2.1.30 is just a
guess ...
--
Kurt Garloff, Dortmund
<K.Garloff@ping.de>
PGP key on http://student.physik.uni-dortmund.de/homepages/garloff
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu