2011-09-06 18:40:10 +04:00
|
|
|
# $NetBSD: MAKEDEV.conf,v 1.2 2011/09/06 14:40:10 apb Exp $
|
2011-01-26 04:18:43 +03:00
|
|
|
|
|
|
|
all_md)
|
|
|
|
makedev minimal
|
|
|
|
;;
|
|
|
|
|
|
|
|
minimal)
|
|
|
|
makedev std
|
|
|
|
makedev ace0 ace1
|
|
|
|
makedev eflash0
|
|
|
|
makedev md0 dz0
|
|
|
|
;;
|
|
|
|
|
|
|
|
# Serial devices: dz*.
|
|
|
|
#
|
|
|
|
# Create dz* devices as /dev/ttyD[0-3],
|
2011-09-06 18:40:10 +04:00
|
|
|
dz[0-9]*)
|
|
|
|
name=dz; unit=${i#dz}; chr=16
|
2011-01-26 04:18:43 +03:00
|
|
|
case $unit in
|
|
|
|
0)
|
|
|
|
mkdev ttyD0 c $chr 0
|
|
|
|
# mkdev ttyD1 c $chr 1
|
|
|
|
# mkdev ttyD2 c $chr 2
|
|
|
|
# mkdev ttyD3 c $chr 3
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
warn "bad unit for $name in: $i"
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
;;
|
|
|
|
|