Add entries for /dev/bpp (parallel port on sbus machines)
This commit is contained in:
parent
e59bf4f94d
commit
cb91c83448
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh -
|
||||
#
|
||||
# $NetBSD: MAKEDEV,v 1.82 2002/10/26 13:48:34 martin Exp $
|
||||
# $NetBSD: MAKEDEV,v 1.83 2002/11/28 19:29:19 martin Exp $
|
||||
#
|
||||
# Copyright (c) 1990 The Regents of the University of California.
|
||||
# All rights reserved.
|
||||
|
@ -72,6 +72,8 @@
|
|||
# Pseudo terminals:
|
||||
# pty* set of 62 master and slave pseudo terminals
|
||||
# opty first 16 ptys, to save inodes on install media
|
||||
# Printers:
|
||||
# bpp* parallel printer port
|
||||
# ISDN devices:
|
||||
# isdn communication between userland isdnd and kernel
|
||||
# isdnctl control device
|
||||
|
@ -135,6 +137,7 @@ all)
|
|||
makedev audio0 audio1 audio2 audio3
|
||||
makedev pty0 vnd0 vnd1 vnd2 vnd3 audio
|
||||
makedev tun0 tun1 tun2 tun3
|
||||
makedev bpp
|
||||
makedev ccd0 ccd1 ccd2 ccd3
|
||||
makedev cgd0 cgd1 cgd2 cgd3
|
||||
makedev raid0 raid1 raid2 raid3 raid4 raid5 raid6 raid7
|
||||
|
@ -184,6 +187,7 @@ std)
|
|||
mknod fb c 22 0 ; chmod 666 fb
|
||||
mknod mouse c 13 0 ; chmod 666 mouse
|
||||
mknod kbd c 29 0 ; chmod 666 kbd
|
||||
makedev bpp
|
||||
;;
|
||||
|
||||
tty[abcd])
|
||||
|
@ -594,6 +598,13 @@ clcd*)
|
|||
|
||||
;;
|
||||
|
||||
bpp*)
|
||||
unit=${i#bpp}
|
||||
rm -f bpp$unit
|
||||
mknod bpp$unit c 107 $(($unit + 0))
|
||||
chmod 600 bpp$unit
|
||||
;;
|
||||
|
||||
scsibus*)
|
||||
unit=${i#scsibus}
|
||||
rm -f scsibus$unit
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh -
|
||||
#
|
||||
# $NetBSD: MAKEDEV,v 1.45 2002/11/24 20:53:53 martin Exp $
|
||||
# $NetBSD: MAKEDEV,v 1.46 2002/11/28 19:29:20 martin Exp $
|
||||
#
|
||||
# Copyright (c) 1990 The Regents of the University of California.
|
||||
# All rights reserved.
|
||||
|
@ -85,7 +85,8 @@
|
|||
# uscanner* Scanners
|
||||
# ttyU* Modem
|
||||
# Printers:
|
||||
# lpt* stock lp
|
||||
# bpp parallel printer port on sbus machines
|
||||
# lpt* stock lp on PCI machines
|
||||
# lpa* interruptless lp
|
||||
# ISDN devices:
|
||||
# isdn communication between userland isdnd and kernel
|
||||
|
@ -151,7 +152,7 @@ all)
|
|||
makedev audio0 audio1 audio2 audio3
|
||||
makedev pty0 vnd0 vnd1 vnd2 vnd3 audio
|
||||
makedev tun0 tun1 tun2 tun3
|
||||
makedev lpt0 lpt1 lpt2
|
||||
makedev bpp lpt0 lpt1 lpt2
|
||||
makedev ccd0 ccd1 ccd2 ccd3
|
||||
makedev cgd0 cgd1 cgd2 cgd3
|
||||
makedev raid0 raid1 raid2 raid3 raid4 raid5 raid6 raid7
|
||||
|
@ -198,7 +199,7 @@ std)
|
|||
mknod fb c 22 0 ; chmod 666 fb
|
||||
mknod mouse c 13 0 ; chmod 666 mouse
|
||||
mknod kbd c 29 0 ; chmod 666 kbd
|
||||
mknod bpp c 107 0 ; chmod 666 bpp
|
||||
makedev bpp
|
||||
;;
|
||||
|
||||
tty[abcd])
|
||||
|
@ -592,6 +593,13 @@ magma*)
|
|||
mknod bpp${unit}1 c 101 $(($unit * 64 + 1))
|
||||
;;
|
||||
|
||||
bpp*)
|
||||
unit=${i#bpp}
|
||||
rm -f bpp$unit
|
||||
mknod bpp$unit c 107 $(($unit + 0))
|
||||
chmod 600 bpp$unit
|
||||
;;
|
||||
|
||||
lpt*|lpa*)
|
||||
case $i in
|
||||
lpt*) name=lpt; unit=${i#lpt}; chr=37; flags=0;;
|
||||
|
|
Loading…
Reference in New Issue