patch-1.3.5 linux/drivers/scsi/ultrastor.c

Next file: linux/drivers/scsi/ultrastor.h
Previous file: linux/drivers/scsi/u14-34f.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.4/linux/drivers/scsi/ultrastor.c linux/drivers/scsi/ultrastor.c
@@ -124,12 +124,16 @@
  * Release ICM slot by clearing first byte on 24F.
  */
 
+#ifdef MODULE
+#include <linux/module.h>
+#endif
+
 #include <linux/stddef.h>
 #include <linux/string.h>
 #include <linux/sched.h>
 #include <linux/kernel.h>
 #include <linux/ioport.h>
-
+#include <linux/proc_fs.h>
 #include <asm/io.h>
 #include <asm/bitops.h>
 #include <asm/system.h>
@@ -1140,3 +1144,10 @@
     printk("USx4F: interrupt: returning\n");
 #endif
 }
+
+#ifdef MODULE
+/* Eventually this will go into an include file, but this will be later */
+Scsi_Host_Template driver_template = ULTRASTOR_14F;
+
+#include "scsi_module.c"
+#endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this