2003-10-24 15:05:23 +04:00
|
|
|
# $NetBSD: MAKEDEV.conf,v 1.5 2003/10/24 11:05:24 jdolecek Exp $
|
2003-10-15 23:13:32 +04:00
|
|
|
|
|
|
|
all_md)
|
2003-10-24 12:20:26 +04:00
|
|
|
makedev std_sparc64 ttya ttyb ttyc ttyd ttyC00 ttyC01 ttyh0 ttyh1
|
2003-10-15 23:13:32 +04:00
|
|
|
makedev sd0 sd1 sd2 sd3 sd4 ss0 ch0 uk0 uk1
|
|
|
|
makedev wd0 wd1 wd2 wd3 cd0 st0 st1 fd0
|
|
|
|
makedev audio
|
|
|
|
makedev bpp lpt0 lpt1 lpt2
|
2003-10-24 12:20:26 +04:00
|
|
|
makedev bwtwo0 cgthree0 cgsix0
|
|
|
|
makedev tcx0
|
2003-10-15 23:13:32 +04:00
|
|
|
makedev scsibus0 scsibus1 scsibus2 scsibus3
|
|
|
|
makedev sysmon
|
|
|
|
makedev usbs
|
|
|
|
makedev radio
|
|
|
|
makedev isdns
|
|
|
|
makedev pci0 pci1 pci2 pci3 pci4 pci5 pci6 pci7
|
|
|
|
makedev wscons
|
|
|
|
makedev kttcp
|
|
|
|
makedev nsmb
|
|
|
|
;;
|
|
|
|
|
2003-10-24 12:20:26 +04:00
|
|
|
std_sparc64)
|
|
|
|
rm -f eeprom openprom fb mouse kbd bpp
|
|
|
|
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
|
|
|
|
;;
|
|
|
|
|
2003-10-15 23:13:32 +04:00
|
|
|
floppy|ramdisk)
|
2003-10-24 15:05:23 +04:00
|
|
|
makedev std std_sparc64 ttya ttyb ttyc ttyd opty
|
2003-10-15 23:13:32 +04:00
|
|
|
makedev sd0 sd1 sd2 sd3 sd4 sd5 md0
|
|
|
|
makedev wd0 wd1 cd0 cd1 st0 st1 fd0
|
|
|
|
makedev random
|
|
|
|
;;
|
|
|
|
|
|
|
|
tty[abcd])
|
|
|
|
unit=${i#???}
|
|
|
|
case $unit in
|
|
|
|
a) index=0;;
|
|
|
|
b) index=1;;
|
|
|
|
c) index=4;;
|
|
|
|
d) index=5;;
|
|
|
|
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
|
|
|
|
;;
|