devices/8139too.c
changeset 382 72500991bcc3
parent 273 e7d4579617af
child 444 31223539fc00
--- a/devices/8139too.c	Thu Sep 28 12:58:06 2006 +0000
+++ b/devices/8139too.c	Thu Sep 28 13:22:43 2006 +0000
@@ -156,17 +156,17 @@
 /* EtherCAT >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
 
 #include "ecdev.h"
+#include "../master/globals.h"
 
 #define LIT(X) #X
 #define STR(X) LIT(X)
 
-#define COMPILE_INFO "Revision " STR(EC_REV) \
-                     ", compiled by " STR(EC_USER) \
-                     " at " __DATE__ " " __TIME__
+#define RTL8139_DRIVER_NAME DRV_NAME \
+                            " EtherCAT-capable Fast Ethernet driver " \
+                            DRV_VERSION ", master " EC_MASTER_VERSION
 
 /* EtherCAT <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/
 
-#define RTL8139_DRIVER_NAME   DRV_NAME " Fast Ethernet driver " DRV_VERSION
 #define PFX DRV_NAME ": "
 
 /* Default Message level */
@@ -674,7 +674,7 @@
 MODULE_AUTHOR("Florian Pose <fp@igh-essen.com>");
 MODULE_DESCRIPTION("RealTek RTL-8139 EtherCAT driver");
 MODULE_LICENSE("GPL");
-MODULE_VERSION(COMPILE_INFO);
+MODULE_VERSION(EC_MASTER_VERSION);
 
 /* EtherCAT <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/
 
@@ -2900,7 +2900,7 @@
 {
     /* EtherCAT >>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
 
-    printk(KERN_INFO RTL8139_DRIVER_NAME " " COMPILE_INFO "\n");
+    printk(KERN_INFO RTL8139_DRIVER_NAME "\n");
     printk(KERN_INFO "ec_device_index is %i\n", ec_device_index);
 
     if (pci_module_init(&rtl8139_pci_driver) < 0) {