diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-04-21 18:23:45 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-04-21 18:23:45 +0000 |
commit | 32f19c9529396d6e157f0e3c3bbfe03cf7a78fa9 (patch) | |
tree | 1854f11c99242f48a433d56709e22c5f665b068d /etc/etc.luna88k | |
parent | 2e0e3d18cdaf8d519dbaf99a37c97514a5390de4 (diff) |
Populate /etc for luna88k
Diffstat (limited to 'etc/etc.luna88k')
-rw-r--r-- | etc/etc.luna88k/MAKEDEV.md | 101 | ||||
-rw-r--r-- | etc/etc.luna88k/Makefile.inc | 16 | ||||
-rw-r--r-- | etc/etc.luna88k/disktab | 38 | ||||
-rw-r--r-- | etc/etc.luna88k/fbtab | 4 | ||||
-rw-r--r-- | etc/etc.luna88k/sysctl.conf | 0 | ||||
-rw-r--r-- | etc/etc.luna88k/ttys | 10 |
6 files changed, 169 insertions, 0 deletions
diff --git a/etc/etc.luna88k/MAKEDEV.md b/etc/etc.luna88k/MAKEDEV.md new file mode 100644 index 00000000000..43b87286ba4 --- /dev/null +++ b/etc/etc.luna88k/MAKEDEV.md @@ -0,0 +1,101 @@ +vers(__file__, + {-$OpenBSD: MAKEDEV.md,v 1.1 2004/04/21 18:23:44 miod Exp $-}, +etc.MACHINE)dnl +dnl +dnl Copyright (c) 2001-2004 Todd T. Fries <todd@OpenBSD.org> +dnl +dnl Permission to use, copy, modify, and distribute this software for any +dnl purpose with or without fee is hereby granted, provided that the above +dnl copyright notice and this permission notice appear in all copies. +dnl +dnl THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +dnl WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +dnl MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +dnl ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +dnl WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +dnl ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +dnl OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +dnl +dnl +dnl *** luna88k-specific devices +dnl +__devitem(sio, ttya, On-board serial console port)dnl +_mkdev(sio, {-ttya-}, +{- M ttya c major_sio_c 0 660 dialer uucp + M cuaa c major_sio_c 128 660 dialer uucp -})dnl +dnl +dnl *** MAKEDEV itself +dnl +_TITLE(make) +dnl +dnl all) +dnl +dnl +target(all, ses, 0)dnl +target(all, ch, 0)dnl +target(all, ss, 0)dnl +target(all, xfs, 0)dnl +target(all, pty, 0)dnl +target(all, bpf, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9)dnl +target(all, tun, 0, 1, 2, 3)dnl +target(all, rd, 0)dnl +target(all, cd, 0, 1)dnl +target(all, sd, 0, 1, 2, 3, 4)dnl +target(all, uk, 0)dnl +target(all, vnd, 0, 1, 2, 3)dnl +target(all, ccd, 0, 1, 2, 3)dnl +twrget(all, sio, tty, a)dnl +_DEV(all) +dnl +dnl ramdisk) +dnl +target(ramd, sd, 0, 1, 2, 3, 4)dnl +target(ramd, st, 0, 1)dnl +target(ramd, cd, 0, 1)dnl)dnl +target(ramd, rd, 0)dnl +twrget(ramd, sio, tty, a)dnl +target(ramd, pty, 0)dnl +_DEV(ramd) +dnl +_DEV(std) +_DEV(local) +dnl +_TITLE(dis) +_DEV(ccd, 17, 9) +_DEV(cd, 9, 6) +_DEV(rd, 18, 7) +_DEV(sd, 8, 4) +_DEV(vnd, 19, 8) +_TITLE(tap) +_DEV(ch, 44) +_DEV(st, 20, 5) +_TITLE(term) +_DEV(sio, 12) +_TITLE(pty) +_DEV(ptm, 52) +_DEV(pty, 5) +_DEV(tty, 4) +_TITLE(cons) +_DEV(wscons) +_DEV(wsdisp, 13) +_DEV(wskbd, 14) +_DEV(wsmux, 16) +_TITLE(point) +_DEV(wsmouse, 15) +_TITLE(spec) +_DEV(bpf, 22) +_DEV(fdesc, 21) +_DEV(lkm, 24) +_DEV(pf, 39) +_DEV(rnd, 40) +_DEV(ss, 42) +_DEV(systrace, 50) +_DEV(tun, 23) +_DEV(uk, 41) +_DEV(xfs, 51) +dnl +divert(__mddivert)dnl +dnl +_std(1, 2, 43, 3, 6) + ;; + diff --git a/etc/etc.luna88k/Makefile.inc b/etc/etc.luna88k/Makefile.inc new file mode 100644 index 00000000000..2a35f45385f --- /dev/null +++ b/etc/etc.luna88k/Makefile.inc @@ -0,0 +1,16 @@ +# $OpenBSD: Makefile.inc,v 1.1 2004/04/21 18:23:44 miod Exp $ +# etc.luna88k/Makefile.inc -- luna88k-specific etc Makefile targets + +.ifdef DESTDIR +snap_md: bsd-generic distrib + cp ${.CURDIR}/../sys/arch/luna88k/compile/GENERIC/bsd \ + ${DESTDIR}/snapshot/bsd + +bsd-generic: + cd ${.CURDIR}/../sys/arch/luna88k/conf && config GENERIC + cd ${.CURDIR}/../sys/arch/luna88k/compile/GENERIC && \ + ${MAKE} clean && ${MAKE} depend && ${MAKE} + +.PHONY: bsd-generic + +.endif # DESTDIR check diff --git a/etc/etc.luna88k/disktab b/etc/etc.luna88k/disktab new file mode 100644 index 00000000000..f2a29112635 --- /dev/null +++ b/etc/etc.luna88k/disktab @@ -0,0 +1,38 @@ +# $OpenBSD: disktab,v 1.1 2004/04/21 18:23:44 miod Exp $ + +# +# @(#)disktab 5.5 (Berkeley) 2/27/91 +# +# Disk geometry and partition layout tables. +# Key: +# ty type of disk +# ns #sectors/track +# nt #tracks/cylinder +# nc #cylinders/disk +# rm rpm, 3600 default +# se sector size, 512 default +# sf supports bad144-style bad sector forwarding +# so partition offsets in sectors +# p[a-p] partition sizes in sectors +# b[a-p] partition block sizes in bytes +# f[a-p] partition fragment sizes in bytes +# +# All partition sizes contain space +# for bad sector tables unless the +# device drivers fail to support this. +# +# Entries may also be used for other compatible drives +# with the same geometry. + +# +# XXX - Would like :ba#4096:fa#512: but that panics... +# Leave nc=16; adjust size using: ns +rdroot|ramdiskroot|RAM-disk root FS image:\ + :ty=simulated:se#512:nc#16:nt#2:ns#128:\ + :ta=4.2BSD:oa#0:pa#4096:fa#512:ba#4096\ + :ob#0:pb#0:oc#0:pc#4096: +miniroot|Installation root-on-swap FS image:\ + :ty=simulated:se#512:ns#32:nt#8:nc#64:\ + :ta=4.2BSD:oa#0:pa#16384:\ + :ob#0:pb#0:oc#0:pc#16384: + diff --git a/etc/etc.luna88k/fbtab b/etc/etc.luna88k/fbtab new file mode 100644 index 00000000000..322cd242713 --- /dev/null +++ b/etc/etc.luna88k/fbtab @@ -0,0 +1,4 @@ +/dev/console 0600 /dev/ttyC0:/dev/wskbd0:/dev/wsmouse0:/dev/ttya:/dev/ttyCcfg +/dev/ttya 0600 /dev/ttyC0:/dev/wskbd0:/dev/wsmouse0:/dev/console:/dev/ttyCcfg +/dev/ttyC0 0600 /dev/wskbd0:/dev/wsmouse0:/dev/console:/dev/ttya:/dev/ttyCcfg +/dev/X0 0600 /dev/wsmouse:/dev/wskbd:/dev/ttyC0 diff --git a/etc/etc.luna88k/sysctl.conf b/etc/etc.luna88k/sysctl.conf new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/etc/etc.luna88k/sysctl.conf diff --git a/etc/etc.luna88k/ttys b/etc/etc.luna88k/ttys new file mode 100644 index 00000000000..4be282e678b --- /dev/null +++ b/etc/etc.luna88k/ttys @@ -0,0 +1,10 @@ +# +# $OpenBSD: ttys,v 1.1 2004/04/21 18:23:44 miod Exp $ +# +# name getty type status comments +# +# If the console is marked insecure, single-user requires +# the root password. +console "/usr/libexec/getty Pc" unknown on secure +# siotty(4) serial console port +ttya "/usr/libexec/getty Pc" unknown off secure # console |