patch-2.4.1 linux/drivers/scsi/ibmmca.c
Next file: linux/drivers/scsi/megaraid.c
Previous file: linux/drivers/scsi/constants.c
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Sun Jan 28 16:08:00 2001
- Orig file:
v2.4.0/linux/drivers/scsi/ibmmca.c
- Orig date:
Thu Jan 4 12:37:14 2001
diff -u --recursive --new-file v2.4.0/linux/drivers/scsi/ibmmca.c linux/drivers/scsi/ibmmca.c
@@ -16,6 +16,7 @@
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0)
#error "This driver works only with kernel 2.4.0 or higher!"
#endif
+#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/ctype.h>
@@ -38,7 +39,7 @@
#include <linux/config.h>
/* current version of this driver-source: */
-#define IBMMCA_SCSI_DRIVER_VERSION "4.0a"
+#define IBMMCA_SCSI_DRIVER_VERSION "4.0b"
#define IBMLOCK spin_lock_irqsave(&io_request_lock, flags);
#define IBMUNLOCK spin_unlock_irqrestore(&io_request_lock, flags);
@@ -443,7 +444,6 @@
(that is kernel version 2.1.x) */
#if defined(MODULE)
static char *boot_options = NULL;
-#include <linux/module.h>
MODULE_PARM(boot_options, "s");
MODULE_PARM(io_port, "1-" __MODULE_STRING(IM_MAX_HOSTS) "i");
MODULE_PARM(scsi_id, "1-" __MODULE_STRING(IM_MAX_HOSTS) "i");
@@ -2563,9 +2563,6 @@
__setup("ibmmcascsi=", option_setup);
-#ifdef MODULE
-/* Eventually this will go into an include file, but this will be later */
-Scsi_Host_Template driver_template = IBMMCA;
+static Scsi_Host_Template driver_template = IBMMCA;
#include "scsi_module.c"
-#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)