From 4c1eaa81dda325601a4113faa58760b239958ada Mon Sep 17 00:00:00 2001 From: reinelt Date: Mon, 30 Jan 2006 06:25:54 +0000 Subject: [lcd4linux @ 2006-01-30 06:25:48 by reinelt] added CVS Revision git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@629 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- drv_BWCT.c | 7 ++++++- drv_BeckmannEgle.c | 7 ++++++- drv_Crystalfontz.c | 25 ++++++++++++++++++------- drv_Curses.c | 7 ++++++- drv_Cwlinux.c | 9 +++++++-- drv_G15.c | 7 ++++++- drv_HD44780.c | 24 ++++++++++++++++-------- drv_Image.c | 7 ++++++- drv_LCD2USB.c | 7 ++++++- drv_LCDLinux.c | 10 ++++++++-- drv_LCDTerm.c | 7 ++++++- drv_LPH7508.c | 7 ++++++- drv_LUIse.c | 7 ++++++- drv_M50530.c | 13 ++++++++++--- drv_MatrixOrbital.c | 13 ++++++++++--- drv_MilfordInstruments.c | 7 ++++++- drv_NULL.c | 7 ++++++- drv_Noritake.c | 11 ++++++++--- drv_RouterBoard.c | 19 +++++++++++-------- drv_Sample.c | 7 ++++++- drv_SimpleLCD.c | 7 ++++++- drv_T6963.c | 7 ++++++- drv_Trefon.c | 7 ++++++- drv_USBLCD.c | 7 ++++++- drv_WincorNixdorf.c | 10 +++++++--- drv_X11.c | 7 +++++-- drv_serdisplib.c | 7 ++++++- 27 files changed, 202 insertions(+), 58 deletions(-) diff --git a/drv_BWCT.c b/drv_BWCT.c index 77207bb..c27e4f5 100644 --- a/drv_BWCT.c +++ b/drv_BWCT.c @@ -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 */ diff --git a/drv_BeckmannEgle.c b/drv_BeckmannEgle.c index 07a6ca7..5ce094e 100644 --- a/drv_BeckmannEgle.c +++ b/drv_BeckmannEgle.c @@ -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 @@ -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; diff --git a/drv_Crystalfontz.c b/drv_Crystalfontz.c index 31688cd..e97238e 100644 --- a/drv_Crystalfontz.c +++ b/drv_Crystalfontz.c @@ -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; diff --git a/drv_Curses.c b/drv_Curses.c index 31d018b..fd8aac9 100644 --- a/drv_Curses.c +++ b/drv_Curses.c @@ -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 */ diff --git a/drv_Cwlinux.c b/drv_Cwlinux.c index 9df7e72..56856cd 100644 --- a/drv_Cwlinux.c +++ b/drv_Cwlinux.c @@ -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 */ diff --git a/drv_G15.c b/drv_G15.c index e1efff4..c4c5bbb 100644 --- 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 */ diff --git a/drv_HD44780.c b/drv_HD44780.c index f69816e..25b3ce5 100644 --- a/drv_HD44780.c +++ b/drv_HD44780.c @@ -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 */ diff --git a/drv_Image.c b/drv_Image.c index bcc41e9..a813a3c 100644 --- a/drv_Image.c +++ b/drv_Image.c @@ -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; diff --git a/drv_LCD2USB.c b/drv_LCD2USB.c index 31c6645..dc7f380 100644 --- a/drv_LCD2USB.c +++ b/drv_LCD2USB.c @@ -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 */ diff --git a/drv_LCDLinux.c b/drv_LCDLinux.c index 78e0f03..7f2ec5f 100644 --- a/drv_LCDLinux.c +++ b/drv_LCDLinux.c @@ -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 */ diff --git a/drv_LCDTerm.c b/drv_LCDTerm.c index 133079e..851b9d5 100644 --- a/drv_LCDTerm.c +++ b/drv_LCDTerm.c @@ -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 */ diff --git a/drv_LPH7508.c b/drv_LPH7508.c index 58017a8..f49b9a5 100644 --- a/drv_LPH7508.c +++ b/drv_LPH7508.c @@ -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; diff --git a/drv_LUIse.c b/drv_LUIse.c index be7b2bd..7814791 100644 --- a/drv_LUIse.c +++ b/drv_LUIse.c @@ -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; diff --git a/drv_M50530.c b/drv_M50530.c index 3e792c8..5b599eb 100644 --- a/drv_M50530.c +++ b/drv_M50530.c @@ -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 */ diff --git a/drv_MatrixOrbital.c b/drv_MatrixOrbital.c index 0a8976c..93e813d 100644 --- a/drv_MatrixOrbital.c +++ b/drv_MatrixOrbital.c @@ -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 */ diff --git a/drv_MilfordInstruments.c b/drv_MilfordInstruments.c index c18def3..ca056ec 100644 --- a/drv_MilfordInstruments.c +++ b/drv_MilfordInstruments.c @@ -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 */ diff --git a/drv_NULL.c b/drv_NULL.c index ee128ed..6e2c084 100644 --- a/drv_NULL.c +++ b/drv_NULL.c @@ -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 */ diff --git a/drv_Noritake.c b/drv_Noritake.c index 048b3d9..9aec59e 100644 --- a/drv_Noritake.c +++ b/drv_Noritake.c @@ -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; diff --git a/drv_RouterBoard.c b/drv_RouterBoard.c index cc5532e..75f5c73 100644 --- a/drv_RouterBoard.c +++ b/drv_RouterBoard.c @@ -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 */ diff --git a/drv_Sample.c b/drv_Sample.c index d91948c..23e7332 100644 --- a/drv_Sample.c +++ b/drv_Sample.c @@ -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 */ diff --git a/drv_SimpleLCD.c b/drv_SimpleLCD.c index 612fd28..1e7b807 100644 --- a/drv_SimpleLCD.c +++ b/drv_SimpleLCD.c @@ -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 */ diff --git a/drv_T6963.c b/drv_T6963.c index ad256eb..9cc64dd 100644 --- a/drv_T6963.c +++ b/drv_T6963.c @@ -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; diff --git a/drv_Trefon.c b/drv_Trefon.c index 6f4682c..1dfb243 100644 --- a/drv_Trefon.c +++ b/drv_Trefon.c @@ -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 */ diff --git a/drv_USBLCD.c b/drv_USBLCD.c index dd179c3..f59ca8d 100644 --- a/drv_USBLCD.c +++ b/drv_USBLCD.c @@ -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 */ diff --git a/drv_WincorNixdorf.c b/drv_WincorNixdorf.c index 0a829db..55126ac 100644 --- a/drv_WincorNixdorf.c +++ b/drv_WincorNixdorf.c @@ -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; diff --git a/drv_X11.c b/drv_X11.c index 297ac32..8705b9d 100644 --- 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) diff --git a/drv_serdisplib.c b/drv_serdisplib.c index 2ae02bf..d8e98f8 100644 --- a/drv_serdisplib.c +++ b/drv_serdisplib.c @@ -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; -- cgit v1.2.3