NetBSD/etc/etc.sparc/MAKEDEV.conf
jdolecek 1eeb241e42 sync with reality, put back some entries mistakely omitted
in the initial conversion from MD MAKEDEV
2003-10-24 08:20:26 +00:00

64 lines
1.3 KiB
Plaintext

# $NetBSD: MAKEDEV.conf,v 1.4 2003/10/24 08:20:26 jdolecek Exp $
all_md)
makedev std_sparc ttya ttyb ttyc ttyd
makedev sd0 sd1 sd2 sd3 sd4 xd0 xd1 xd2 xd3 xy0 xy1 xy2 xy3
makedev cd0 st0 st1 fd0
makedev audio
makedev bpp
makedev bwtwo0 cgthree0 cgsix0 tcx0
makedev bwtwo1 cgthree1 cgsix1 tcx1
makedev cgtwo0 cgfour0 cgeight0
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev sysmon
makedev cfs0 apm apmctl tctrl0
makedev isdns
makedev pci0
makedev wscons
makedev kttcp
makedev nsmb
;;
std_sparc)
mknod eeprom c 3 11 ; chmod 640 eeprom ; chgrp kmem eeprom
mknod openprom c 70 0 ; chmod 640 openprom;chgrp kmem openprom
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
;;
floppy|ramdisk)
makedev std ttya ttyb ttyc ttyd opty
makedev sd0 sd1 sd2 sd3 sd4 sd5 md0
makedev cd0 cd1 st0 st1 fd0
;;
tty[abcd])
unit=${i#???}
case $unit in
a) index=0;;
b) index=1;;
c) index=2;;
d) index=3;;
esac
rm -f tty$unit dty$unit
mknod tty$unit c 12 $(($index + $dialin ))
mknod dty$unit c 12 $(($index + $dialout))
chown uucp tty$unit dty$unit
;;
apm*)
rm -f apm apmctl
ln -fs tctrl0 apm
mknod apmctl c 71 8
chmod 644 apmctl
;;
tctrl*)
unit=${i#tctrl}
rm -f tctrl$unit
mknod tctrl$unit c 71 $unit
chmod 666 tctrl$unit
;;