aboutsummaryrefslogtreecommitdiffstats
path: root/drv_LCDLinux.h
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2005-05-08 04:32:45 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2005-05-08 04:32:45 +0000
commitdbf5d92605a9db10e3e3cb154d03a515c5d5c5af (patch)
tree501d5dda3ce90fe924b893e487d9ef9f0683382b /drv_LCDLinux.h
parenta1c471e9fb7cadb68bb182ab2e9715a0aa092386 (diff)
downloadlcd4linux-dbf5d92605a9db10e3e3cb154d03a515c5d5c5af.tar.gz
[lcd4linux @ 2005-05-08 04:32:43 by reinelt]
CodingStyle added and applied git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@547 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv_LCDLinux.h')
-rw-r--r--drv_LCDLinux.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/drv_LCDLinux.h b/drv_LCDLinux.h
index ae7f4cb..af638c4 100644
--- a/drv_LCDLinux.h
+++ b/drv_LCDLinux.h
@@ -1,6 +1,6 @@
/* lcd.h
*
- * $Id: drv_LCDLinux.h,v 1.3 2005/05/02 05:15:46 reinelt Exp $
+ * $Id: drv_LCDLinux.h,v 1.4 2005/05/08 04:32:44 reinelt Exp $
*
* LCD driver for HD44780 compatible displays connected to the parallel port.
*
@@ -36,17 +36,17 @@
#include <linux/types.h>
struct lcd_driver {
- /* Hardware */
- unsigned short io; /* Parport base address */
- unsigned short flags; /* Flags (see Documentation) */
+ /* Hardware */
+ unsigned short io; /* Parport base address */
+ unsigned short flags; /* Flags (see Documentation) */
- /* Display geometry */
- unsigned short num_cntr; /* Number of available controllers */
- unsigned short cntr_rows; /* Rows per controller */
- unsigned short disp_cols; /* Columns */
- unsigned short frames; /* Framebuffer frames */
+ /* Display geometry */
+ unsigned short num_cntr; /* Number of available controllers */
+ unsigned short cntr_rows; /* Rows per controller */
+ unsigned short disp_cols; /* Columns */
+ unsigned short frames; /* Framebuffer frames */
- unsigned short tabstop; /* Length of tab character */
+ unsigned short tabstop; /* Length of tab character */
};
/* IOCTLs */
@@ -54,16 +54,16 @@ struct lcd_driver {
#define IOCTL_SET_PARAM _IOW(LCD_MAJOR, 0, struct lcd_driver *)
#define IOCTL_GET_PARAM _IOR(LCD_MAJOR, 1, struct lcd_driver *)
-#define LCD_PROC_ON 0x0001 /* Enable the /proc filesystem support */
-#define LCD_ETTY_ON 0x0002 /* Enable the tty support */
-#define LCD_CONSOLE 0x0004 /* Enable the console support */
-#define LCD_4BITS_BUS 0x0008 /* Set the bus length to 4 bits */
-#define LCD_5X10_FONT 0x0010 /* Use 5x10 dots fonts */
-#define LCD_CHECK_BF 0x0020 /* Do busy flag checking */
+#define LCD_PROC_ON 0x0001 /* Enable the /proc filesystem support */
+#define LCD_ETTY_ON 0x0002 /* Enable the tty support */
+#define LCD_CONSOLE 0x0004 /* Enable the console support */
+#define LCD_4BITS_BUS 0x0008 /* Set the bus length to 4 bits */
+#define LCD_5X10_FONT 0x0010 /* Use 5x10 dots fonts */
+#define LCD_CHECK_BF 0x0020 /* Do busy flag checking */
-#ifdef __KERNEL__ /* The rest is for kernel only */
+#ifdef __KERNEL__ /* The rest is for kernel only */
#include <linux/version.h>
@@ -87,6 +87,6 @@ int lcd_write(const char *, int, unsigned int);
int lcd_read(char *, int, unsigned int);
#endif
-#endif /* __KERNEL__ */
+#endif /* __KERNEL__ */
-#endif /* External interface included */
+#endif /* External interface included */