--- a/me8100.c Sat Jan 26 17:57:25 2002 +0100
+++ b/me8100.c Sat Jan 26 18:02:03 2002 +0100
@@ -46,6 +46,8 @@
*
*/
+#define VERSION_C "$Id$\n"
+
/*
* User application could also include the kernel header files. But the
@@ -300,7 +302,7 @@
major = result;
PDEBUG("init_module():Major = %d\n", major);
- create_proc_read_entry("me8100", 0, NULL, me8100_read_proc, NULL);
+ create_proc_read_entry("driver/me8100", 0, NULL, me8100_read_proc, NULL);
}
}
else{
@@ -2320,7 +2322,8 @@
int me8100_read_proc(char *buffer, char **start, off_t offset, int count, int *eof, void *data)
{
int len = 0;
- len += sprintf(buffer + len, "Version: $Id$\n");
+ len += sprintf(buffer + len, VERSION_H);
+ len += sprintf(buffer + len, VERSION_C);
*eof = 1;
return len;
}
--- a/me8100.h Sat Jan 26 17:57:25 2002 +0100
+++ b/me8100.h Sat Jan 26 18:02:03 2002 +0100
@@ -44,6 +44,7 @@
*
*/
+#define VERSION_H "$Id$\n"
/* Please define this to enable debug mode */
#undef ME8100_DEBUG