patch-2.2.15 linux/drivers/scsi/esp.c
Next file: linux/drivers/scsi/hosts.c
Previous file: linux/drivers/scsi/atp870u.c
Back to the patch index
Back to the overall index
-  Lines: 21
-  Date:
Fri Apr 21 12:46:28 2000
-  Orig file: 
v2.2.14/drivers/scsi/esp.c
-  Orig date: 
Tue Jan  4 21:18:56 2000
diff -u --new-file --recursive --exclude-from ../../exclude v2.2.14/drivers/scsi/esp.c linux/drivers/scsi/esp.c
@@ -39,6 +39,8 @@
 #include <asm/idprom.h>
 #include <asm/spinlock.h>
 
+#include <linux/module.h>
+
 #define DEBUG_ESP
 /* #define DEBUG_ESP_HME */
 /* #define DEBUG_ESP_DATA */
@@ -4313,3 +4315,11 @@
 	spin_unlock_irqrestore(&io_request_lock, flags);
 }
 #endif
+
+#ifdef MODULE
+Scsi_Host_Template driver_template = SCSI_SPARC_ESP;
+
+#include "scsi_module.c"
+
+EXPORT_NO_SYMBOLS;
+#endif /* MODULE */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)