]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make it possible to run lptcontrol on a printer port which does not
authorcsgr <csgr@FreeBSD.org>
Sat, 3 Sep 1994 22:47:08 +0000 (22:47 +0000)
committercsgr <csgr@FreeBSD.org>
Sat, 3 Sep 1994 22:47:08 +0000 (22:47 +0000)
commit7b6e72a847a7d44c2c26046d7b7b45ffb24d6bac
treefae137773c8b7b37ab895b0c2108c844082d5eb7
parent010d228ad6975af67848079ecbeca590d3ac7ed1
Make it possible to run lptcontrol on a printer port which does not
actually have a printer connected or online:
- MAKEDEV: remove all signs of lpa
add lpctl? devices (minor # = unit + 128)
- usr.sbin/Makefile add lptcontrol
- sys/i386/isa/lpt.c implement the LP_BYPASS flag: when a unit is
opened with this flag set, the printer is
not primed, and no check is made to see that
the printer is online.  This can only be used
to pass ioctls.  (giving us /dev/lpctl?)
- lptcontrol.c use /dev/lpctl? (LP_BYPASS)
-f flag removed, -u flag added
- lptcontrol.8 document changes in lptcontrol
rewrite using mandoc macros
Submitted by: Geoff.
etc/MAKEDEV
etc/etc.i386/MAKEDEV
sys/i386/isa/lpt.c
usr.sbin/Makefile
usr.sbin/lptcontrol/lptcontrol.8
usr.sbin/lptcontrol/lptcontrol.c