]> git.webhop.me Git - lcd4linux.git/commitdiff
[lcd4linux @ 2006-01-30 06:25:48 by reinelt]
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Mon, 30 Jan 2006 06:25:54 +0000 (06:25 +0000)
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Mon, 30 Jan 2006 06:25:54 +0000 (06:25 +0000)
added CVS Revision

git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@629 3ae390bd-cb1e-0410-b409-cd5a39f66f1f

27 files changed:
drv_BWCT.c
drv_BeckmannEgle.c
drv_Crystalfontz.c
drv_Curses.c
drv_Cwlinux.c
drv_G15.c
drv_HD44780.c
drv_Image.c
drv_LCD2USB.c
drv_LCDLinux.c
drv_LCDTerm.c
drv_LPH7508.c
drv_LUIse.c
drv_M50530.c
drv_MatrixOrbital.c
drv_MilfordInstruments.c
drv_NULL.c
drv_Noritake.c
drv_RouterBoard.c
drv_Sample.c
drv_SimpleLCD.c
drv_T6963.c
drv_Trefon.c
drv_USBLCD.c
drv_WincorNixdorf.c
drv_X11.c
drv_serdisplib.c

index 77207bbd9ce00190f8bd076806168b6e043a1c5e..c27e4f55d5691f0742c2e76fe27796d05c55b839 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: drv_BWCT.c,v 1.5 2006/01/05 15:53:45 nicowallmeier Exp $
+/* $Id: drv_BWCT.c,v 1.6 2006/01/30 06:25:48 reinelt Exp $
  *
  * new style driver for BWCT USB LCD displays
  *
@@ -23,6 +23,9 @@
  *
  *
  * $Log: drv_BWCT.c,v $
+ * Revision 1.6  2006/01/30 06:25:48  reinelt
+ * added CVS Revision
+ *
  * Revision 1.5  2006/01/05 15:53:45  nicowallmeier
  * fixed compatility with gcc 2.95
  *
@@ -326,6 +329,8 @@ int drv_BW_init(const char *section, const int quiet)
     int asc255bug;
     int ret;
 
+    info("%s: %s", Name, "$Revision: 1.6 $");
+
     /* display preferences */
     XRES = 5;                  /* pixel width of one char  */
     YRES = 8;                  /* pixel height of one char  */
index 07a6ca733a50e1d6886a09252c2833a4679843cc..5ce094e291559806464325226af4b58a93467f87 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: drv_BeckmannEgle.c,v 1.15 2005/05/08 04:32:44 reinelt Exp $
+/* $Id: drv_BeckmannEgle.c,v 1.16 2006/01/30 06:25:49 reinelt Exp $
  *
  * driver for Beckmann+Egle "Mini Terminals" and "Compact Terminals"
  * Copyright (C) 2000 Michael Reinelt <reinelt@eunet.at>
@@ -22,6 +22,9 @@
  *
  *
  * $Log: drv_BeckmannEgle.c,v $
+ * Revision 1.16  2006/01/30 06:25:49  reinelt
+ * added CVS Revision
+ *
  * Revision 1.15  2005/05/08 04:32:44  reinelt
  * CodingStyle added and applied
  *
@@ -693,6 +696,8 @@ int drv_BuE_init(const char *section, const int quiet)
     WIDGET_CLASS wc;
     int ret;
 
+    info("%s: %s", Name, "$Revision: 1.16 $");
+
     /* start display */
     if ((ret = drv_BuE_start(section)) != 0) {
        return ret;
index 31688cd499afa5cbcd5adc6b1cc99732a8ffc941..e97238eb011e16e7ff7e6534c95e5ee32abba5f5 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: drv_Crystalfontz.c,v 1.37 2006/01/06 08:12:19 reinelt Exp $
+/* $Id: drv_Crystalfontz.c,v 1.38 2006/01/30 06:25:49 reinelt Exp $
  *
  * new style driver for Crystalfontz display modules
  *
@@ -23,6 +23,9 @@
  *
  *
  * $Log: drv_Crystalfontz.c,v $
+ * Revision 1.38  2006/01/30 06:25:49  reinelt
+ * added CVS Revision
+ *
  * Revision 1.37  2006/01/06 08:12:19  reinelt
  * GPO's for Crystalfontz
  *
@@ -315,7 +318,8 @@ static void drv_CF_process_packet(void)
            } else if (Packet.data[1] < 4) {
                Fan_RPM[Packet.data[0]] = 0.0;
            } else {
-               Fan_RPM[Packet.data[0]] = (double) 27692308L *(Packet.data[1] - 3) / (Packet.data[2] + 256 * Packet.data[3]);
+               Fan_RPM[Packet.data[0]] =
+                   (double) 27692308L *(Packet.data[1] - 3) / (Packet.data[2] + 256 * Packet.data[3]);
            }
            break;
 
@@ -471,7 +475,8 @@ static void drv_CF_send(const unsigned char cmd, const unsigned char len, const
                /* this is the ack we're waiting for */
                if (0) {
                    gettimeofday(&end, NULL);
-                   debug("%s: ACK after %d usec", Name, 1000000 * (end.tv_sec - now.tv_sec) + end.tv_usec - now.tv_usec);
+                   debug("%s: ACK after %d usec", Name,
+                         1000000 * (end.tv_sec - now.tv_sec) + end.tv_usec - now.tv_usec);
                }
                break;
            } else {
@@ -733,7 +738,8 @@ static char *drv_CF_print_ROM(void)
     static char buffer[17];
 
     snprintf(buffer, sizeof(buffer), "0x%02x%02x%02x%02x%02x%02x%02x%02x",
-            Packet.data[1], Packet.data[2], Packet.data[3], Packet.data[4], Packet.data[5], Packet.data[6], Packet.data[7], Packet.data[8]);
+            Packet.data[1], Packet.data[2], Packet.data[3], Packet.data[4], Packet.data[5], Packet.data[6],
+            Packet.data[7], Packet.data[8]);
 
     return buffer;
 }
@@ -759,10 +765,12 @@ static int drv_CF_scan_DOW(unsigned char index)
                    /* no device found */
                    return 0;
                case 0x22:
-                   info("%s: 1-Wire device #%d: DS1822 temperature sensor found at %s", Name, Packet.data[0], drv_CF_print_ROM());
+                   info("%s: 1-Wire device #%d: DS1822 temperature sensor found at %s", Name, Packet.data[0],
+                        drv_CF_print_ROM());
                    return 1;
                case 0x28:
-                   info("%s: 1-Wire device #%d: DS18B20 temperature sensor found at %s", Name, Packet.data[0], drv_CF_print_ROM());
+                   info("%s: 1-Wire device #%d: DS18B20 temperature sensor found at %s", Name, Packet.data[0],
+                        drv_CF_print_ROM());
                    return 1;
                default:
                    info("%s: 1-Wire device #%d: unknown device found at %s", Name, Packet.data[0], drv_CF_print_ROM());
@@ -903,7 +911,8 @@ static int drv_CF_start(const char *section)
        return -1;
     }
     if (i != -1 && Model != i) {
-       error("%s: %s.Model '%s' from %s does not match detected model '%s'", Name, section, model, cfg_source(), Models[i].name);
+       error("%s: %s.Model '%s' from %s does not match detected model '%s'", Name, section, model, cfg_source(),
+             Models[i].name);
        return -1;
     }
 
@@ -1035,6 +1044,8 @@ int drv_CF_init(const char *section, const int quiet)
     WIDGET_CLASS wc;
     int ret;
 
+    info("%s: %s", Name, "$Revision: 1.38 $");
+
     /* start display */
     if ((ret = drv_CF_start(section)) != 0) {
        return ret;
index 31d018bdcd4f4221a9815ebb48e1f9c822f952db..fd8aac983fe0824a9a44bbd53c3b32c986b80d2c 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: drv_Curses.c,v 1.10 2005/05/08 04:32:44 reinelt Exp $
+/* $Id: drv_Curses.c,v 1.11 2006/01/30 06:25:49 reinelt Exp $
  *
  * pure ncurses based text driver
  *
@@ -26,6 +26,9 @@
  *
  *
  * $Log: drv_Curses.c,v $
+ * Revision 1.11  2006/01/30 06:25:49  reinelt
+ * added CVS Revision
+ *
  * Revision 1.10  2005/05/08 04:32:44  reinelt
  * CodingStyle added and applied
  *
@@ -277,6 +280,8 @@ int drv_Curs_init(const char *section, const int quiet)
     WIDGET_CLASS wc;
     int ret;
 
+    info("%s: %s", Name, "$Revision: 1.11 $");
+
     /* display preferences */
     XRES = 1;                  /* pixel width of one char  */
     YRES = 1;                  /* pixel height of one char  */
index 9df7e727131fefca1dac642931c46b41476e69d2..56856cd073c4e099cd10e637c877031ea8392373 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: drv_Cwlinux.c,v 1.23 2006/01/05 18:56:57 reinelt Exp $
+/* $Id: drv_Cwlinux.c,v 1.24 2006/01/30 06:25:49 reinelt Exp $
  *
  * new style driver for Cwlinux display modules
  *
@@ -23,6 +23,9 @@
  *
  *
  * $Log: drv_Cwlinux.c,v $
+ * Revision 1.24  2006/01/30 06:25:49  reinelt
+ * added CVS Revision
+ *
  * Revision 1.23  2006/01/05 18:56:57  reinelt
  * more GPO stuff
  *
@@ -239,7 +242,7 @@ static void drv_CW12232_defchar(const int ascii, const unsigned char *buffer)
 static int drv_CW_GPO(const int num, const int val)
 {
     /* Fixme: GPO's not yet implemented! */
-    error ("%s: GPO's not yet implemented!", Name);
+    error("%s: GPO's not yet implemented!", Name);
     return val;
 }
 
@@ -415,6 +418,8 @@ int drv_CW_init(const char *section, const int quiet)
     WIDGET_CLASS wc;
     int ret;
 
+    info("%s: %s", Name, "$Revision: 1.24 $");
+
     /* display preferences */
     XRES = 6;                  /* pixel width of one char  */
     YRES = 8;                  /* pixel height of one char  */
index e1efff43c9b4e6137a11683647804a12fd98d1aa..c4c5bbb36110fa0ad8f3fd3bfe4e25adf657c7e8 100644 (file)
--- a/drv_G15.c
+++ b/drv_G15.c
@@ -1,4 +1,4 @@
-/* $Id: drv_G15.c,v 1.3 2006/01/30 05:47:38 reinelt Exp $
+/* $Id: drv_G15.c,v 1.4 2006/01/30 06:25:49 reinelt Exp $
  *
  * Driver for Logitech G-15 keyboard LCD screen
  *
@@ -24,6 +24,9 @@
  *
  *
  * $Log: drv_G15.c,v $
+ * Revision 1.4  2006/01/30 06:25:49  reinelt
+ * added CVS Revision
+ *
  * Revision 1.3  2006/01/30 05:47:38  reinelt
  * graphic subsystem changed to full-color RGBA
  *
@@ -299,6 +302,8 @@ int drv_G15_init(const char *section, const int quiet)
     WIDGET_CLASS wc;
     int ret;
 
+    info("%s: %s", Name, "$Revision: 1.4 $");
+
     DEBUG("entered");
 
     /* real worker functions */
index f69816ece844990d47b2c5323043e65b7c83905c..25b3ce55b98f82622cf47ee5a01ae327f3866079 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: drv_HD44780.c,v 1.61 2006/01/05 19:27:26 reinelt Exp $
+/* $Id: drv_HD44780.c,v 1.62 2006/01/30 06:25:49 reinelt Exp $
  *
  * new style driver for HD44780-based displays
  *
@@ -32,6 +32,9 @@
  *
  *
  * $Log: drv_HD44780.c,v $
+ * Revision 1.62  2006/01/30 06:25:49  reinelt
+ * added CVS Revision
+ *
  * Revision 1.61  2006/01/05 19:27:26  reinelt
  * HD44780 power supply from parport
  *
@@ -387,7 +390,8 @@ static MODEL Models[] = {
 
 static int (*drv_HD_load) (const char *section);
 static void (*drv_HD_command) (const unsigned char controller, const unsigned char cmd, const unsigned long delay);
-static void (*drv_HD_data) (const unsigned char controller, const char *string, const int len, const unsigned long delay);
+static void (*drv_HD_data) (const unsigned char controller, const char *string, const int len,
+                           const unsigned long delay);
 static void (*drv_HD_stop) (void);
 
 
@@ -790,7 +794,7 @@ static int drv_HD_PP_load(const char *section)
        T_GPO_ST = 0;
        T_GPO_PW = 0;
     }
-    
+
     /* HD44780 execution timings [microseconds]
      * as these values differ from spec to spec,
      * we use the worst-case default values, but allow
@@ -803,7 +807,7 @@ static int drv_HD_PP_load(const char *section)
     T_CLEAR = timing(Name, section, "CLEAR", 2250, "us");      /* Clear Display */
     T_HOME = timing(Name, section, "HOME", 2250, "us");        /* Return Cursor Home */
     T_ONOFF = timing(Name, section, "ONOFF", 2250, "us");      /* Display On/Off Control */
-    
+
     /* Power-on delay */
     if (SIGNAL_POWER != 0) {
        T_POWER = timing(Name, section, "POWER", 500, "ms");
@@ -813,7 +817,7 @@ static int drv_HD_PP_load(const char *section)
 
     /* clear all signals */
     if (Bits == 8) {
-       drv_generic_parport_control(SIGNAL_RS | SIGNAL_RW | 
+       drv_generic_parport_control(SIGNAL_RS | SIGNAL_RW |
                                    SIGNAL_ENABLE | SIGNAL_ENABLE2 | SIGNAL_ENABLE3 | SIGNAL_ENABLE4 |
                                    SIGNAL_BACKLIGHT | SIGNAL_GPO | SIGNAL_POWER, 0);
     } else {
@@ -827,7 +831,7 @@ static int drv_HD_PP_load(const char *section)
     /* raise power pin */
     if (SIGNAL_POWER != 0) {
        drv_generic_parport_control(SIGNAL_POWER, SIGNAL_POWER);
-       udelay (1000*T_POWER);
+       udelay(1000 * T_POWER);
     }
 
     /* initialize *all* controllers */
@@ -881,7 +885,8 @@ static void drv_HD_PP_stop(void)
     /* clear all signals */
     if (Bits == 8) {
        drv_generic_parport_control(SIGNAL_RS |
-                                   SIGNAL_RW | SIGNAL_ENABLE | SIGNAL_ENABLE2 | SIGNAL_ENABLE3 | SIGNAL_ENABLE4 | SIGNAL_BACKLIGHT | SIGNAL_GPO, 0);
+                                   SIGNAL_RW | SIGNAL_ENABLE | SIGNAL_ENABLE2 | SIGNAL_ENABLE3 | SIGNAL_ENABLE4 |
+                                   SIGNAL_BACKLIGHT | SIGNAL_GPO, 0);
     } else {
        drv_generic_parport_data(0);
        drv_generic_parport_control(SIGNAL_BACKLIGHT | SIGNAL_GPO | SIGNAL_POWER, 0);
@@ -1068,7 +1073,8 @@ static int drv_HD_goto(int row, int col)
        return -1;
 
     if (0) {
-       debug("goto: [%d,%d] mask=%d, controller=%d, size:%dx%d", row, col, currController, controller, CROWS[controller], CCOLS[controller]);
+       debug("goto: [%d,%d] mask=%d, controller=%d, size:%dx%d", row, col, currController, controller,
+             CROWS[controller], CCOLS[controller]);
     }
 
     /* 16x1 Displays are organized as 8x2 :-( */
@@ -1477,6 +1483,8 @@ int drv_HD_init(const char *section, const int quiet)
     int asc255bug;
     int ret;
 
+    info("%s: %s", Name, "$Revision: 1.62 $");
+
     /* display preferences */
     XRES = 5;                  /* pixel width of one char  */
     YRES = 8;                  /* pixel height of one char  */
index bcc41e9c543b924b1a1b1753c5d3c6bdfd8766e0..a813a3c317b574474cf6c87bed3ac3c325379ed0 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: drv_Image.c,v 1.14 2006/01/30 05:47:38 reinelt Exp $
+/* $Id: drv_Image.c,v 1.15 2006/01/30 06:25:52 reinelt Exp $
  *
  * new style Image (PPM/PNG) Driver for LCD4Linux 
  *
@@ -23,6 +23,9 @@
  *
  *
  * $Log: drv_Image.c,v $
+ * Revision 1.15  2006/01/30 06:25:52  reinelt
+ * added CVS Revision
+ *
  * Revision 1.14  2006/01/30 05:47:38  reinelt
  * graphic subsystem changed to full-color RGBA
  *
@@ -517,6 +520,8 @@ int drv_IMG_init(const char *section, const __attribute__ ((unused))
     WIDGET_CLASS wc;
     int ret;
 
+    info("%s: %s", Name, "$Revision: 1.15 $");
+
     /* real worker functions */
     drv_generic_graphic_real_blit = drv_IMG_blit;
 
index 31c66451cadc6363f108e99b45889d8c39e9e920..dc7f380cfa9ef8ce9c65036bc2c606ec98fa37f7 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: drv_LCD2USB.c,v 1.2 2006/01/28 15:36:17 harbaum Exp $
+/* $Id: drv_LCD2USB.c,v 1.3 2006/01/30 06:25:52 reinelt Exp $
  *
  * driver for USB2LCD display interface
  * see http://www.harbaum.org/till/lcd2usb for schematics
@@ -24,6 +24,9 @@
  *
  * 
  * $Log: drv_LCD2USB.c,v $
+ * Revision 1.3  2006/01/30 06:25:52  reinelt
+ * added CVS Revision
+ *
  * Revision 1.2  2006/01/28 15:36:17  harbaum
  * Fix: string termination bug in eval()
  *
@@ -402,6 +405,8 @@ int drv_L2U_init(const char *section, const int quiet)
     int asc255bug;
     int ret;
 
+    info("%s: %s", Name, "$Revision: 1.3 $");
+
     /* display preferences */
     XRES = 5;                  /* pixel width of one char  */
     YRES = 8;                  /* pixel height of one char  */
index 78e0f0321616338e2666f8d53831a179bab11cf3..7f2ec5fcb56a1ac4e63b5a100d15ba0319d5345f 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: drv_LCDLinux.c,v 1.11 2006/01/18 11:49:48 reinelt Exp $
+/* $Id: drv_LCDLinux.c,v 1.12 2006/01/30 06:25:52 reinelt Exp $
  *
  * driver for the LCD-Linux HD44780 kernel driver
  * http://lcd-linux.sourceforge.net
@@ -24,6 +24,9 @@
  *
  *
  * $Log: drv_LCDLinux.c,v $
+ * Revision 1.12  2006/01/30 06:25:52  reinelt
+ * added CVS Revision
+ *
  * Revision 1.11  2006/01/18 11:49:48  reinelt
  * adopted to lcd-linux-0.9.2
  *
@@ -199,7 +202,8 @@ static int drv_LL_start(const char *section, const int quiet)
        error("%s: Could not query display information!", Name);
        return -1;
     }
-    info("%s: %dx%d display with %d controllers, flags=0x%02x:", Name, buf.cntr_cols, buf.cntr_rows, buf.num_cntr, buf.flags);
+    info("%s: %dx%d display with %d controllers, flags=0x%02x:", Name, buf.cntr_cols, buf.cntr_rows, buf.num_cntr,
+        buf.flags);
 
     info("%s:   busy-flag checking %sabled", Name, buf.flags & HD44780_CHECK_BF ? "en" : "dis");
     info("%s:   bus width %d bits", Name, buf.flags & HD44780_4BITS_BUS ? 4 : 8);
@@ -293,6 +297,8 @@ int drv_LL_init(const char *section, const int quiet)
     int asc255bug;
     int ret;
 
+    info("%s: %s", Name, "$Revision: 1.12 $");
+
     /* display preferences */
     XRES = 5;                  /* pixel width of one char  */
     YRES = 8;                  /* pixel height of one char  */
index 133079e561cf8818f37f13755e1a8b4dd2e0e46f..851b9d584ff58078d83d6b88732210e352dfed61 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: drv_LCDTerm.c,v 1.4 2005/05/08 04:32:44 reinelt Exp $
+/* $Id: drv_LCDTerm.c,v 1.5 2006/01/30 06:25:52 reinelt Exp $
  *
  * driver for the LCDTerm serial-to-HD44780 adapter boards
  * http://www.bobblick.com/techref/projects/lcdterm/lcdterm.html
@@ -24,6 +24,9 @@
  *
  *
  * $Log: drv_LCDTerm.c,v $
+ * Revision 1.5  2006/01/30 06:25:52  reinelt
+ * added CVS Revision
+ *
  * Revision 1.4  2005/05/08 04:32:44  reinelt
  * CodingStyle added and applied
  *
@@ -211,6 +214,8 @@ int drv_LT_init(const char *section, const int quiet)
     int asc255bug;
     int ret;
 
+    info("%s: %s", Name, "$Revision: 1.5 $");
+
     /* display preferences */
     XRES = 5;                  /* pixel width of one char  */
     YRES = 8;                  /* pixel height of one char  */
index 58017a861b3d2f90d1aa1d6ec44630ef5c6df590..f49b9a5f83e514be52aa3de49e6628d0ae26488d 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: drv_LPH7508.c,v 1.7 2006/01/30 05:47:38 reinelt Exp $
+/* $Id: drv_LPH7508.c,v 1.8 2006/01/30 06:25:53 reinelt Exp $
  *
  * driver for Pollin LPH7508
  *
@@ -23,6 +23,9 @@
  *
  *
  * $Log: drv_LPH7508.c,v $
+ * Revision 1.8  2006/01/30 06:25:53  reinelt
+ * added CVS Revision
+ *
  * Revision 1.7  2006/01/30 05:47:38  reinelt
  * graphic subsystem changed to full-color RGBA
  *
@@ -492,6 +495,8 @@ int drv_L7_init(const char *section, const int quiet)
     WIDGET_CLASS wc;
     int ret;
 
+    info("%s: %s", Name, "$Revision: 1.8 $");
+
     /* real worker functions */
     drv_generic_graphic_real_blit = drv_L7_blit;
     drv_generic_gpio_real_set = drv_L7_GPO;
index be7b2bd5e5ebdf84f193dff898b90e081b9b078d..781479106a854bf53bda00a81cab5f6bb679e30e 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: drv_LUIse.c,v 1.2 2006/01/06 16:56:49 tooly-bln Exp $
+/* $Id: drv_LUIse.c,v 1.3 2006/01/30 06:25:53 reinelt Exp $
  *
  * LUIse lcd4linux driver
  *
@@ -23,6 +23,9 @@
  *
  *
  * $Log: drv_LUIse.c,v $
+ * Revision 1.3  2006/01/30 06:25:53  reinelt
+ * added CVS Revision
+ *
  * Revision 1.2  2006/01/06 16:56:49  tooly-bln
  * *** empty log message ***
  *
@@ -291,6 +294,8 @@ int drv_LUIse_init(const char *section, const int quiet)
     WIDGET_CLASS wc;
     int ret;
 
+    info("%s: %s", Name, "$Revision: 1.3 $");
+
     /* real worker functions */
     drv_generic_graphic_real_blit = drv_LUIse_blit;
 
index 3e792c858a11612a28db00cdea00a57e380bdc05..5b599eba8537fa01e9efc92ae15fc9964a16729c 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: drv_M50530.c,v 1.20 2006/01/05 18:56:57 reinelt Exp $
+/* $Id: drv_M50530.c,v 1.21 2006/01/30 06:25:53 reinelt Exp $
  *
  * new style driver for M50530-based displays
  *
@@ -23,6 +23,9 @@
  *
  *
  * $Log: drv_M50530.c,v $
+ * Revision 1.21  2006/01/30 06:25:53  reinelt
+ * added CVS Revision
+ *
  * Revision 1.20  2006/01/05 18:56:57  reinelt
  * more GPO stuff
  *
@@ -182,7 +185,8 @@ static void drv_M5_command(const unsigned int cmd, const int delay)
 
     /* set I/OC1 */
     /* set I/OC2 */
-    drv_generic_parport_control(SIGNAL_IOC1 | SIGNAL_IOC2, (cmd & 0x100 ? SIGNAL_IOC1 : 0) | (cmd & 0x200 ? SIGNAL_IOC2 : 0));
+    drv_generic_parport_control(SIGNAL_IOC1 | SIGNAL_IOC2,
+                               (cmd & 0x100 ? SIGNAL_IOC1 : 0) | (cmd & 0x200 ? SIGNAL_IOC2 : 0));
 
     /* Control data setup time */
     ndelay(200);
@@ -331,7 +335,8 @@ static int drv_M5_start(const char *section, const int quiet)
 
 
     if (DCOLS * DROWS > 256) {
-       error("%s: %s.Size '%dx%d' is too big, would require %d bytes", Name, section, DCOLS, DROWS, DCOLS * DROWS, cfg_source());
+       error("%s: %s.Size '%dx%d' is too big, would require %d bytes", Name, section, DCOLS, DROWS, DCOLS * DROWS,
+             cfg_source());
        return -1;
     } else if (DCOLS * DROWS > 224) {
        DDRAM = 256;
@@ -530,6 +535,8 @@ int drv_M5_init(const char *section, const int quiet)
     WIDGET_CLASS wc;
     int ret;
 
+    info("%s: %s", Name, "$Revision: 1.21 $");
+
     /* display preferences */
     XRES = -1;                 /* pixel width of one char  */
     YRES = -1;                 /* pixel height of one char  */
index 0a8976cb7642bfe06a97e3933ed5c82c44761eed..93e813dd0031d37797d88e76a448891ae22e5c56 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: drv_MatrixOrbital.c,v 1.41 2006/01/05 18:56:57 reinelt Exp $
+/* $Id: drv_MatrixOrbital.c,v 1.42 2006/01/30 06:25:53 reinelt Exp $
  *
  * new style driver for Matrix Orbital serial display modules
  *
@@ -23,6 +23,9 @@
  *
  *
  * $Log: drv_MatrixOrbital.c,v $
+ * Revision 1.42  2006/01/30 06:25:53  reinelt
+ * added CVS Revision
+ *
  * Revision 1.41  2006/01/05 18:56:57  reinelt
  * more GPO stuff
  *
@@ -394,7 +397,8 @@ static int drv_MO_GPI(const int num)
            if (ans[0] == 0x23 && ans[1] == 0x2a && ans[2] == 0x03 && ans[3] == 0x52 && ans[4] == num + 1) {
                GPI[num] = 18750000 / (256 * ans[5] + ans[6]);
            } else {
-               error("%s: strange answer %02x %02x %02x %02x %02x %02x %02x", Name, ans[0], ans[1], ans[2], ans[3], ans[4], ans[5], ans[6]);
+               error("%s: strange answer %02x %02x %02x %02x %02x %02x %02x", Name, ans[0], ans[1], ans[2], ans[3],
+                     ans[4], ans[5], ans[6]);
            }
        }
     }
@@ -493,7 +497,8 @@ static int drv_MO_start(const char *section, const int quiet)
 
            /* auto-dedection matches specified model? */
            if (Models[i].type != 0xff && Model != i) {
-               error("%s: %s.Model '%s' from %s does not match dedected Model '%s'", Name, section, model, cfg_source(), Models[i].name);
+               error("%s: %s.Model '%s' from %s does not match dedected Model '%s'", Name, section, model,
+                     cfg_source(), Models[i].name);
                return -1;
            }
 
@@ -632,6 +637,8 @@ int drv_MO_init(const char *section, const int quiet)
     WIDGET_CLASS wc;
     int ret;
 
+    info("%s: %s", Name, "$Revision: 1.42 $");
+
     /* display preferences */
     XRES = 5;                  /* pixel width of one char  */
     YRES = 8;                  /* pixel height of one char  */
index c18def3a5bc4c789faf2c3e98952d9ac77f60dc2..ca056ece8aa1947ca78ad8e0e1b1357a18112a5f 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: drv_MilfordInstruments.c,v 1.14 2005/05/08 04:32:44 reinelt Exp $
+/* $Id: drv_MilfordInstruments.c,v 1.15 2006/01/30 06:25:53 reinelt Exp $
  *
  * driver for Milford Instruments 'BPK' piggy-back serial interface board
  * for standard Hitachi 44780 compatible lcd modules.
@@ -27,6 +27,9 @@
  *
  *
  * $Log: drv_MilfordInstruments.c,v $
+ * Revision 1.15  2006/01/30 06:25:53  reinelt
+ * added CVS Revision
+ *
  * Revision 1.14  2005/05/08 04:32:44  reinelt
  * CodingStyle added and applied
  *
@@ -252,6 +255,8 @@ int drv_MI_init(const char *section, const int quiet)
     WIDGET_CLASS wc;
     int ret;
 
+    info("%s: %s", Name, "$Revision: 1.15 $");
+
     /* display preferences */
     XRES = 5;                  /* pixel width of one char  */
     YRES = 8;                  /* pixel height of one char  */
index ee128ed19c39d23c03782aa8b3bebadf83d39c93..6e2c084fcd69b788c19a598da5dfbf071224aa4b 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: drv_NULL.c,v 1.8 2005/05/08 04:32:44 reinelt Exp $
+/* $Id: drv_NULL.c,v 1.9 2006/01/30 06:25:53 reinelt Exp $
  *
  * NULL driver (for testing)
  *
@@ -23,6 +23,9 @@
  *
  *
  * $Log: drv_NULL.c,v $
+ * Revision 1.9  2006/01/30 06:25:53  reinelt
+ * added CVS Revision
+ *
  * Revision 1.8  2005/05/08 04:32:44  reinelt
  * CodingStyle added and applied
  *
@@ -164,6 +167,8 @@ int drv_NULL_init(const char *section, const __attribute__ ((unused))
     WIDGET_CLASS wc;
     int ret;
 
+    info("%s: %s", Name, "$Revision: 1.9 $");
+
     /* display preferences */
     XRES = 6;                  /* pixel width of one char  */
     YRES = 8;                  /* pixel height of one char  */
index 048b3d9f9081d84719da190ab5c9af5792b1a2e9..9aec59e492b1d23c394cd261499ee4e378e893ba 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: drv_Noritake.c,v 1.4 2005/05/08 04:32:44 reinelt Exp $
+/* $Id: drv_Noritake.c,v 1.5 2006/01/30 06:25:53 reinelt Exp $
  * 
  * Driver for a Noritake GU128x32-311 graphical display.
  * 
@@ -22,6 +22,9 @@
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  *
  * $Log: drv_Noritake.c,v $
+ * Revision 1.5  2006/01/30 06:25:53  reinelt
+ * added CVS Revision
+ *
  * Revision 1.4  2005/05/08 04:32:44  reinelt
  * CodingStyle added and applied
  *
@@ -121,8 +124,8 @@ static unsigned char SIGNAL_CS;     /* Chip select, OUTPUT, negative logic, pport AU
 static unsigned char SIGNAL_WR;        /* Write        OUTPUT, negative logic, pport STOBE */
 static unsigned char SIGNAL_RESET;     /* Reset,       OUTPUT, negative logic, pport INIT */
 static unsigned char SIGNAL_BLANK;     /* Blank,       OUTPUT , negative logic, pport SELECT-IN */
-                                                                                                                                                                                                                                         /* static unsigned char SIGNAL_BUSY; *//* Busy,        INPUT , positive logic, pport BUSY, not used */
-                                                                                                                                                                                                                                    /* static unsigned char SIGNAL_FRP; *//* Frame Pulse, INPUT , positive logic, pport ACK, not used */
+                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                /* static unsigned char SIGNAL_BUSY; *//* Busy,        INPUT , positive logic, pport BUSY, not used */
+                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          /* static unsigned char SIGNAL_FRP; *//* Frame Pulse, INPUT , positive logic, pport ACK, not used */
 void (*drv_Noritake_clear) (void);
 
 /* Data port is positive logic */
@@ -342,6 +345,8 @@ int drv_Noritake_init(const char *section, const int quiet)
     WIDGET_CLASS wc;
     int ret;
 
+    info("%s: %s", Name, "$Revision: 1.5 $");
+
     /* start display */
     if ((ret = drv_Noritake_start(section)) != 0)
        return ret;
index cc5532e05a9c9b75dcb366ee13fad61712554ff4..75f5c736e7de604a4bdbac5e0a4abc391412381e 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: drv_RouterBoard.c,v 1.6 2006/01/06 07:06:57 reinelt Exp $
+/* $Id: drv_RouterBoard.c,v 1.7 2006/01/30 06:25:53 reinelt Exp $
  *
  * driver for the "Router Board LCD port" 
  * see port details at http://www.routerboard.com
@@ -26,6 +26,9 @@
  *
  *
  * $Log: drv_RouterBoard.c,v $
+ * Revision 1.7  2006/01/30 06:25:53  reinelt
+ * added CVS Revision
+ *
  * Revision 1.6  2006/01/06 07:06:57  reinelt
  * GPO's for RouterBoard
  *
@@ -261,10 +264,10 @@ static void drv_RB_poll_data(void __attribute__ ((unused)) * notused)
 #endif
 
 
-static void drv_RB_outw (const unsigned int data)
+static void drv_RB_outw(const unsigned int data)
 {
     static unsigned int port = 0;
-    
+
     /* IOCS0 port number can read from PCI Configuration Space Function 0 (F0) */
     /* at index 74h as 16 bit value (see [GEODE] 5.3.1 pg.151 and pg.176 Table 5-29 */
     if (port == 0) {
@@ -277,14 +280,14 @@ static void drv_RB_outw (const unsigned int data)
     outw(data | RB_Leds, port);
 }
 
-    
+
 static int drv_RB_backlight(int backlight)
 {
     /* -1 is used to query  the current Backlight */
     if (backlight == -1) {
        return (RB_Leds & LCD_BACKLIGHT) ? 1 : 0;
     }
-    
+
     if (backlight > 0) {
        /* set bit */
        RB_Leds |= LCD_BACKLIGHT;
@@ -411,7 +414,7 @@ static int drv_RB_GPO(const int num, const int val)
     RB_Leds |= GPO << 12;
 
     drv_RB_outw(0);
-    
+
     return v;
 }
 
@@ -466,7 +469,6 @@ static int drv_RB_start(const char *section, const int quiet)
     if (GPOS > 0) {
        info("%s: using %d GPO's", Name, GPOS);
     }
-
 #ifdef RB_WITH_LEDS
 
     if (drv_RB_sock_init() < 0) {
@@ -568,6 +570,8 @@ int drv_RB_init(const char *section, const int quiet)
     int asc255bug;
     int ret;
 
+    info("%s: %s", Name, "$Revision: 1.7 $");
+
     /* display preferences */
     XRES = 5;                  /* pixel width of one char  */
     YRES = 8;                  /* pixel height of one char  */
@@ -648,7 +652,6 @@ int drv_RB_quit(const int quiet)
     if (!quiet) {
        drv_generic_text_greet("goodbye!", NULL);
     }
-
 #ifdef RB_WITH_LEDS
     close(sock_c);
     free(sacl);                        /*close network socket */
index d91948c2412109f6aa20bc17113c563545effa23..23e73329f0fbc1ae12fbf0883001b26e5690875c 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: drv_Sample.c,v 1.4 2006/01/30 05:47:38 reinelt Exp $
+/* $Id: drv_Sample.c,v 1.5 2006/01/30 06:25:53 reinelt Exp $
  *
  * sample lcd4linux driver
  *
@@ -23,6 +23,9 @@
  *
  *
  * $Log: drv_Sample.c,v $
+ * Revision 1.5  2006/01/30 06:25:53  reinelt
+ * added CVS Revision
+ *
  * Revision 1.4  2006/01/30 05:47:38  reinelt
  * graphic subsystem changed to full-color RGBA
  *
@@ -433,6 +436,8 @@ int drv_Sample_init(const char *section, const int quiet)
     WIDGET_CLASS wc;
     int ret;
 
+    info("%s: %s", Name, "$Revision: 1.5 $");
+
     /* display preferences */
     XRES = 5;                  /* pixel width of one char  */
     YRES = 8;                  /* pixel height of one char  */
index 612fd28b48e37b4f2200298d2296ccdaa5434886..1e7b80738837bb14434c4354c2820e90f5bd22fa 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: drv_SimpleLCD.c,v 1.6 2005/08/22 05:44:43 reinelt Exp $
+/* $Id: drv_SimpleLCD.c,v 1.7 2006/01/30 06:25:53 reinelt Exp $
  * 
  * driver for a simple serial terminal.
  * 
@@ -22,6 +22,9 @@
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  *
  * $Log: drv_SimpleLCD.c,v $
+ * Revision 1.7  2006/01/30 06:25:53  reinelt
+ * added CVS Revision
+ *
  * Revision 1.6  2005/08/22 05:44:43  reinelt
  * new driver 'WincorNixdorf'
  * some fixes to the bar code
@@ -305,6 +308,8 @@ int drv_SL_init(const char *section, const int quiet)
     WIDGET_CLASS wc;
     int ret;
 
+    info("%s: %s", Name, "$Revision: 1.7 $");
+
     /* display preferences */
     XRES = 5;                  /* pixel width of one char  */
     YRES = 8;                  /* pixel height of one char  */
index ad256eb8ea2ba00c1d049f32cfc571b081a2366e..9cc64dd41d7a11442cab632770d1657656285388 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: drv_T6963.c,v 1.17 2006/01/30 05:47:38 reinelt Exp $
+/* $Id: drv_T6963.c,v 1.18 2006/01/30 06:25:54 reinelt Exp $
  *
  * new style driver for T6963-based displays
  *
@@ -23,6 +23,9 @@
  *
  *
  * $Log: drv_T6963.c,v $
+ * Revision 1.18  2006/01/30 06:25:54  reinelt
+ * added CVS Revision
+ *
  * Revision 1.17  2006/01/30 05:47:38  reinelt
  * graphic subsystem changed to full-color RGBA
  *
@@ -597,6 +600,8 @@ int drv_T6_init(const char *section, const int quiet)
     WIDGET_CLASS wc;
     int ret;
 
+    info("%s: %s", Name, "$Revision: 1.18 $");
+
     /* real worker functions */
     drv_generic_graphic_real_blit = drv_T6_blit;
 
index 6f4682c4c41a79ead45f282b2e6136f09437a647..1dfb2437ae67be570a3d65ee4c8e368dbef9dcf7 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: drv_Trefon.c,v 1.5 2005/08/21 08:18:56 reinelt Exp $
+/* $Id: drv_Trefon.c,v 1.6 2006/01/30 06:25:54 reinelt Exp $
  *
  * driver for TREFON USB LCD displays - http://www.trefon.de
  *
@@ -23,6 +23,9 @@
  *
  *
  * $Log: drv_Trefon.c,v $
+ * Revision 1.6  2006/01/30 06:25:54  reinelt
+ * added CVS Revision
+ *
  * Revision 1.5  2005/08/21 08:18:56  reinelt
  * CrystalFontz ACK processing
  *
@@ -348,6 +351,8 @@ int drv_TF_init(const char *section, const int quiet)
     int asc255bug;
     int ret;
 
+    info("%s: %s", Name, "$Revision: 1.6 $");
+
     /* display preferences */
     XRES = 5;                  /* pixel width of one char  */
     YRES = 8;                  /* pixel height of one char  */
index dd179c351d9d61a732fb05110f2ccef85f401bb9..f59ca8dbff23a42a3d61e0e11228eb5f9278ced3 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: drv_USBLCD.c,v 1.23 2005/05/08 04:32:44 reinelt Exp $
+/* $Id: drv_USBLCD.c,v 1.24 2006/01/30 06:25:54 reinelt Exp $
  *
  * new style driver for USBLCD displays
  *
@@ -26,6 +26,9 @@
  *
  *
  * $Log: drv_USBLCD.c,v $
+ * Revision 1.24  2006/01/30 06:25:54  reinelt
+ * added CVS Revision
+ *
  * Revision 1.23  2005/05/08 04:32:44  reinelt
  * CodingStyle added and applied
  *
@@ -501,6 +504,8 @@ int drv_UL_init(const char *section, const int quiet)
     int asc255bug;
     int ret;
 
+    info("%s: %s", Name, "$Revision: 1.24 $");
+
     /* display preferences */
     XRES = 5;                  /* pixel width of one char  */
     YRES = 8;                  /* pixel height of one char  */
index 0a829dbdecc95db97de156e36b2ba74913d538c6..55126acb608e730286dbf230461138ce9b39a9ec 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: drv_WincorNixdorf.c,v 1.1 2005/08/22 05:44:43 reinelt Exp $
+/* $Id: drv_WincorNixdorf.c,v 1.2 2006/01/30 06:25:54 reinelt Exp $
  * 
  * driver for WincorNixdorf serial cashier displays BA63 and BA66
  * 
@@ -25,6 +25,9 @@
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  *
  * $Log: drv_WincorNixdorf.c,v $
+ * Revision 1.2  2006/01/30 06:25:54  reinelt
+ * added CVS Revision
+ *
  * Revision 1.1  2005/08/22 05:44:43  reinelt
  * new driver 'WincorNixdorf'
  * some fixes to the bar code
@@ -205,15 +208,16 @@ int drv_WN_init(const char *section, const int quiet)
     int ascii;
     int ret;
 
+    info("%s: %s", Name, "$Revision: 1.2 $");
+
     /* display preferences */
     XRES = 5;                  /* pixel width of one char  */
     YRES = 7;                  /* pixel height of one char  */
     CHARS = 0;                 /* number of user-defineable characters */
     CHAR0 = 0;                 /* ASCII of first user-defineable char */
-    ICONS = 0;                  /* number of user-defineable characters reserved for icons */
+    ICONS = 0;                 /* number of user-defineable characters reserved for icons */
     GOTO_COST = 6;             /* number of bytes a goto command requires */
 
-
     /* start display */
     if ((ret = drv_WN_start(section, quiet)) != 0)
        return ret;
index 297ac32a1ef555c49e155565d9012bfeadef828f..8705b9d042e61b475456b6e90c1fa0f9fe962328 100644 (file)
--- a/drv_X11.c
+++ b/drv_X11.c
@@ -1,4 +1,4 @@
-/* $Id: drv_X11.c,v 1.14 2006/01/30 06:17:17 reinelt Exp $
+/* $Id: drv_X11.c,v 1.15 2006/01/30 06:25:54 reinelt Exp $
  *
  * new style X11 Driver for LCD4Linux 
  *
@@ -26,6 +26,9 @@
  *
  *
  * $Log: drv_X11.c,v $
+ * Revision 1.15  2006/01/30 06:25:54  reinelt
+ * added CVS Revision
+ *
  * Revision 1.14  2006/01/30 06:17:17  reinelt
  * added CVS Revision
  *
@@ -386,7 +389,7 @@ int drv_X11_init(const char *section, const int quiet)
     WIDGET_CLASS wc;
     int ret;
 
-    info("%s: Revision %s", Name, "$Revision: 1.14 $");
+    info("%s: %s", Name, "$Revision: 1.15 $");
 
     /* start display */
     if ((ret = drv_X11_start(section)) != 0)
index 2ae02bf63e9c1505d38068603e2342a6e281f32c..d8e98f8944115cbfdaddc3271294ae30c5bbacd4 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: drv_serdisplib.c,v 1.6 2006/01/30 05:47:38 reinelt Exp $
+/* $Id: drv_serdisplib.c,v 1.7 2006/01/30 06:25:54 reinelt Exp $
  *
  * driver for serdisplib displays
  *
@@ -23,6 +23,9 @@
  *
  *
  * $Log: drv_serdisplib.c,v $
+ * Revision 1.7  2006/01/30 06:25:54  reinelt
+ * added CVS Revision
+ *
  * Revision 1.6  2006/01/30 05:47:38  reinelt
  * graphic subsystem changed to full-color RGBA
  *
@@ -319,6 +322,8 @@ int drv_SD_init(const char *section, const int quiet)
     WIDGET_CLASS wc;
     int ret;
 
+    info("%s: %s", Name, "$Revision: 1.7 $");
+
     /* real worker functions */
     drv_generic_graphic_real_blit = drv_SD_blit;