diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2005-06-13 03:43:46 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2005-06-13 03:43:46 +0000 |
commit | 7b652a5011ed739ffd3bd0dc1815aba06778bdc0 (patch) | |
tree | 8f0e4b613cd341bbc667bea5bfb79535064de008 | |
parent | 1e69d7efc4e0a8886002776a8dbb9299b7e0b0f3 (diff) | |
download | lcd4linux-7b652a5011ed739ffd3bd0dc1815aba06778bdc0.tar.gz |
[lcd4linux @ 2005-06-13 03:43:46 by reinelt]
undo PPEXCL activation...
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@578 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
-rw-r--r-- | drv_generic_parport.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drv_generic_parport.c b/drv_generic_parport.c index 091c1ed..9d5c07a 100644 --- a/drv_generic_parport.c +++ b/drv_generic_parport.c @@ -1,4 +1,4 @@ -/* $Id: drv_generic_parport.c,v 1.17 2005/06/13 03:38:25 reinelt Exp $ +/* $Id: drv_generic_parport.c,v 1.18 2005/06/13 03:43:46 reinelt Exp $ * * generic driver helper for serial and parport access * @@ -23,6 +23,9 @@ * * * $Log: drv_generic_parport.c,v $ + * Revision 1.18 2005/06/13 03:43:46 reinelt + * undo PPEXCL activation... + * * Revision 1.17 2005/06/13 03:38:25 reinelt * try PPEXCL again, but ignore result * @@ -205,6 +208,7 @@ int drv_generic_parport_open(const char *section, const char *driver) return -1; } +#if 0 /* PPEXCL fails if someone else uses the port (e.g. lp.ko) */ if (ioctl(PPfd, PPEXCL)) { info("%s: ioctl(%s, PPEXCL) failed: %s", PPdev, Driver, strerror(errno)); @@ -212,6 +216,7 @@ int drv_generic_parport_open(const char *section, const char *driver) } else { info("%s: got exclusive access to %s.", Driver, PPdev); } +#endif if (ioctl(PPfd, PPCLAIM)) { error("%s: ioctl(%s, PPCLAIM) failed: %d %s", Driver, PPdev, errno, strerror(errno)); |