Add virt68k etc stuff.

This commit is contained in:
thorpej 2024-01-07 00:58:11 +00:00
parent 7518155848
commit 67fce847d8
3 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,26 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2024/01/07 00:58:11 thorpej Exp $
all_md)
makedev sd0 sd1 sd2 sd3 sd4 sd5 sd6 sd7
makedev ld0 ld1 ld2 ld3 ld4 ld5 ld6 ld7
makedev dk0 dk1 dk2 dk3 dk4 dk5 dk6 dk7
makedev ttyGF0
makedev st0 st1 cd0 cd1
makedev uk0 uk1
makedev scsibus0 scsibus1 scsibus2 scsibus3
;;
ramdisk)
makedev std bpf md0 md1 sd0 sd1 sd2 sd3
makedev ld0 ld1 ld2 ld3 ld4 ld5 ld6 ld7 dk0 dk1 dk2 dk3 dk4 dk5 dk6 dk7
makedev opty
makedev st0 st1 cd0 cd1
makedev drvctl random
;;
ttyGF[0-9]*)
# Goldfish virtual TTY
unit=${i#ttyGF}
mkdev ttyGF$unit c 12 $(($unit + $dialin )) "" "" $u_uucp
mkdev dtyGF$unit c 12 $(($unit + $dialout)) "" "" $u_uucp
;;

View File

@ -0,0 +1,14 @@
# $NetBSD: Makefile.inc,v 1.1 2024/01/07 00:58:11 thorpej Exp $
#
# etc.virt68k/Makefile.inc -- virt68k-specific etc Makefile targets
#
# If you change the list of distributed kernels, don't forget
# to update the release documentation in distrib/notes/common/contents
KERNEL_SETS= GENERIC
INSTALLATION_DIRS+= installation/ramdisks
snap_md_post:
${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/ramdisks -a

18
etc/etc.virt68k/ttys Normal file
View File

@ -0,0 +1,18 @@
# $NetBSD: ttys,v 1.1 2024/01/07 00:58:11 thorpej Exp $
# from: @(#)ttys 5.1 (Berkeley) 4/17/89
#
# name getty type status comments
#
# If the console is marked insecure, single-user requires
# the root password.
#
# /dev/console is always valid, regardless of the board type.
#
console "/usr/libexec/getty std.9600" vt100 off secure
constty "/usr/libexec/getty std.9600" vt100 on secure
#
# Hardwired lines are marked off, by default, so getty(8)
# is quiet when they don't exist.
#
ttyGF0 "/usr/libexec/getty std.9600" vt100 off secure