From 1f139b5afd67194f363bb4f92b2300c2deed629e Mon Sep 17 00:00:00 2001 From: reinelt Date: Sat, 9 Apr 2005 07:36:42 +0000 Subject: [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 --- drv_LCDLinux.c | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) (limited to 'drv_LCDLinux.c') 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 ***/ -- cgit v1.2.3