create the lpt?ctl device when making lpt? or lpa?; this device has
no meaning for 'old' lpt(4) (lpt?ctl is equal to lpt? there), but has some special meaning for 'new', ppbus-based lpt(4)
This commit is contained in:
parent
0cfa5c18b3
commit
fce24261df
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh -
|
||||
# $NetBSD: MAKEDEV.tmpl,v 1.20 2004/01/25 14:00:57 bjh21 Exp $
|
||||
# $NetBSD: MAKEDEV.tmpl,v 1.21 2004/02/03 21:43:43 jdolecek Exp $
|
||||
#
|
||||
# Copyright (c) 2003 The NetBSD Foundation, Inc.
|
||||
# All rights reserved.
|
||||
|
@ -820,6 +820,7 @@ lpt*|lpa*)
|
|||
lpa*) name=lpa; unit=${i#lpa}; chr=%lpt_chr%; flags=128;;
|
||||
esac
|
||||
mkdev $name$unit c $chr $(($unit + $flags))
|
||||
mkdev lpt${unit}ctl c $chr $(($unit + 256))
|
||||
;;
|
||||
|
||||
bpf*|tun*)
|
||||
|
|
Loading…
Reference in New Issue