NetBSD/etc/etc.sparc64/MAKEDEV.conf
abs 7e916bb8a9 Add 'bpf' to all ramdisk targets (*), or floppy targets if ramdisk calls that.
Sort bpf to come directly after 'std' where relevant.
* (apart from etc.evbppc who's ramdisk target *only* builds md0,
  which just doesn't make sense).
Should allow a fighting chance for dhcpcd to get an IP address.
2012-08-16 13:31:24 +00:00

64 lines
1.4 KiB
Plaintext

# $NetBSD: MAKEDEV.conf,v 1.15 2012/08/16 13:31:27 abs Exp $
all_md)
makedev std_sparc64 ttya ttyb ttyc ttyd ttyC00 ttyC01
makedev ttyh0 ttyh1 ttyh2 ttyh3
makedev sd0 sd1 sd2 sd3 sd4 ss0 ch0 uk0 uk1
makedev wd0 wd1 wd2 wd3 cd0 st0 st1 fd0
makedev audio
makedev lpa0 lpa1 lpa2
makedev bpp lpt0 lpt1 lpt2
makedev bwtwo0 cgthree0 cgsix0
makedev tcx0
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev ses0 ses1 ses2 ses3
makedev sysmon
makedev usbs
makedev radio
makedev isdns
makedev pci0 pci1 pci2 pci3 pci4 pci5 pci6 pci7
makedev altq
makedev wscons
makedev kttcp
makedev nsmb
makedev cfs
;;
std_sparc64)
mkdev eeprom c 3 11 640 $g_kmem
mkdev openprom c 70 0 640 $g_kmem
mkdev fb0 c 22 0 666
lndev fb0 fb
mkdev fb1 c 22 1 666
mkdev mouse c 13 0 666
mkdev kbd c 29 0 666
makedev bpp
;;
floppy)
makedev std std_sparc64 ttya ttyb ttyc ttyd opty
makedev sd0 sd1 sd2 sd3 sd4 sd5 md0
makedev wd0 wd1 wd3 cd0 cd1 st0 st1 fd0
makedev random
;;
ramdisk)
makedev std bpf std_sparc64 ttya ttyb ttyc ttyd opty
makedev sd0 sd1 sd2 sd3 sd4 sd5 md0
makedev wd0 wd1 wd2 wd3 cd0 cd1 st0 st1 fd0
makedev raid0 raid1 raid2 raid3
makedev random
;;
tty[abcd])
unit=${i#???}
case $unit in
a) index=0;;
b) index=1;;
c) index=4;;
d) index=5;;
esac
mkdev tty$unit c 12 $(($index + $dialin )) "" "" $u_uucp
mkdev dty$unit c 12 $(($index + $dialout)) "" "" $u_uucp
;;