aboutsummaryrefslogtreecommitdiffstats
path: root/drv_LCDLinux.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2005-04-09 07:36:42 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2005-04-09 07:36:42 +0000
commit1f139b5afd67194f363bb4f92b2300c2deed629e (patch)
treedb82d1bb129ead716085e0f74b2ec2edb4da4a0d /drv_LCDLinux.c
parent3b55000a09e59b2ee620e01b8dd4e383fe4b43dc (diff)
downloadlcd4linux-1f139b5afd67194f363bb4f92b2300c2deed629e.tar.gz
[lcd4linux @ 2005-04-09 07:36:42 by reinelt]
updated LCD-Linux driver to version 0.8.8 git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@529 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv_LCDLinux.c')
-rw-r--r--drv_LCDLinux.c24
1 files changed, 7 insertions, 17 deletions
diff --git a/drv_LCDLinux.c b/drv_LCDLinux.c
index fd78ac0..503a01d 100644
--- a/drv_LCDLinux.c
+++ b/drv_LCDLinux.c
@@ -1,4 +1,4 @@
-/* $Id: drv_LCDLinux.c,v 1.4 2005/02/24 07:06:48 reinelt Exp $
+/* $Id: drv_LCDLinux.c,v 1.5 2005/04/09 07:36:42 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.5 2005/04/09 07:36:42 reinelt
+ * updated LCD-Linux driver to version 0.8.8
+ *
* Revision 1.4 2005/02/24 07:06:48 reinelt
* SimpleLCD driver added
*
@@ -69,26 +72,13 @@
#include "drv.h"
#include "drv_generic_text.h"
+#include "drv_LCDLinux.h"
-static char Name[] = "LCD-Linux";
-static char Device[] = "/dev/lcd";
-
-#define LCDLINUX_MAJOR 120
-
-struct lcd_driver {
- unsigned short io; /* Parport base address */
- unsigned short flags; /* Flags (see Documentation) */
- unsigned short num_cntr; /* Number of available controllers */
- unsigned short cntr_rows; /* Rows per controller */
- unsigned short disp_cols; /* Columns */
- unsigned short tabstop; /* Length of tab character */
-};
+static char Name[] = "LCD-Linux";
+static char Device[] = "/dev/lcd";
static int lcdlinux_fd = -1;
-#define IOCTL_SET_PARAM _IOW(LCDLINUX_MAJOR, 0, struct lcd_driver *)
-#define IOCTL_GET_PARAM _IOR(LCDLINUX_MAJOR, 1, struct lcd_driver *)
-
/****************************************/
/*** hardware dependant functions ***/