patch-2.4.5 linux/drivers/usb/microtek.c

Next file: linux/drivers/usb/net1080.c
Previous file: linux/drivers/usb/mdc800.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.4/linux/drivers/usb/microtek.c linux/drivers/usb/microtek.c
@@ -115,6 +115,7 @@
  *      20010311 Remove all timeouts and tidy up generally (john)
  *	20010320 check return value of scsi_register()
  *	20010320 Version 0.4.3
+ *	20010408 Identify version on module load.
  */
 
 #include <linux/module.h>
@@ -139,6 +140,13 @@
 
 #include "microtek.h"
 
+/*
+ * Version Information
+ */
+#define DRIVER_VERSION "v0.4.3"
+#define DRIVER_AUTHOR "John Fremlin <vii@penguinpowered.com>, Oliver Neukum <Oliver.Neukum@lrz.uni-muenchen.de>"
+#define DRIVER_DESC "Microtek Scanmaker X6 USB scanner driver"
+
 /* Should we do debugging? */
 
 //#define MTS_DO_DEBUG
@@ -1021,6 +1029,9 @@
 		MTS_DEBUG("driver registered.\n");
 	}
 
+	info(DRIVER_VERSION " " DRIVER_AUTHOR);
+	info(DRIVER_DESC);
+
 	return 0;
 }
 
@@ -1050,5 +1061,6 @@
 module_init(microtek_drv_init);
 module_exit(microtek_drv_exit);
 
-MODULE_AUTHOR("John Fremlin <vii@penguinpowered.com>, Oliver Neukum <Oliver.Neukum@lrz.uni-muenchen.de>");
-MODULE_DESCRIPTION("Microtek Scanmaker X6 USB scanner driver");
+MODULE_AUTHOR( DRIVER_AUTHOR );
+MODULE_DESCRIPTION( DRIVER_DESC );
+

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)