Index: share/man/man4/lpt.4 =================================================================== RCS file: /usr/CVS-Repository/src/share/man/man4/lpt.4,v retrieving revision 1.14 diff -u -r1.14 lpt.4 --- share/man/man4/lpt.4 28 Jun 2003 23:53:37 -0000 1.14 +++ share/man/man4/lpt.4 3 Aug 2004 04:27:27 -0000 @@ -86,6 +86,8 @@ .Bl -tag -width Pa -compact .It Pa /dev/lpt0 first parallel port driver +.It Pa /dev/lpt0.ctl +first parallel port control device (makes no attempt to select hardware) .El .Sh BUGS There are lots of them, especially in cheap parallel port implementations. Index: usr.sbin/lptcontrol/lptcontrol.8 =================================================================== RCS file: /usr/CVS-Repository/src/usr.sbin/lptcontrol/lptcontrol.8,v retrieving revision 1.19 diff -u -r1.19 lptcontrol.8 --- usr.sbin/lptcontrol/lptcontrol.8 2 Jul 2004 23:12:48 -0000 1.19 +++ usr.sbin/lptcontrol/lptcontrol.8 3 Aug 2004 04:25:38 -0000 @@ -52,7 +52,7 @@ The default value for .Ar device is -.Pa /dev/lpt0 . +.Pa /dev/lpt0.ctl . .El .Pp One of @@ -64,7 +64,7 @@ .Bl -tag -width /sys/i386/conf/GENERIC -compact .It Pa /dev/lpt? printer devices -.It Pa /dev/lpctl? +.It Pa /dev/lpt?.ctl printer control devices .It Pa /sys/i386/conf/GENERIC kernel configuration file Index: usr.sbin/lptcontrol/lptcontrol.c =================================================================== RCS file: /usr/CVS-Repository/src/usr.sbin/lptcontrol/lptcontrol.c,v retrieving revision 1.14 diff -u -r1.14 lptcontrol.c --- usr.sbin/lptcontrol/lptcontrol.c 3 May 2003 21:06:37 -0000 1.14 +++ usr.sbin/lptcontrol/lptcontrol.c 3 Aug 2004 04:25:16 -0000 @@ -46,8 +46,7 @@ #include -#define PATH_LPCTL _PATH_DEV "lpctl" -#define DEFAULT_DEVICE _PATH_DEV "lpt0" +#define DEFAULT_DEVICE _PATH_DEV "lpt0.ctl" #define IRQ_INVALID -1 #define DO_POLL 0 #define USE_IRQ 1