aboutsummaryrefslogtreecommitdiffstats
path: root/drv_generic_parport.h
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2005-05-04 06:13:05 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2005-05-04 06:13:05 +0000
commitaf622e47c4595939c26bd8413c94bbe29106148e (patch)
treeb74bc94575e878ffb80203621d8f5337a6dd6bec /drv_generic_parport.h
parent0af867f6a5b60f1259792b1222a23b48039e3282 (diff)
downloadlcd4linux-af622e47c4595939c26bd8413c94bbe29106148e.tar.gz
[lcd4linux @ 2005-05-04 06:13:05 by reinelt]
parport_wire_status() added git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@540 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv_generic_parport.h')
-rw-r--r--drv_generic_parport.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/drv_generic_parport.h b/drv_generic_parport.h
index fb72fda..52aa63b 100644
--- a/drv_generic_parport.h
+++ b/drv_generic_parport.h
@@ -1,4 +1,4 @@
-/* $Id: drv_generic_parport.h,v 1.9 2005/01/18 06:30:23 reinelt Exp $
+/* $Id: drv_generic_parport.h,v 1.10 2005/05/04 06:13:05 reinelt Exp $
*
* generic driver helper for parallel port displays
*
@@ -23,6 +23,9 @@
*
*
* $Log: drv_generic_parport.h,v $
+ * Revision 1.10 2005/05/04 06:13:05 reinelt
+ * parport_wire_status() added
+ *
* Revision 1.9 2005/01/18 06:30:23 reinelt
* added (C) to all copyright statements
*
@@ -78,10 +81,14 @@
* unsigned char drv_generic_parport_hardwire_ctrl (char *name)
* returns hardwiring for one control signal
* same as above, but does not read from config,
- * but cheks the config and emits a warning that the config
+ * but checks the config and emits a warning that the config
* entry will be ignored
* returns DRV_GENERIC_PARPORT_CONTROL_* or 255 on error
*
+ * unsigned char drv_generic_parport_wire_status (char *name, char *deflt)
+ * reads wiring for one status signal from config
+ * returns DRV_GENERIC_PARPORT_STATUS_* or 255 on error
+ *
* unsigned char drv_generic_parport_wire_data (char *name, char *deflt)
* reads wiring for one data signal from config
* returns 1<<bitpos or 255 on error
@@ -117,6 +124,7 @@ int drv_generic_parport_open (const char *section, const char
int drv_generic_parport_close (void);
unsigned char drv_generic_parport_wire_ctrl (const char *name, const char *deflt);
unsigned char drv_generic_parport_hardwire_ctrl (const char *name, const char *deflt);
+unsigned char drv_generic_parport_wire_status (const char *name, const char *deflt);
unsigned char drv_generic_parport_wire_data (const char *name, const char *deflt);
void drv_generic_parport_direction (const int direction);
unsigned char drv_generic_parport_status (void);