Add the unlpt\d+ device to MAKEDEV. It is the same as ulpt\d+, except

that it does not reset the printer when opened. This fixes the problem
of printing a document almost till the end and then resetting the
printer when the next print job is started.

Submitted by:   Christopher Masto <chris@netmonger.net>

Also, remove all but the ums0 device from the fixit target 'to save
precious i-nodes on the fixit floppy'.
This commit is contained in:
Nick Hibma 2000-01-23 11:40:10 +00:00
parent a8f8e0bd03
commit e9ea2dfc2f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=56438

View File

@ -281,7 +281,7 @@ fixit)
sh MAKEDEV ppi0 # cdev, parallel port
sh MAKEDEV iic0 # cdev, I2C device
sh MAKEDEV smb0 # cdev, SMBus device
sh MAKEDEV usb usb0 ums0 ulpt0 ugen0 # cdev, USB devices
sh MAKEDEV ums0 # cdev, USB devices
sh MAKEDEV tun0 # cdev, network
sh MAKEDEV ch0 # cdev, miscellaneous
sh MAKEDEV apm apmctl card0 # cdev, laptop
@ -900,7 +900,10 @@ ums*)
ulpt*)
unit=`expr $i : 'ulpt\(.*\)'`
mknod ulpt$unit c 113 $unit
minor=$unit
mknod ulpt$unit c 113 $minor
minor=`expr $unit + 64`
mknod unlpt$unit c 113 $minor # and the 'no prime' version
;;
ugen*)