summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2006-06-06 00:01:51 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2006-06-06 00:01:51 +0000
commit450766661fab1f3d45ec29ad4e91183d4e8be834 (patch)
treeda9cb4f509dc2e1619cc98525235ffc65c6f2c29
parentf042d412f597bd02480f568d91aa3cb4373027cd (diff)
System build pieces for armish arch.
-rw-r--r--Makefile.cross4
-rw-r--r--distrib/armish/Makefile5
-rw-r--r--distrib/armish/ramdisk/Makefile106
-rw-r--r--distrib/armish/ramdisk/Makefile.inc4
-rw-r--r--distrib/armish/ramdisk/install.md125
-rw-r--r--distrib/armish/ramdisk/list83
-rw-r--r--distrib/sets/lists/comp/mi2
-rw-r--r--distrib/sets/lists/man/mi19
-rw-r--r--etc/Makefile5
-rw-r--r--etc/etc.armish/MAKEDEV.md114
-rw-r--r--etc/etc.armish/Makefile.inc20
-rw-r--r--etc/etc.armish/disktab875
-rw-r--r--etc/etc.armish/fbtab2
-rw-r--r--etc/etc.armish/sysctl.conf5
-rw-r--r--etc/etc.armish/ttys16
-rw-r--r--etc/mtree/4.4BSD.dist38
-rw-r--r--lib/libarch/arm/Makefile6
-rw-r--r--sbin/fdisk/Makefile9
-rw-r--r--sbin/wsconsctl/Makefile13
-rw-r--r--share/man/man4/man4.armish/Makefile9
-rw-r--r--share/man/man4/man4.armish/autoconf.452
-rw-r--r--share/man/man4/man4.armish/intro.4181
-rw-r--r--share/man/man4/man4.armish/mem.475
-rw-r--r--share/man/man8/Makefile6
-rw-r--r--share/man/man8/man8.armish/Makefile6
-rw-r--r--sys/dev/microcode/atmel/Makefile13
-rw-r--r--sys/dev/microcode/kue/Makefile13
-rw-r--r--sys/dev/microcode/ral/Makefile12
-rw-r--r--usr.sbin/hotplugd/Makefile10
-rw-r--r--usr.sbin/wsconscfg/Makefile11
30 files changed, 1794 insertions, 45 deletions
diff --git a/Makefile.cross b/Makefile.cross
index 95b3982a2d8..51cd28acb63 100644
--- a/Makefile.cross
+++ b/Makefile.cross
@@ -1,11 +1,11 @@
-# $OpenBSD: Makefile.cross,v 1.17 2006/05/09 21:17:11 miod Exp $
+# $OpenBSD: Makefile.cross,v 1.18 2006/06/06 00:01:49 drahn Exp $
cross-tools: cross-includes cross-binutils cross-gcc cross-lib
cross-distrib: cross-tools cross-bin cross-etc-root-var
# Have to compute TARGET_ARCH directly in the Makefile, for .if tests involving
# this variable to work.
-.if (${TARGET} == "cats" || ${TARGET} == "zaurus")
+.if (${TARGET} == "armish" | ${TARGET} == "cats" || ${TARGET} == "zaurus")
TARGET_ARCH= arm
.elif (${TARGET} == "hp300" || ${TARGET} == "mac68k" || \
${TARGET} == "mvme68k")
diff --git a/distrib/armish/Makefile b/distrib/armish/Makefile
new file mode 100644
index 00000000000..301e8af6524
--- /dev/null
+++ b/distrib/armish/Makefile
@@ -0,0 +1,5 @@
+# $OpenBSD: Makefile,v 1.1 2006/06/06 00:01:49 drahn Exp $
+
+SUBDIR= ramdisk
+
+.include <bsd.subdir.mk>
diff --git a/distrib/armish/ramdisk/Makefile b/distrib/armish/ramdisk/Makefile
new file mode 100644
index 00000000000..670250626aa
--- /dev/null
+++ b/distrib/armish/ramdisk/Makefile
@@ -0,0 +1,106 @@
+# $OpenBSD: Makefile,v 1.1 2006/06/06 00:01:49 drahn Exp $
+
+REV= ${OSrev}
+
+TOP= ${.CURDIR}/..
+
+BSD_RD= bsd.rd
+IMAGE= mr.fs
+CBIN?= instbin
+CRUNCHCONF?= ${CBIN}.conf
+CRUNCHCONFS?= ${.CURDIR}/../common/crunch.conf
+LISTS= ${.CURDIR}/list
+UTILS?= ${.CURDIR}/../../miniroot
+
+MOUNT_POINT= /mnt
+MTREE= ${UTILS}/mtree.conf
+
+VND?= svnd0
+VND_DEV= /dev/${VND}a
+VND_RDEV= /dev/r${VND}a
+VND_CRDEV= /dev/r${VND}c
+PID!= echo $$$$
+
+
+DISKTYPE= rdroot2.5M
+#NBLKS= 8192
+NBLKS= 5120
+# minfree, opt, b/i trks, sects, cpg
+NEWFSARGS= -m 0 -o space -c 16 -i 4096
+
+.ifndef DESTDIR
+all ${IMAGE}:
+ @echo setenv DESTDIR before making a ramdisk!
+ @false
+.else
+
+# mix config is not needed.
+all: ${BSD_RD}
+
+${BSD_RD}: ${CBIN} ${IMAGE} bsd rdsetroot
+ cp bsd ${BSD_RD}
+ ${.OBJDIR}/rdsetroot ${BSD_RD} < ${IMAGE}
+
+${IMAGE}: rd_setup do_files rd_teardown
+
+.endif
+
+bsd:
+ cd ${TOP}/../../sys/arch/armish/conf && config RAMDISK
+ cd ${TOP}/../../sys/arch/armish/compile/RAMDISK && \
+ ${MAKE} clean && ${MAKE} depend && ${MAKE}
+ cp ${TOP}/../../sys/arch/armish/compile/RAMDISK/bsd bsd
+
+rd_setup:
+ dd if=/dev/zero of=${IMAGE} bs=512 count=${NBLKS}
+ vnconfig -v -c ${VND} ${IMAGE}
+ disklabel -w -r ${VND} ${DISKTYPE}
+ newfs ${NEWFSARGS} ${VND_RDEV}
+ fsck ${VND_RDEV}
+ mount ${VND_DEV} ${MOUNT_POINT}
+
+rd_teardown:
+ @df -i ${MOUNT_POINT}
+ -umount ${MOUNT_POINT}
+ -vnconfig -u ${VND}
+
+rdsetroot: ${TOP}/../common/elfrdsetroot.c
+ ${HOSTCC} -DDEBUG -o rdsetroot ${TOP}/../common/elfrdsetroot.c
+
+unconfig:
+ -umount -f ${MOUNT_POINT}
+ -vnconfig -u ${VND}
+
+.PRECIOUS: ${IMAGE}
+
+install:
+ cp ${BSD_RD} ${DESTDIR}/snapshot/
+
+${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF}
+ crunchgen -E -D ${.CURDIR}/../../.. -L ${DESTDIR}/usr/lib ${.ALLSRC}
+
+${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c
+ ${MAKE} -f ${CBIN}.mk all
+
+${CRUNCHCONF}: ${LISTS}
+ awk -f ${UTILS}/makeconf.awk CBIN=${CBIN} ${LISTS} > ${CBIN}.conf
+
+do_files:
+ cat ${MTREE} | mtree -de -p ${MOUNT_POINT}/ -u
+ TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
+ REV=${REV} TARGDIR=${MOUNT_POINT} UTILS=${UTILS} \
+ sh ${TOP}/../miniroot/runlist.sh ${LISTS}
+ rm ${MOUNT_POINT}/${CBIN}
+
+clean cleandir:
+ /bin/rm -f core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache \
+ *.o *.lo *.c bsd ${BSD_RD} \
+ rdsetroot
+ rm -f instbin.conf
+ rm -rf cd-dir
+
+beforeinstall:
+ cp ${BSD.RD} ${DESTDIR}/snapshot
+
+.include <bsd.obj.mk>
+.include <bsd.subdir.mk>
diff --git a/distrib/armish/ramdisk/Makefile.inc b/distrib/armish/ramdisk/Makefile.inc
new file mode 100644
index 00000000000..784ace462e3
--- /dev/null
+++ b/distrib/armish/ramdisk/Makefile.inc
@@ -0,0 +1,4 @@
+# $OpenBSD: Makefile.inc,v 1.1 2006/06/06 00:01:49 drahn Exp $
+
+CRUNCHGENOPTS= -E
+
diff --git a/distrib/armish/ramdisk/install.md b/distrib/armish/ramdisk/install.md
new file mode 100644
index 00000000000..114c14d92e6
--- /dev/null
+++ b/distrib/armish/ramdisk/install.md
@@ -0,0 +1,125 @@
+# $OpenBSD: install.md,v 1.1 2006/06/06 00:01:49 drahn Exp $
+#
+#
+# Copyright (c) 1996 The NetBSD Foundation, Inc.
+# All rights reserved.
+#
+# This code is derived from software contributed to The NetBSD Foundation
+# by Jason R. Thorpe.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+# 1. Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+# 3. All advertising materials mentioning features or use of this software
+# must display the following acknowledgement:
+# This product includes software developed by the NetBSD
+# Foundation, Inc. and its contributors.
+# 4. Neither the name of The NetBSD Foundation nor the names of its
+# contributors may be used to endorse or promote products derived
+# from this software without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
+# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+# POSSIBILITY OF SUCH DAMAGE.
+#
+#
+# machine dependent section of installation/upgrade script.
+#
+
+MDFSTYPE=msdos
+ARCH=ARCH
+
+md_installboot() {
+}
+
+# $1 is the disk to check
+md_checkfordisklabel() {
+ local rval=0
+
+ disklabel -r $1 >/dev/null 2>/tmp/checkfordisklabel
+
+ if grep "disk label corrupted" /tmp/checkfordisklabel; then
+ rval=2
+ fi >/dev/null 2>&1
+
+ rm -f /tmp/checkfordisklabel
+ return $rval
+}
+
+md_prep_fdisk() {
+ local _disk=$1
+
+ ask_yn "Do you want to use *all* of $_disk for OpenBSD?"
+ if [[ $resp == y ]]; then
+ echo -n "Putting all of $_disk into an active OpenBSD MBR partition (type 'A6')..."
+ fdisk -e ${_disk} <<__EOT >/dev/null
+reinit
+update
+write
+quit
+__EOT
+ echo "done."
+ return
+ fi
+
+ # Manually configure the MBR.
+ cat <<__EOT
+
+You will now create a single MBR partition to contain your OpenBSD data. This
+partition must have an id of 'A6'; must *NOT* overlap other partitions; and
+must be marked as the only active partition.
+
+The 'manual' command describes all the fdisk commands in detail.
+
+$(fdisk ${_disk})
+__EOT
+ fdisk -e ${_disk}
+
+ cat <<__EOT
+Here is the partition information you chose:
+
+$(fdisk ${_disk})
+__EOT
+}
+
+md_prep_disklabel() {
+ local _disk=$1
+
+ md_prep_fdisk $_disk
+
+ cat <<__EOT
+
+You will now create an OpenBSD disklabel inside the OpenBSD MBR
+partition. The disklabel defines how OpenBSD splits up the MBR partition
+into OpenBSD partitions in which filesystems and swap space are created.
+
+The offsets used in the disklabel are ABSOLUTE, i.e. relative to the
+start of the disk, NOT the start of the OpenBSD MBR partition.
+
+__EOT
+
+ md_checkfordisklabel $_disk
+ case $? in
+ 2) echo "WARNING: Label on disk $_disk is corrupted. You will be repairing it.\n"
+ ;;
+ esac
+
+ disklabel -W $_disk >/dev/null 2>&1
+ disklabel -f /tmp/fstab.$_disk -E $_disk
+}
+
+md_congrats() {
+}
diff --git a/distrib/armish/ramdisk/list b/distrib/armish/ramdisk/list
new file mode 100644
index 00000000000..05743208d55
--- /dev/null
+++ b/distrib/armish/ramdisk/list
@@ -0,0 +1,83 @@
+# $OpenBSD: list,v 1.1 2006/06/06 00:01:49 drahn Exp $
+
+SRCDIRS distrib/special
+SRCDIRS usr.bin bin sbin usr.sbin
+
+# copy the crunched binary, link to it, and kill it
+COPY ${OBJDIR}/instbin instbin
+LINK instbin bin/cat
+LINK instbin bin/chmod bin/chgrp sbin/chown
+LINK instbin bin/cp
+LINK instbin bin/dd
+LINK instbin bin/df
+LINK instbin bin/ed
+LINK instbin bin/expr
+LINK instbin bin/hostname
+LINK instbin bin/ksh bin/sh
+ARGVLINK ksh -sh
+LINK instbin bin/ln
+LINK instbin bin/ls
+LINK instbin bin/mkdir
+LINK instbin bin/mt bin/eject
+LINK instbin bin/mv
+LINK instbin bin/pax bin/tar bin/cpio
+LINK instbin bin/rm
+LINK instbin bin/stty
+LINK instbin bin/sync
+LINK instbin sbin/dhclient
+LINK instbin sbin/disklabel
+LINK instbin sbin/dmesg
+LINK instbin sbin/fdisk
+LINK instbin sbin/fsck
+LINK instbin sbin/fsck_ext2fs
+LINK instbin sbin/fsck_ffs
+LINK instbin sbin/ifconfig
+LINK instbin sbin/init
+LINK instbin sbin/mknod
+LINK instbin sbin/mount
+LINK instbin sbin/mount_cd9660
+LINK instbin sbin/mount_ext2fs
+LINK instbin sbin/mount_ffs
+LINK instbin sbin/mount_msdos
+LINK instbin sbin/mount_nfs
+LINK instbin sbin/newfs
+LINK instbin sbin/newfs_msdos
+LINK instbin sbin/ping
+LINK instbin sbin/ping6
+LINK instbin sbin/reboot sbin/halt
+LINK instbin sbin/route
+LINK instbin sbin/rtsol
+LINK instbin sbin/umount
+#LINK instbin sbin/wicontrol
+LINK instbin usr/bin/ftp
+LINK instbin usr/bin/grep usr/bin/fgrep usr/bin/egrep
+LINK instbin usr/bin/gzip usr/bin/gunzip usr/bin/gzcat
+LINK instbin usr/bin/less usr/bin/more
+LINK instbin usr/bin/sed
+LINK instbin bin/sleep
+
+# copy the MAKEDEV script and make some devices
+SCRIPT ${DESTDIR}/dev/MAKEDEV dev/MAKEDEV
+SPECIAL cd dev; sh MAKEDEV ramdisk
+
+# various files that we need in /etc for the install
+COPY ${DESTDIR}/etc/group etc/group
+COPY ${DESTDIR}/etc/spwd.db etc/spwd.db
+COPY ${CURDIR}/../../miniroot/protocols etc/protocols
+COPY ${CURDIR}/../../miniroot/services etc/services
+SYMLINK /tmp/disktab.shadow etc/disktab
+SYMLINK /tmp/fstab.shadow etc/fstab
+SYMLINK /tmp/resolv.conf.shadow etc/resolv.conf
+SYMLINK /tmp/hosts etc/hosts
+TERMCAP vt100,vt220,dumb usr/share/misc/termcap
+
+# dhcp things
+SCRIPT ${DESTDIR}/sbin/dhclient-script sbin/dhclient-script
+
+# and the installation tools
+SCRIPT ${CURDIR}/../../miniroot/dot.profile .profile
+SCRIPT ${CURDIR}/install.md install.md
+SCRIPT ${CURDIR}/../../miniroot/upgrade.sh upgrade
+SCRIPT ${CURDIR}/../../miniroot/install.sh install
+SCRIPT ${CURDIR}/../../miniroot/install.sub install.sub
+SPECIAL chmod 755 install upgrade sbin/dhclient-script
diff --git a/distrib/sets/lists/comp/mi b/distrib/sets/lists/comp/mi
index 423002d2ce8..381b3dbe47d 100644
--- a/distrib/sets/lists/comp/mi
+++ b/distrib/sets/lists/comp/mi
@@ -1830,6 +1830,8 @@
./usr/share/man/cat2/amd64/amd64_set_ioperm.0
./usr/share/man/cat2/amd64/amd64_set_ldt.0
./usr/share/man/cat2/amd64/amd64_set_mtrr.0
+./usr/share/man/cat2/armish/arm_drain_writebuf.0
+./usr/share/man/cat2/armish/arm_sync_icache.0
./usr/share/man/cat2/bind.0
./usr/share/man/cat2/brk.0
./usr/share/man/cat2/cats/arm_drain_writebuf.0
diff --git a/distrib/sets/lists/man/mi b/distrib/sets/lists/man/mi
index 1a7b323f203..7e14723690b 100644
--- a/distrib/sets/lists/man/mi
+++ b/distrib/sets/lists/man/mi
@@ -150,6 +150,7 @@
./usr/share/man/cat1/apply.0
./usr/share/man/cat1/apropos.0
./usr/share/man/cat1/arch.0
+./usr/share/man/cat1/armish
./usr/share/man/cat1/at.0
./usr/share/man/cat1/atq.0
./usr/share/man/cat1/atrm.0
@@ -690,12 +691,14 @@
./usr/share/man/cat2
./usr/share/man/cat2/alpha
./usr/share/man/cat2/amd64
+./usr/share/man/cat2/armish
./usr/share/man/cat2/cats
./usr/share/man/cat2/i386
./usr/share/man/cat2/zaurus
./usr/share/man/cat3
./usr/share/man/cat3/alpha
./usr/share/man/cat3/amd64
+./usr/share/man/cat3/armish
./usr/share/man/cat3/aviion
./usr/share/man/cat3/cats
./usr/share/man/cat3/hp300
@@ -1137,6 +1140,7 @@
./usr/share/man/cat4/aps.0
./usr/share/man/cat4/arandom.0
./usr/share/man/cat4/aria.0
+./usr/share/man/cat4/armish
./usr/share/man/cat4/arp.0
./usr/share/man/cat4/art.0
./usr/share/man/cat4/asbtm.0
@@ -1843,6 +1847,7 @@
./usr/share/man/cat5/alpha
./usr/share/man/cat5/amd64
./usr/share/man/cat5/ar.0
+./usr/share/man/cat5/armish
./usr/share/man/cat5/aviion
./usr/share/man/cat5/bgpd.conf.0
./usr/share/man/cat5/bootparams.0
@@ -2055,6 +2060,9 @@
./usr/share/man/cat8/amq.0
./usr/share/man/cat8/apachectl.0
./usr/share/man/cat8/apxs.0
+./usr/share/man/cat8/armish
+./usr/share/man/cat8/armish/MAKEDEV.0
+./usr/share/man/cat8/armish/hotplugd.0
./usr/share/man/cat8/arp.0
./usr/share/man/cat8/atactl.0
./usr/share/man/cat8/authpf.0
@@ -2523,6 +2531,7 @@
./usr/share/man/cat9
./usr/share/man/cat9/alpha
./usr/share/man/cat9/amd64
+./usr/share/man/cat9/armish
./usr/share/man/cat9/aviion
./usr/share/man/cat9/cats
./usr/share/man/cat9/hp300
@@ -2548,6 +2557,7 @@
./usr/share/man/man1
./usr/share/man/man1/alpha
./usr/share/man/man1/amd64
+./usr/share/man/man1/armish
./usr/share/man/man1/aviion
./usr/share/man/man1/cats
./usr/share/man/man1/hp300
@@ -2571,6 +2581,7 @@
./usr/share/man/man4
./usr/share/man/man4/alpha
./usr/share/man/man4/amd64
+./usr/share/man/man4/armish
./usr/share/man/man4/aviion
./usr/share/man/man4/cats
./usr/share/man/man4/hp300
@@ -2594,6 +2605,7 @@
./usr/share/man/man8
./usr/share/man/man8/alpha
./usr/share/man/man8/amd64
+./usr/share/man/man8/armish
./usr/share/man/man8/aviion
./usr/share/man/man8/cats
./usr/share/man/man8/hp300
@@ -2615,6 +2627,7 @@
./usr/share/man/ps1
./usr/share/man/ps1/alpha
./usr/share/man/ps1/amd64
+./usr/share/man/ps1/armish
./usr/share/man/ps1/aviion
./usr/share/man/ps1/cats
./usr/share/man/ps1/hp300
@@ -2635,6 +2648,7 @@
./usr/share/man/ps2
./usr/share/man/ps2/alpha
./usr/share/man/ps2/amd64
+./usr/share/man/ps2/armish
./usr/share/man/ps2/aviion
./usr/share/man/ps2/cats
./usr/share/man/ps2/i386
@@ -2642,6 +2656,7 @@
./usr/share/man/ps3
./usr/share/man/ps3/alpha
./usr/share/man/ps3/amd64
+./usr/share/man/ps3/armish
./usr/share/man/ps3/aviion
./usr/share/man/ps3/cats
./usr/share/man/ps3/hp300
@@ -2663,6 +2678,7 @@
./usr/share/man/ps4
./usr/share/man/ps4/alpha
./usr/share/man/ps4/amd64
+./usr/share/man/ps4/armish
./usr/share/man/ps4/aviion
./usr/share/man/ps4/cats
./usr/share/man/ps4/hp300
@@ -2683,6 +2699,7 @@
./usr/share/man/ps5
./usr/share/man/ps5/alpha
./usr/share/man/ps5/amd64
+./usr/share/man/ps5/armish
./usr/share/man/ps5/aviion
./usr/share/man/ps5/cats
./usr/share/man/ps5/hp300
@@ -2705,6 +2722,7 @@
./usr/share/man/ps8
./usr/share/man/ps8/alpha
./usr/share/man/ps8/amd64
+./usr/share/man/ps8/armish
./usr/share/man/ps8/aviion
./usr/share/man/ps8/cats
./usr/share/man/ps8/hp300
@@ -2725,6 +2743,7 @@
./usr/share/man/ps9
./usr/share/man/ps9/alpha
./usr/share/man/ps9/amd64
+./usr/share/man/ps9/armish
./usr/share/man/ps9/aviion
./usr/share/man/ps9/cats
./usr/share/man/ps9/hp300
diff --git a/etc/Makefile b/etc/Makefile
index 52017fe933e..44ea3371896 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.235 2006/06/03 19:33:35 deraadt Exp $
+# $OpenBSD: Makefile,v 1.236 2006/06/06 00:01:49 drahn Exp $
TZDIR= /usr/share/zoneinfo
LOCALTIME= Canada/Mountain
@@ -330,6 +330,7 @@ snap_md:
MAKEDEVARCHS+= alpha
MAKEDEVARCHS+= amd64
+MAKEDEVARCHS+= armish
MAKEDEVARCHS+= aviion
MAKEDEVARCHS+= cats
MAKEDEVARCHS+= hp300
@@ -381,7 +382,7 @@ distrib:
DHSIZE=1024 1536 2048 3072 4096
update-moduli:
( \
- echo '# $$OpenBSD: Makefile,v 1.235 2006/06/03 19:33:35 deraadt Exp $$'; \
+ echo '# $$OpenBSD: Makefile,v 1.236 2006/06/06 00:01:49 drahn Exp $$'; \
echo '# Time Type Tests Tries Size Generator Modulus'; \
( for i in ${DHSIZE}; do \
ssh-keygen -b $$i -G /dev/stdout; \
diff --git a/etc/etc.armish/MAKEDEV.md b/etc/etc.armish/MAKEDEV.md
new file mode 100644
index 00000000000..b04868e7a65
--- /dev/null
+++ b/etc/etc.armish/MAKEDEV.md
@@ -0,0 +1,114 @@
+vers(__file__,
+ {-$OpenBSD: MAKEDEV.md,v 1.1 2006/06/06 00:01:49 drahn Exp $-},
+etc.MACHINE)dnl
+dnl
+dnl Copyright (c) 2001-2004 Todd T. Fries <todd@OpenBSD.org>
+dnl All rights reserved.
+dnl
+dnl Redistribution and use in source and binary forms, with or without
+dnl modification, are permitted provided that the following conditions
+dnl are met:
+dnl 1. Redistributions of source code must retain the above copyright
+dnl notice, this list of conditions and the following disclaimer.
+dnl 2. The name of the author may not be used to endorse or promote products
+dnl derived from this software without specific prior written permission.
+dnl
+dnl THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
+dnl INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
+dnl AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
+dnl THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+dnl EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+dnl PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+dnl OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+dnl WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+dnl OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+dnl ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+dnl
+dnl
+__devitem(apm, apm, Power management device)dnl
+_TITLE(make)
+_DEV(all)
+_DEV(ramdisk)
+_DEV(std)
+_DEV(local)
+_TITLE(dis)
+_DEV(ccd, 21, 21)
+_DEV(cd, 26, 26)
+_DEV(ch, 27)
+_DEV(raid, 71, 71)
+_DEV(rd, 18, 18)
+_DEV(sd, 24, 24)
+_DEV(vnd, 19, 19)
+_DEV(wd, 16, 16)
+_TITLE(tap)
+_DEV(st, 25, 25)
+_TITLE(term)
+dnl _DEV(com, 12)
+dnl _DEV(fcom, 54)
+_DEV(com, 12)
+_TITLE(pty)
+_DEV(ptm, 98)
+_DEV(pty, 5)
+_DEV(tty, 4)
+_TITLE(cons)
+_DEV(wscons)
+_DEV(wsdisp, 60)
+_DEV(wskbd, 61)
+_DEV(wsmouse, 62)
+_DEV(wsmux, 63)
+_TITLE(usb)
+_DEV(uall)
+_DEV(ttyU, 68)
+_DEV(ugen, 70)
+_DEV(uhid, 65)
+_DEV(ulpt, 66)
+_DEV(urio, 67)
+_DEV(usb, 64)
+_DEV(uscan, 69)
+_TITLE(spec)
+_DEV(apm, 34)
+_DEV(au, 36)
+_DEV(hotplug, 37)
+_DEV(bktr, 75)
+_DEV(bpf, 22)
+_DEV(cry, 47)
+_DEV(fdesc, 7)
+_DEV(iop, 73)
+_DEV(lkm, 35)
+_DEV(pci, 71)
+_DEV(pf, 46)
+_DEV(radio, 97)
+_DEV(rnd, 40)
+_DEV(tun, 33)
+_DEV(uk, 28)
+_DEV(ss, 29)
+_DEV(systrace, 50)
+_DEV(tuner, 75)
+_DEV(xfs, 51)
+dnl
+divert(__mddivert)dnl
+dnl
+ramdisk)
+ _recurse std bpf0 wd0 wd1 sd0 tty00 rd0 wsmouse
+ _recurse st0 ttyC0 random wskbd0 apm
+ ;;
+
+_std(1, 2, 8, 3, 6)
+ ;;
+dnl
+dnl *** armish specific targets
+dnl
+target(all, ch, 0)dnl
+target(all, ss, 0, 1)dnl
+target(all, xfs, 0)dnl
+twrget(all, flo, fd, 0, 0B, 0C, 0D, 0E, 0F, 0G, 0H)dnl
+twrget(all, flo, fd, 1, 1B, 1C, 1D, 1E, 1F, 1G, 1H)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, xy, 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, vnd, 0, 1, 2, 3)dnl
+target(all, ccd, 0, 1, 2, 3)dnl
diff --git a/etc/etc.armish/Makefile.inc b/etc/etc.armish/Makefile.inc
new file mode 100644
index 00000000000..a7924d2c921
--- /dev/null
+++ b/etc/etc.armish/Makefile.inc
@@ -0,0 +1,20 @@
+# $OpenBSD: Makefile.inc,v 1.1 2006/06/06 00:01:49 drahn Exp $
+# etc.armish/Makefile.inc -- armish-specific etc Makefile targets
+
+.ifdef DESTDIR
+snap_md: bsd notes distrib
+ cp ${.CURDIR}/../sys/arch/armish/compile/GENERIC/bsd \
+ ${DESTDIR}/snapshot/bsd
+
+bsd:
+ cd ${.CURDIR}/../sys/arch/armish/conf && config GENERIC
+ cd ${.CURDIR}/../sys/arch/armish/compile/GENERIC && \
+ ${MAKE} clean && ${MAKE} depend && exec ${MAKE}
+
+notes:
+ cp ${.CURDIR}/etc.i386/INSTALL.* ${DESTDIR}/snapshot
+
+
+.PHONY: bsd notes
+
+.endif # DESTDIR check
diff --git a/etc/etc.armish/disktab b/etc/etc.armish/disktab
new file mode 100644
index 00000000000..82e2731fa17
--- /dev/null
+++ b/etc/etc.armish/disktab
@@ -0,0 +1,875 @@
+# $OpenBSD: disktab,v 1.1 2006/06/06 00:01:49 drahn 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-h] partition sizes in sectors
+# b[a-h] partition block sizes in bytes
+# f[a-h] partition fragment sizes in bytes
+#
+
+
+# Leave nc=16; adjust size using: ns
+rdroot|ramdiskroot|RAM-disk root FS image:\
+ :ty=simulated:se#512:nc#16:nt#2:ns#256:\
+ :ta=4.2BSD:oa#0:pa#8192:fa#512:ba#4096:\
+ :ob#0:pb#0:oc#0:pc#8192:
+
+
+rdroot2.5M|ramdiskroot2.5M|RAM-disk root FS image:\
+ :ty=simulated:se#512:nc#16:nt#2:ns#160:\
+ :oa#0:pa#5120:ta=4.2BSD:fa#512:ba#4096:\
+ :ob#0:pb#0:tb=swap:\
+ :oc#0:pc#5120:
+
+# pseudo-geometry taken from rd794
+miniroot:\
+ :ty=winchester:ns#16:nt#7:nc#968:\
+ :pa#10240:ba#8192:fa#1024:
+
+floppy|floppy3|3in|3.5in High Density Floppy:\
+ :ty=floppy:se#512:nt#2:rm#300:ns#18:nc#80:\
+ :pa#2880:oa#0:ba#4096:fa#512:\
+ :pb#2880:ob#0:\
+ :pc#2880:oc#0:
+
+ASI-1.0GIBM:\
+ :ty#winchester:ns#80:nt#15:nc#1632:
+
+Arte DEC DSP3160S:\
+ :ty#winchester:ns#112:nt#16:nc#1744:
+
+CDC 9720-850:\
+ :ty#XD7053:ns#66:nt#15:nc#1358:
+
+CDC EMD 9720:\
+ :ty#XD7053:ns#48:nt#10:nc#1147:
+
+CDC EMD 9720-1230:\
+ :ty#XD7053:ns#82:nt#15:nc#1633:
+
+CDC IPI 9720:\
+ :ty#ISP-80:ns#82:nt#15:nc#1631:\
+ :pa#33210:oa#0:ba#8192:\
+ :pb#131610:ob#33210:\
+ :pc#2006130:oc#0:\
+ :pg#196800:og#164820:\
+ :ph#1644510:oh#361620:
+
+CDC IPI 9722:\
+ :ty#ISP-80:ns#156:nt#7:nc#1630:\
+ :pa#33852:oa#0:ba#8192:\
+ :pb#132132:ob#33852:\
+ :pc#1779960:oc#0:\
+ :pg#197652:og#165984:\
+ :ph#1416324:oh#363636:
+
+CDC Wren IV 94171-344:\
+ :ty#winchester:ns#46:nt#9:nc#1545:
+
+CONNER 30170E:\
+ :ty#winchester:ns#46:nt#8:nc#897:\
+ :pa#14720:oa#0:ba#8192:\
+ :pb#40480:ob#14720:\
+ :pc#330096:oc#0:\
+ :pg#274896:og#55200:
+
+CONNER 30200:\
+ :ty#winchester:ns#49:nt#4:nc#2121:\
+ :pc#415716:oc#0:
+
+CONNER CFP4207S 4.28GB:\
+ :ty#winchester:ns#125:nt#20:nc#3353:\
+ :pc#8382500:oc#0:
+
+CONNER CP3500-540MB-3.5:\
+ :ty#winchester:ns#50:nt#12:nc#1768:\
+ :pc#1060800:oc#0:
+
+CP3100:\
+ :ty#winchester:ns#49:nt#4:nc#1023:\
+ :pc#204864:oc#0:
+
+Conner CFP1060:\
+ :ty#winchester:ns#111:nt#8:nc#2329:
+
+Conner CP3540:\
+ :ty#winchester:ns#49:nt#12:nc#1805:
+
+DEC DSP3107L:\
+ :ty#winchester:ns#83:nt#8:nc#3147:\
+ :pc#2089608:oc#0:
+
+DEC DSP3210 2 GB:\
+ :ty#winchester:ns#86:nt#16:nc#3040:\
+ :pc#4183040:oc#0:
+
+DEC DSP5200:\
+ :ty#winchester:ns#71:nt#21:nc#2619:\
+ :pa#32802:oa#0:ba#8192:\
+ :pb#65604:ob#32802:\
+ :pc#3904929:oc#0:\
+ :pg#3806523:og#98406:
+
+DEC DSP5350:\
+ :ty#winchester:ns#91:nt#25:nc#3053:
+
+DEC_RZ26:\
+ :ty#winchester:ns#57:nt#14:nc#2568:\
+ :pa#66234:oa#0:ba#8192:\
+ :pb#132468:ob#66234:\
+ :pc#2049264:oc#0:\
+ :pg#1850562:og#198702:
+
+DEC_RZ28:\
+ :ty#winchester:ns#84:nt#16:nc#3043:\
+ :pa#64512:oa#0:ba#8192:\
+ :pb#196224:ob#64512:\
+ :pc#4089792:oc#0:\
+ :pg#3827712:og#260736:
+
+DEC_RZ58:\
+ :ty#winchester:ns#85:nt#15:nc#2112:
+
+DEC_RZ58_whole_disk:\
+ :\
+ :pc#2692800:oc#0:
+
+DEC_RZ74:\
+ :ty#winchester:ns#91:nt#25:nc#3053:\
+ :pa#65975:oa#0:ba#8192:\
+ :pb#193375:ob#65975:\
+ :pc#4192825:oc#0:\
+ :pg#3931200:og#259350:\
+ :ph#2752750:oh#4192825:
+
+Fujitsu M2243AS:\
+ :ty#ACB4000:ns#17:nt#11:nc#752:
+
+Fujitsu M2246E:\
+ :ty#winchester:ns#35:nt#6:nc#1196:\
+ :pa#16170:oa#0:ba#8192:\
+ :pb#28140:ob#16170:\
+ :pc#251160:oc#0:\
+ :pg#206850:og#44310:
+
+Fujitsu M2263SA:\
+ :ty#winchester:ns#53:nt#15:nc#1652:
+
+Fujitsu M2266SA 1.2GB:\
+ :ty#winchester:ns#85:nt#15:nc#1652:
+
+Fujitsu M2266SA 1GB:\
+ :ty#winchester:ns#85:nt#15:nc#1642:
+
+Fujitsu M2344K:\
+ :ty#XD7053:ns#64:nt#27:nc#622:
+
+Fujitsu M2511A:\
+ :ty#winchester:ns#25:nt#1:nc#9950:
+
+Fujitsu M2512A small:\
+ :ty#winchester:ns#25:nt#1:nc#9950:\
+ :pc#248750:oc#0:
+
+Fujitsu M2512A v2:\
+ :ty#winchester:ns#25:nt#1:nc#17840:\
+ :pc#446000:oc#0:
+
+Fujitsu M2622SA:\
+ :ty#winchester:ns#64:nt#7:nc#1429:\
+ :pc#640192:oc#0:
+
+Fujitsu M2624FA:\
+ :ty#winchester:ns#64:nt#11:nc#1440:\
+ :pa#22528:oa#0:ba#8192:\
+ :pb#67584:ob#22528:\
+ :pc#1013760:oc#0:\
+ :pg#450560:og#90112:\
+ :ph#473088:oh#540672:
+
+Fujitsu M2652SA:\
+ :ty#winchester:ns#88:nt#20:nc#1935:
+
+Fujitsu M2654SA:\
+ :ty#winchester:ns#88:nt#21:nc#2174:
+
+Fujitsu M2684S:\
+ :ty#SCSI:ns#74:nt#6:nc#2338:
+
+Fujitsu-M2284/M2322:\
+ :ty#XY450:ns#32:nt#10:nc#821:
+
+Fujitsu-M2312K:\
+ :ty#XY450:ns#32:nt#7:nc#587:
+
+Fujitsu-M2333:\
+ :ty#XD7053:ns#67:nt#10:nc#821:
+
+Fujitsu-M2351 Eagle:\
+ :ty#XD7053:ns#46:nt#20:nc#840:
+
+Fujitsu-M2361 Eagle:\
+ :ty#XD7053:ns#67:nt#20:nc#840:
+
+Fujitsu-M2372K:\
+ :ty#XD7053:ns#67:nt#27:nc#743:
+
+Fujitsu-M2382:\
+ :ty#XD7053:ns#81:nt#27:nc#743:\
+ :pa#80919:oa#0:ba#8192:\
+ :pb#129033:ob#80919:\
+ :pc#1624941:oc#0:\
+ :pd#470205:od#209952:\
+ :pe#944784:oe#680157:\
+ :pf#209952:of#0:\
+ :pg#1414989:og#209952:\
+ :ph#1544022:oh#80919:
+
+Fujitsu-M2624S-512:\
+ :ty#winchester:ns#64:nt#11:nc#1429:
+
+Fujitsu-M2651SA:\
+ :ty#winchester:ns#88:nt#16:nc#1934:\
+ :pc#2723072:oc#0:
+
+Fujitsu-M2694ESA:\
+ :ty#winchester:ns#77:nt#15:nc#1830:
+
+HP 97549T:\
+ :ty#winchester:ns#64:nt#16:nc#1909:
+
+HP 97556:\
+ :ty#winchester:ns#72:nt#11:nc#1668:
+
+HP 97558:\
+ :ty#winchester:ns#72:nt#15:nc#1933:
+
+HP 97560:\
+ :ty#winchester:ns#72:nt#19:nc#1933:
+
+HP C2247 1.05GB:\
+ :ty#winchester:ns#95:nt#13:nc#1661:\
+ :pc#2051335:oc#0:\
+ :pg#1640080:og#0:\
+ :ph#411255:oh#1640080:
+
+HP C3010 / Cranel 2.0GB Fast SCSI2 H10:\
+ :ty#winchester:ns#95:nt#19:nc#2165:
+
+HP97548SU 664MB:\
+ :ty#winchester:ns#56:nt#16:nc#1445:\
+ :pa#35840:oa#0:ba#8192:\
+ :pb#71680:ob#35840:\
+ :pc#1294720:oc#0:\
+ :pg#197120:og#215040:\
+ :ph#342720:oh#609280:
+
+Hewlett Packard C2490A:\
+ :ty#winchester:ns#107:nt#18:nc#2159:
+
+Hewlett Packard C3323A:\
+ :ty#winchester:ns#98:nt#7:nc#2995:
+
+Hewlett Packard C3725S:\
+ :ty#winchester:ns#140:nt#9:nc#3362:\
+ :pc#4236120:oc#0:\
+ :ph#4193280:oh#1260:
+
+Hitachi DK315C-10:\
+ :ty#winchester:ns#75:nt#11:nc#2467:
+
+Hitachi DK315C-11:\
+ :ty#winchester:ns#58:nt#15:nc#2478:
+
+Hitachi DK315C-14:\
+ :ty#winchester:ns#75:nt#15:nc#2462:
+
+Hitachi DK326C-10:\
+ :ty#winchester:ns#87:nt#7:nc#3200:
+
+Hitachi DK326C-6:\
+ :ty#winchester:ns#87:nt#4:nc#3200:
+
+Hitachi DK515C-78:\
+ :ty#winchester:ns#69:nt#14:nc#1354:
+
+Hitachi DK516C-16:\
+ :ty#winchester:ns#80:nt#15:nc#2170:
+
+Hitachi DK517C-37:\
+ :ty#winchester:ns#81:nt#21:nc#3297:
+
+Hitachi DK815-10:\
+ :ty#XD7053:ns#67:nt#15:nc#1735:
+
+IBM 0662-S12:\
+ :ty#winchester:ns#114:nt#6:nc#3002:
+
+IBM 0662S12:\
+ :ty#winchester:ns#108:nt#5:nc#3803:
+
+IBM 0663-E15:\
+ :ty#winchester:ns#37:nt#20:nc#3182:
+
+IBM 0663L12:\
+ :ty#winchester:ns#66:nt#15:nc#1979:\
+ :pc#1959210:oc#0:
+
+IBM 0664-M1H/N1H:\
+ :ty#winchester:ns#86:nt#16:nc#2856:
+
+IBM 0664CSH:\
+ :ty#winchester:ns#125:nt#30:nc#2787:
+
+IBM 0664M1H:\
+ :ty#winchester:ns#94:nt#15:nc#2787:
+
+IBM DFHSS1x:\
+ :ty#winchester:ns#125:nt#4:nc#4383:
+
+IBM DFHSS2x:\
+ :ty#winchester:ns#125:nt#8:nc#4388:
+
+IBM DFHSS4x:\
+ :ty#winchester:ns#125:nt#16:nc#4390:
+
+IBM DPES-31080:\
+ :ty#winchester:ns#108:nt#4:nc#4901:\
+ :pc#2117232:oc#0:
+
+IBM DSAS-3270:\
+ :ty#winchester:ns#108:nt#2:nc#2542:
+
+IBM DSAS-3360:\
+ :ty#winchester:ns#108:nt#2:nc#3297:
+
+IBM DSAS-3540:\
+ :ty#winchester:ns#108:nt#3:nc#3259:
+
+IBM DSAS-3720:\
+ :ty#winchester:ns#108:nt#4:nc#3292:
+
+IBM OEM 0664M1H:\
+ :ty#winchester:ns#94:nt#15:nc#2787:
+
+IBM OEM DFHSS2F:\
+ :ty#winchester:ns#135:nt#8:nc#4076:\
+ :pa#4100760:oa#0:ba#8192:\
+ :pb#301320:ob#4100760:
+
+MAXOPTIX (NON-ISO, 1024b) DATA:\
+ :ty#winchester:ns#66:nt#1:nc#15104:
+
+MAXOPTIX (NON-ISO, 1024b) SYSTEM:\
+ :ty#winchester:ns#66:nt#1:nc#15104:
+
+MAXOPTIX (NON-ISO, 512b) DATA:\
+ :ty#winchester:ns#60:nt#1:nc#15081:
+
+MAXOPTIX (NON-ISO, 512b) SYSTEM:\
+ :ty#winchester:ns#60:nt#1:nc#15081:
+
+MICROP 4221-09MZ 10204:\
+ :ty#winchester:ns#139:nt#9:nc#3198:\
+ :pc#4000698:oc#0:
+
+MICROPOLIS 1991-27:\
+ :ty#winchester:ns#149:nt#27:nc#4400:
+
+MICROPOLIS 3243-19:\
+ :ty#winchester:ns#106:nt#19:nc#4139:
+
+MICROPOLIS 4110-09:\
+ :ty#winchester:ns#95:nt#9:nc#2283:
+
+Maxtor 7213SR NB:\
+ :ty#winchester:ns#65:nt#4:nc#1595:\
+ :pc#414700:oc#0:\
+ :pg#414700:og#0:
+
+Maxtor DXP3105S:\
+ :ty#winchester:ns#57:nt#14:nc#2568:
+
+Maxtor LXT-200S:\
+ :ty#winchester:ns#43:nt#7:nc#1117:
+
+Maxtor LXT-340SY:\
+ :ty#winchester:ns#70:nt#7:nc#1355:
+
+Maxtor LXT535ST:\
+ :ty#winchester:ns#61:nt#11:nc#1547:\
+ :pc#1038037:oc#0:
+
+Maxtor MXT1240S:\
+ :ty#winchester:ns#70:nt#15:nc#2306:\
+ :pc#2421300:oc#0:\
+ :pg#2421300:og#0:
+
+Maxtor P0-12S (1632):\
+ :ty#winchester:ns#90:nt#15:nc#1478:\
+ :pc#1995300:oc#0:\
+ :pg#1995300:og#0:
+
+Maxtor P0-12S (1795):\
+ :ty#winchester:ns#90:nt#15:nc#1510:\
+ :pc#2038500:oc#0:\
+ :pg#2038500:og#0:
+
+Maxtor P1-17S:\
+ :ty#winchester:ns#83:nt#19:nc#1816:\
+ :pa#78850:oa#0:ba#8192:\
+ :pb#78850:ob#78850:\
+ :pc#2863832:oc#0:\
+ :pd#78850:od#157700:\
+ :pg#2469582:og#236550:\
+ :ph#78850:oh#2706132:
+
+Maxtor P1-17S NB:\
+ :ty#winchester:ns#90:nt#19:nc#1711:\
+ :pc#2925810:oc#0:\
+ :pg#2925810:og#0:
+
+Maxtor XT-1050:\
+ :ty#ACB4000:ns#17:nt#5:nc#1020:
+
+Maxtor XT-3280S:\
+ :ty#winchester:ns#25:nt#15:nc#1222:
+
+Maxtor XT-4380S:\
+ :ty#winchester:ns#36:nt#15:nc#1202:
+
+Maxtor XT-8380S:\
+ :ty#winchester:ns#53:nt#8:nc#1626:
+
+Maxtor XT-8610E:\
+ :ty#winchester:ns#52:nt#12:nc#1626:
+
+Maxtor XT-8760E:\
+ :ty#winchester:ns#50:nt#15:nc#1616:\
+ :pa#97500:oa#0:ba#8192:\
+ :pb#63750:ob#658500:\
+ :pc#1212000:oc#0:\
+ :pd#280500:od#97500:\
+ :pe#280500:oe#378000:\
+ :pf#489750:of#722250:\
+ :pg#561000:og#97500:\
+ :ph#658500:oh#0:
+
+Maxtor XT-8760S:\
+ :ty#winchester:ns#54:nt#15:nc#1614:
+
+Micropolis 1304:\
+ :ty#ACB4000:ns#17:nt#6:nc#825:
+
+Micropolis 1325:\
+ :ty#ACB4000:ns#17:nt#8:nc#1022:
+
+Micropolis 1355:\
+ :ty#winchester:ns#34:nt#8:nc#1018:
+
+Micropolis 1528-15:\
+ :ty#winchester:ns#83:nt#15:nc#2102:\
+ :pa#32370:oa#0:ba#8192:\
+ :pb#64740:ob#32370:\
+ :pc#2616990:oc#0:\
+ :pg#2519880:og#97110:
+
+Micropolis 1548-15:\
+ :ty#winchester:ns#131:nt#15:nc#1701:\
+ :pa#33405:oa#0:ba#8192:\
+ :pb#66810:ob#33405:\
+ :pc#3342465:oc#0:\
+ :pg#3242250:og#100215:
+
+Micropolis 1558:\
+ :ty#winchester:ns#35:nt#15:nc#1218:
+
+Micropolis 1578-15:\
+ :ty#winchester:ns#35:nt#15:nc#1231:\
+ :pa#32550:oa#0:ba#8192:\
+ :pb#65100:ob#32550:\
+ :pc#646275:oc#0:\
+ :pg#548625:og#97650:
+
+Micropolis 1588-15:\
+ :ty#winchester:ns#53:nt#15:nc#1637:\
+ :pa#32595:oa#0:ba#8192:\
+ :pb#65190:ob#32595:\
+ :pc#1301415:oc#0:\
+ :pg#1203630:og#97785:
+
+Micropolis 1598-15:\
+ :ty#winchester:ns#70:nt#15:nc#1931:\
+ :pa#32550:oa#0:ba#8192:\
+ :pb#65100:ob#32550:\
+ :pc#2027550:oc#0:\
+ :pg#1929900:og#97650:
+
+Micropolis 1624-7:\
+ :ty#winchester:ns#114:nt#7:nc#1647:\
+ :pa#32718:oa#0:ba#8192:\
+ :pb#65436:ob#32718:\
+ :pc#1314306:oc#0:\
+ :pg#1216152:og#98154:
+
+Micropolis 1674-7:\
+ :ty#winchester:ns#35:nt#7:nc#1255:\
+ :pa#16415:oa#0:ba#8192:\
+ :pb#32830:ob#16415:\
+ :pc#307475:oc#0:\
+ :pg#258230:og#49245:
+
+Micropolis 1684-7:\
+ :ty#winchester:ns#53:nt#7:nc#1785:\
+ :pa#32648:oa#0:ba#8192:\
+ :pb#65296:ob#32648:\
+ :pc#662235:oc#0:\
+ :pg#564291:og#97944:
+
+Micropolis 1908-15:\
+ :ty#winchester:ns#95:nt#15:nc#1890:\
+ :pa#32775:oa#0:ba#8192:\
+ :pb#65550:ob#32775:\
+ :pc#2693250:oc#0:\
+ :pg#2594925:og#98325:
+
+Micropolis 1924-21:\
+ :ty#winchester:ns#94:nt#21:nc#2072:\
+ :pa#33558:oa#0:ba#8192:\
+ :pb#67116:ob#33558:\
+ :pc#4090128:oc#0:\
+ :pg#3989454:og#100674:
+
+Micropolis 1926-15:\
+ :ty#winchester:ns#101:nt#15:nc#2769:\
+ :pa#33330:oa#0:ba#8192:\
+ :pb#66660:ob#33330:\
+ :pc#4195035:oc#0:\
+ :pg#4095045:og#99990:
+
+Micropolis 1936-21:\
+ :ty#winchester:ns#101:nt#21:nc#2772:\
+ :pa#33936:oa#0:ba#8192:\
+ :pb#67872:ob#33936:\
+ :pc#5879412:oc#0:\
+ :pg#2846382:og#101808:\
+ :ph#2931222:oh#2948190:
+
+Micropolis 2105-8:\
+ :ty#winchester:ns#94:nt#8:nc#1448:\
+ :pa#32336:oa#0:ba#8192:\
+ :pb#64672:ob#32336:\
+ :pc#1088896:oc#0:\
+ :pg#991888:og#97008:
+
+Micropolis 2108-10:\
+ :ty#winchester:ns#94:nt#10:nc#1450:\
+ :pa#31960:oa#0:ba#8192:\
+ :pb#63920:ob#31960:\
+ :pc#1363000:oc#0:\
+ :pg#1267120:og#95880:
+
+Micropolis 2112-15:\
+ :ty#winchester:ns#94:nt#15:nc#1452:\
+ :pa#33840:oa#0:ba#8192:\
+ :pb#67680:ob#33840:\
+ :pc#2047320:oc#0:\
+ :pg#1945800:og#101520:
+
+Micropolis 2205-05:\
+ :ty#winchester:ns#109:nt#5:nc#2088:\
+ :pa#32700:oa#0:ba#8192:\
+ :pb#65400:ob#32700:\
+ :pc#1137960:oc#0:\
+ :pg#1039860:og#98100:
+
+Micropolis 2210-09:\
+ :ty#winchester:ns#109:nt#9:nc#2099:\
+ :pa#33354:oa#0:ba#8192:\
+ :pb#66708:ob#33354:\
+ :pc#2059119:oc#0:\
+ :pg#1959057:og#100062:
+
+Micropolis 2217-15:\
+ :ty#winchester:ns#109:nt#15:nc#2105:\
+ :pa#32700:oa#0:ba#8192:\
+ :pb#65400:ob#32700:\
+ :pc#3441675:oc#0:\
+ :pg#3343575:og#98100:
+
+Micropolis 4110:\
+ :ty#winchester:ns#114:nt#9:nc#1998:
+
+Micropolis 4221:\
+ :ty#winchester:ns#109:nt#9:nc#4079:\
+ :pa#4001499:oa#0:ba#8192:\
+ :pc#4001499:oc#0:
+
+NEC D2363:\
+ :ty#XD7053:ns#67:nt#27:nc#964:
+
+NEC-D2352:\
+ :ty#XD7053:ns#57:nt#19:nc#758:
+
+QUANTUM EMPIRE_2100S:\
+ :ty#winchester:ns#137:nt#12:nc#2497:\
+ :pc#4105068:oc#0:
+
+QUANTUM LPS540S:\
+ :ty#winchester:ns#125:nt#4:nc#2113:
+
+QUANTUM PD1050iS:\
+ :ty#winchester:ns#92:nt#12:nc#1859:\
+ :pc#2052336:oc#0:
+
+QUANTUM XP34301:\
+ :ty#winchester:ns#118:nt#20:nc#3561:
+
+Quantum ELS 127S:\
+ :ty#winchester:ns#54:nt#3:nc#1541:
+
+Quantum ELS 170S:\
+ :ty#winchester:ns#54:nt#4:nc#1542:
+
+Quantum ELS 85S:\
+ :ty#winchester:ns#54:nt#2:nc#1535:
+
+Quantum Empire 1080S:\
+ :ty#winchester:ns#92:nt#16:nc#1431:
+
+Quantum Empire 540S:\
+ :ty#winchester:ns#92:nt#8:nc#1431:
+
+Quantum GoDrive 120S:\
+ :ty#winchester:ns#56:nt#4:nc#1067:
+
+Quantum GoDrive 160S:\
+ :ty#winchester:ns#58:nt#4:nc#1413:
+
+Quantum LPS 105S:\
+ :ty#winchester:ns#42:nt#4:nc#1221:
+
+Quantum LPS 120S:\
+ :ty#winchester:ns#60:nt#2:nc#1987:
+
+Quantum LPS 240S:\
+ :ty#winchester:ns#60:nt#4:nc#1995:
+
+Quantum LPS 270S:\
+ :ty#winchester:ns#76:nt#7:nc#992:
+
+Quantum LPS 525S:\
+ :ty#winchester:ns#70:nt#6:nc#2444:
+
+Quantum Lightning 730S:\
+ :ty#winchester:ns#63:nt#16:nc#1415:\
+ :pa#161280:oa#0:ba#8192:\
+ :pb#96768:ob#161280:\
+ :pc#1426320:oc#0:\
+ :pg#1168272:og#258048:
+
+Quantum PD 1050S:\
+ :ty#winchester:ns#70:nt#12:nc#2444:
+
+Quantum PD 120S:\
+ :ty#winchester:ns#42:nt#5:nc#1114:
+
+Quantum PD 1225S:\
+ :ty#winchester:ns#70:nt#14:nc#2442:
+
+Quantum PD 170S:\
+ :ty#winchester:ns#42:nt#7:nc#1117:
+
+Quantum PD 210S:\
+ :ty#winchester:ns#49:nt#7:nc#1189:
+
+Quantum PD 425S:\
+ :ty#winchester:ns#60:nt#9:nc#1540:
+
+Quantum PD 700S:\
+ :ty#winchester:ns#70:nt#8:nc#2441:
+
+Quantum ProDrive 80S:\
+ :ty#winchester:ns#34:nt#6:nc#832:
+
+Quantum XP32150:\
+ :ty#winchester:ns#109:nt#10:nc#3850:
+
+RICOH RO-5031E:\
+ :ty#winchester:ns#54:nt#15:nc#710:\
+ :pc#575100:oc#0:
+
+RZ24:\
+ :ty#winchester:ns#38:nt#8:nc#1344:\
+ :pc#409792:oc#0:
+
+RZ55:\
+ :ty#winchester:ns#35:nt#15:nc#1218:\
+ :pa#32025:oa#0:ba#8192:\
+ :pb#59850:ob#32025:\
+ :pc#639450:oc#0:\
+ :pg#547575:og#91875:
+
+SEAGATE ST11950N:\
+ :ty#winchester:ns#81:nt#15:nc#2715:\
+ :pc#3298725:oc#0:
+
+SEAGATE ST15230N:\
+ :ty#winchester:ns#111:nt#19:nc#3974:
+
+SEAGATE ST31200N:\
+ :ty#winchester:ns#85:nt#9:nc#2692:
+
+SEAGATE ST31230N:\
+ :ty#winchester:ns#104:nt#5:nc#3978:\
+ :pc#2068560:oc#0:
+
+SEAGATE ST32550N:\
+ :ty#winchester:ns#109:nt#11:nc#3495:\
+ :pc#4190505:oc#0:
+
+SEAGATE ST3600N:\
+ :ty#winchester:ns#79:nt#7:nc#1853:\
+ :pc#1024709:oc#0:
+
+ST83220K:\
+ :ty#"ISP-80":ns#102:nt#19:nc#2652:
+
+SUN0104:\
+ :ty#winchester:ns#35:nt#6:nc#974:
+
+SUN0121:\
+ :ty#winchester:ns#39:nt#4:nc#1520:
+
+SUN0207:\
+ :ty#winchester:ns#36:nt#9:nc#1254:
+
+SUN0327:\
+ :ty#winchester:ns#46:nt#9:nc#1545:
+
+SUN0424:\
+ :ty#winchester:ns#80:nt#9:nc#1151:
+
+SUN0535:\
+ :ty#winchester:ns#80:nt#7:nc#1866:
+
+SUN0669:\
+ :ty#winchester:ns#54:nt#15:nc#1614:
+
+SUN1.3G:\
+ :ty#winchester:ns#80:nt#17:nc#1965:
+
+SUN2.1G:\
+ :ty#winchester:ns#80:nt#19:nc#2733:
+
+Sabre ST82500J:\
+ :ty#XD7053:ns#82:nt#19:nc#2609:
+
+Seagate (CDC) Wren V 94181-702:\
+ :ty#winchester:ns#48:nt#15:nc#1543:
+
+Seagate (CDC) Wren VI 94191-766:\
+ :ty#winchester:ns#52:nt#15:nc#1659:
+
+Seagate (CDC) Wren VII 94601-1.2G SunOS 4.1.1:\
+ :ty#winchester:ns#70:nt#15:nc#1925:
+
+Seagate (CDC) Wren VII 94601-15:\
+ :ty#winchester:ns#71:nt#15:nc#1905:
+
+Seagate (CDC) Wren VIII ST41650N:\
+ :ty#winchester:ns#89:nt#15:nc#2070:
+
+Seagate Elite ST43400N-3.5G:\
+ :ty#winchester:ns#99:nt#21:nc#2736:\
+ :pa#2843360:oa#0:ba#8192:\
+ :pb#2843360:ob#2841993:
+
+Seagate IPI ZBR Elite:\
+ :ty#"ISP-80":ns#78:nt#17:nc#1893:\
+ :pa#34476:oa#0:ba#8192:\
+ :pb#132600:ob#34476:\
+ :pc#2510118:oc#0:\
+ :pg#663000:og#167076:\
+ :ph#1680042:oh#830076:
+
+Seagate ST11200N:\
+ :ty#winchester:ns#80:nt#15:nc#1714:\
+ :pa#2056800:oa#0:ba#8192:\
+ :pc#2056800:oc#0:
+
+Seagate ST11900N:\
+ :ty#winchester:ns#83:nt#15:nc#2619:\
+ :pb#498000:ob#0:\
+ :pc#3260655:oc#0:\
+ :ph#2761410:oh#498000:
+
+Seagate ST1239N SWIFT:\
+ :ty#winchester:ns#35:nt#9:nc#1264:
+
+Seagate ST12400N 2.4GB:\
+ :ty#winchester:ns#82:nt#19:nc#2668:\
+ :pa#32718:oa#0:ba#8192:\
+ :pb#65436:ob#32718:\
+ :pc#4156744:oc#0:\
+ :pg#4058590:og#98154:
+
+Seagate ST12550N:\
+ :ty#winchester:ns#80:nt#19:nc#2747:
+
+Seagate ST1480N:\
+ :ty#winchester:ns#64:nt#9:nc#1456:
+
+Seagate ST15150N:\
+ :ty#winchester:ns#78:nt#21:nc#5119:\
+ :pc#8384922:oc#0:
+
+Seagate ST410800N Elite 9:\
+ :ty#winchester:ns#108:nt#27:nc#6087:\
+ :pc#17749692:oc#0:
+
+Seagate ST42100N - Wren 9:\
+ :ty#winchester:ns#96:nt#15:nc#2574:\
+ :pc#3706560:oc#0:
+
+Seagate ST42400N Elite 2:\
+ :ty#winchester:ns#84:nt#19:nc#2604:\
+ :pc#4155984:oc#0:
+
+Seagate Sabre-5 ST81236J:\
+ :ty#XD7053:ns#82:nt#15:nc#1633:\
+ :pa#99630:oa#0:ba#8192:\
+ :pb#261990:ob#99630:\
+ :pc#2008590:oc#0:\
+ :pd#548580:od#361620:\
+ :pe#1098390:oe#910200:\
+ :pf#361620:of#0:\
+ :pg#1646970:og#361620:\
+ :ph#1908960:oh#99630:
+
+SeagateST3283N:\
+ :ty#winchester:ns#57:nt#5:nc#1689:
+
+Sun1.0G:\
+ :ty#winchester:ns#80:nt#15:nc#1703:
+
+SyQuest SQ555:\
+ :ty#winchester:ns#34:nt#2:nc#1273:\
+ :pc#86564:oc#0:
+
+Toshiba MK 156F:\
+ :ty#winchester:ns#34:nt#10:nc#815:
+
+Vertex V185:\
+ :ty#ACB4000:ns#17:nt#7:nc#1163:
+
diff --git a/etc/etc.armish/fbtab b/etc/etc.armish/fbtab
new file mode 100644
index 00000000000..0e21e3a64c6
--- /dev/null
+++ b/etc/etc.armish/fbtab
@@ -0,0 +1,2 @@
+/dev/tty00 0600 /dev/console
+/dev/X0 0600 /dev/wsmouse:/dev/wsmouse0:/dev/wskbd:/dev/wskbd0:/dev/ttyC0
diff --git a/etc/etc.armish/sysctl.conf b/etc/etc.armish/sysctl.conf
new file mode 100644
index 00000000000..29aa05df4eb
--- /dev/null
+++ b/etc/etc.armish/sysctl.conf
@@ -0,0 +1,5 @@
+#machdep.apmwarn=10 # battery % when apm status messages enabled
+#machdep.kbdreset=1 # permit zkbd(4) power key to do a nice halt
+#machdep.maxspeed=520 # set change maximum processor speed
+#machdep.lidsuspend=0 # closing the lid will suspend machine
+#hw.setperf=0 # 0=slowest speed, 100=fastest speed
diff --git a/etc/etc.armish/ttys b/etc/etc.armish/ttys
new file mode 100644
index 00000000000..2b7d53ad708
--- /dev/null
+++ b/etc/etc.armish/ttys
@@ -0,0 +1,16 @@
+#
+# $OpenBSD: ttys,v 1.1 2006/06/06 00:01:49 drahn Exp $
+#
+# name getty type status comments
+#
+console "/usr/libexec/getty Pc" vt220 off secure
+ttyC0 "/usr/libexec/getty Pc" vt220 on secure
+ttyC1 "/usr/libexec/getty Pc" vt220 on secure
+tty00 "/usr/libexec/getty std.9600" unknown off secure
+tty01 "/usr/libexec/getty std.9600" unknown off secure
+tty02 "/usr/libexec/getty std.9600" unknown off
+tty03 "/usr/libexec/getty std.9600" unknown off
+tty04 "/usr/libexec/getty std.9600" unknown off
+tty05 "/usr/libexec/getty std.9600" unknown off
+tty06 "/usr/libexec/getty std.9600" unknown off
+tty07 "/usr/libexec/getty std.9600" unknown off
diff --git a/etc/mtree/4.4BSD.dist b/etc/mtree/4.4BSD.dist
index 5f3a5c82a38..0cfd1837b7b 100644
--- a/etc/mtree/4.4BSD.dist
+++ b/etc/mtree/4.4BSD.dist
@@ -1,4 +1,4 @@
-# $OpenBSD: 4.4BSD.dist,v 1.180 2006/05/09 21:17:13 miod Exp $
+# $OpenBSD: 4.4BSD.dist,v 1.181 2006/06/06 00:01:49 drahn Exp $
/set type=dir uname=root gname=wheel mode=0755
# .
@@ -1462,6 +1462,8 @@ alpha
..
amd64
..
+armish
+..
aviion
..
cats
@@ -1511,6 +1513,10 @@ alpha
amd64
..
+# ./usr/share/man/cat2/armish
+armish
+..
+
# ./usr/share/man/cat2/i386
i386
@@ -1539,6 +1545,8 @@ alpha
..
amd64
..
+armish
+..
aviion
..
cats
@@ -1589,6 +1597,8 @@ alpha
..
amd64
..
+armish
+..
aviion
..
cats
@@ -1634,6 +1644,8 @@ alpha
..
amd64
..
+armish
+..
aviion
..
cats
@@ -1689,6 +1701,8 @@ alpha
..
amd64
..
+armish
+..
aviion
..
cats
@@ -1734,6 +1748,8 @@ alpha
..
amd64
..
+armish
+..
aviion
..
cats
@@ -1779,6 +1795,8 @@ alpha
..
amd64
..
+armish
+..
aviion
..
cats
@@ -1824,6 +1842,8 @@ alpha
..
amd64
..
+armish
+..
aviion
..
cats
@@ -1843,6 +1863,8 @@ alpha
..
amd64
..
+armish
+..
aviion
..
cats
@@ -1893,6 +1915,8 @@ alpha
..
amd64
..
+armish
+..
aviion
..
cats
@@ -1938,6 +1962,8 @@ alpha
..
amd64
..
+armish
+..
aviion
..
cats
@@ -1993,6 +2019,8 @@ alpha
..
amd64
..
+armish
+..
aviion
..
cats
@@ -2038,6 +2066,8 @@ alpha
..
amd64
..
+armish
+..
aviion
..
cats
@@ -2083,6 +2113,8 @@ alpha
..
amd64
..
+armish
+..
aviion
..
cats
@@ -2143,6 +2175,8 @@ alpha
..
amd64
..
+armish
+..
aviion
..
cats
@@ -2203,6 +2237,8 @@ alpha
..
amd64
..
+armish
+..
aviion
..
cats
diff --git a/lib/libarch/arm/Makefile b/lib/libarch/arm/Makefile
index 21cfe637da6..5bef852a7d4 100644
--- a/lib/libarch/arm/Makefile
+++ b/lib/libarch/arm/Makefile
@@ -1,9 +1,9 @@
-# $OpenBSD: Makefile,v 1.2 2005/03/15 20:12:20 drahn Exp $
+# $OpenBSD: Makefile,v 1.3 2006/06/06 00:01:49 drahn Exp $
MAN+= arm_sync_icache.2 arm_drain_writebuf.2
-MANSUBDIR=cats zaurus
+MANSUBDIR=armish cats zaurus
-.if ${MACHINE} == "cats" || ${MACHINE} == "zaurus"
+.if ${MACHINE} == "armish" || ${MACHINE} == "cats" || ${MACHINE} == "zaurus"
NOPIC=
SRCS+= arm_sync_icache.c arm_drain_writebuf.c
.include <bsd.lib.mk>
diff --git a/sbin/fdisk/Makefile b/sbin/fdisk/Makefile
index 90f869431a6..97cffb33ce8 100644
--- a/sbin/fdisk/Makefile
+++ b/sbin/fdisk/Makefile
@@ -1,5 +1,5 @@
#
-# $OpenBSD: Makefile,v 1.31 2006/04/26 17:10:43 deraadt Exp $
+# $OpenBSD: Makefile,v 1.32 2006/06/06 00:01:49 drahn Exp $
#
# Copyright (c) 1997 Tobias Weingartner
# All rights reserved.
@@ -25,9 +25,10 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-.if (${MACHINE} == "i386") || (${MACHINE} == "amd64") || \
- (${MACHINE} == "macppc") || (${MACHINE} == "alpha") || \
- (${MACHINE} == "cats") || (${MACHINE} == "zaurus")
+.if (${MACHINE} == "alpha") || (${MACHINE} == "amd64") || \
+ (${MACHINE} == "armish") || (${MACHINE} == "cats") || \
+ (${MACHINE} == "i386") || (${MACHINE} == "macppc") || \
+ (${MACHINE} == "zaurus")
PROG= fdisk
SRCS= fdisk.c user.c misc.c disk.c mbr.c part.c cmd.c manual.c
DPADD= ${LIBUTIL}
diff --git a/sbin/wsconsctl/Makefile b/sbin/wsconsctl/Makefile
index 1f7d3f88bef..08e2c7e8734 100644
--- a/sbin/wsconsctl/Makefile
+++ b/sbin/wsconsctl/Makefile
@@ -1,7 +1,12 @@
-# $OpenBSD: Makefile,v 1.26 2006/05/09 21:17:13 miod Exp $
-
-.if ${MACHINE} != "aviion" && ${MACHINE} != "mvme68k" && \
- ${MACHINE} != "mvme88k" && ${MACHINE} != "vax"
+# $OpenBSD: Makefile,v 1.27 2006/06/06 00:01:49 drahn Exp $
+
+.if ${MACHINE} == "alpha" || ${MACHINE} == "amd64" || \
+ ${MACHINE} == "cats" || ${MACHINE} == "hp300" || \
+ ${MACHINE} == "hppa" || ${MACHINE} == "i386" || \
+ ${MACHINE} == "luna88k" || ${MACHINE} == "mac68k" || \
+ ${MACHINE} == "macpppc" || ${MACHINE} == "sgi" || \
+ ${MACHINE} == "sparc" || ${MACHINE} == "sparc64" || \
+ ${MACHINE} == "zaurus"
PROG= wsconsctl
SRCS= display.c keyboard.c keysym.c map_parse.y map_scan.l \
diff --git a/share/man/man4/man4.armish/Makefile b/share/man/man4/man4.armish/Makefile
new file mode 100644
index 00000000000..c5b03956628
--- /dev/null
+++ b/share/man/man4/man4.armish/Makefile
@@ -0,0 +1,9 @@
+# $OpenBSD: Makefile,v 1.1 2006/06/06 00:01:49 drahn Exp $
+
+# TODO: aupxa(eventually) cpu
+MAN= autoconf.4 intro.4 mem.4
+
+MLINKS+= mem.4 kmem.4
+MANSUBDIR=armish
+
+.include <bsd.prog.mk>
diff --git a/share/man/man4/man4.armish/autoconf.4 b/share/man/man4/man4.armish/autoconf.4
new file mode 100644
index 00000000000..533c244b6bc
--- /dev/null
+++ b/share/man/man4/man4.armish/autoconf.4
@@ -0,0 +1,52 @@
+.\" $OpenBSD: autoconf.4,v 1.1 2006/06/06 00:01:49 drahn Exp $
+.\"
+.\" Copyright (c) 1994 Christopher G. Demetriou
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\" notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\" notice, this list of conditions and the following disclaimer in the
+.\" documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\" must display the following acknowledgement:
+.\" This product includes software developed by Christopher G. Demetriou.
+.\" 3. The name of the author may not be used to endorse or promote products
+.\" derived from this software without specific prior written permission
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+.\"
+.Dd June 2, 2006
+.Dt AUTOCONF 4 armish
+.Os
+.Sh NAME
+.Nm autoconf
+.Nd diagnostics from the autoconfiguration code
+.Sh DESCRIPTION
+When
+.Ox
+bootstraps it probes the innards of the machine
+on which it is running
+and locates controllers, mass storage, and other devices, printing out
+what it finds on the console.
+This procedure is driven by a system configuration table which is processed by
+.Xr config 8
+and compiled into each kernel.
+Devices which exist in the machine but are not configured into the
+kernel are usually not detected.
+.Sh SEE ALSO
+.Xr intro 4 ,
+.Xr boot_armish 8 ,
+.Xr config 8
diff --git a/share/man/man4/man4.armish/intro.4 b/share/man/man4/man4.armish/intro.4
new file mode 100644
index 00000000000..215c8aad406
--- /dev/null
+++ b/share/man/man4/man4.armish/intro.4
@@ -0,0 +1,181 @@
+.\" $OpenBSD: intro.4,v 1.1 2006/06/06 00:01:49 drahn Exp $
+.\"
+.\" Copyright (c) 1994 Christopher G. Demetriou
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\" notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\" notice, this list of conditions and the following disclaimer in the
+.\" documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\" must display the following acknowledgement:
+.\" This product includes software developed by Christopher G. Demetriou.
+.\" 3. The name of the author may not be used to endorse or promote products
+.\" derived from this software without specific prior written permission
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+.\"
+.Dd June 2, 2006
+.Dt INTRO 4 armish
+.Os
+.Sh NAME
+.Nm intro
+.Nd introduction to special files and hardware support
+.Sh DESCRIPTION
+The manual pages in section 4 describe the special files,
+related driver functions, and networking support
+available in the system.
+In this part of the manual, the
+.Tn SYNOPSIS
+section of
+each configurable device gives a sample specification
+for use in constructing a system description for the
+.Xr config 8
+program.
+The
+.Tn DIAGNOSTICS
+section lists messages which may appear on the console
+and/or in the system error log
+.Pa /var/log/messages
+due to errors in device operation;
+see
+.Xr syslogd 8
+for more information.
+.Pp
+This section contains both devices
+which may be configured into the system
+and network related information.
+The networking support is introduced in
+.Xr netintro 4 .
+.Sh DEVICE SUPPORT
+This section describes the hardware supported on the armish platform.
+Software support for these devices comes in two forms.
+A hardware device may be supported with a character or block
+.Em device driver ,
+or it may be used within the networking subsystem and have a
+.Em network interface driver .
+Block and character devices are accessed through files in the file
+system of a special type; see
+.Xr mknod 8 .
+Network interfaces are indirectly accessed through the interprocess
+communication facilities provided by the system; see
+.Xr socket 2 .
+.Pp
+A hardware device is identified to the system at configuration time
+and the appropriate device or network interface driver is then compiled
+into the system.
+When the resultant system is booted, the autoconfiguration facilities
+in the system probe for the device and, if found, enable the software
+support for it.
+If a device does not respond at autoconfiguration
+time it is not accessible at any time afterwards.
+To enable a device which did not autoconfigure,
+the system will have to be rebooted.
+.Pp
+The autoconfiguration system is described in
+.Xr autoconf 4 .
+A list of the supported devices is given below.
+.Sh LIST OF DEVICES
+The devices listed below are supported in this incarnation of
+the system.
+Pseudo-devices are not listed.
+.\" Devices are indicated by their functional interface.
+Not all supported devices are listed.
+.Pp
+.Bl -tag -width lotsofletters -compact -offset indent
+.It Xr atu 4
+Atmel AT76C50x IEEE 802.11b wireless network interfaces.
+.It Xr aue 4
+ADMtek AN986-based USB Ethernet adapters.
+.It Xr axe 4
+ASIX Electronics AX88172/AX88178 USB Ethernet adapters.
+.It Xr cd 4
+ATAPI or SCSI CD drives.
+.It Xr cdce 4
+USB Communication Device Class Ethernet adapters.
+.It Xr com 4
+NS16550-compatible asynchronous serial ports.
+.\" cpu
+.It Xr cue 4
+CATC USB-EL1201A based USB Ethernet adapters.
+.It Xr kue 4
+Kawasaki LSI KL5KUSB101B-based USB Ethernet.
+.It Xr ohci 4
+USB host controller.
+.It Xr sd 4
+SCSI disks.
+.It Xr uaudio 4
+USB audio devices.
+.It Xr ubsa 4
+USB Belkin serial adapter.
+.It Xr udav 4
+Davicom DM9601 USB Ethernet adapters.
+.It Xr udsbr 4
+D-Link DSB-R100 radio.
+.It Xr uftdi 4
+USB FTDI FT8U100AX serial adapters.
+.It Xr uhid 4
+USB human interface devices.
+.It Xr uhub 4
+USB hubs.
+.It Xr ukbd 4
+USB keyboards.
+.It Xr ulpt 4
+USB printers..
+.It Xr umass 4
+USB mass storage.
+.It Xr umct 4
+USB MCT RS232 serial adapters.
+.It Xr umidi 4
+USB MIDI devices.
+.It Xr umodem 4
+USB modems.
+.It Xr ums 4
+USB mouses.
+.It Xr upl 4
+Prolific PL2301/PL2302-based host-to-host USB connectors.
+.It Xr uplcom 4
+USB Prolific PL2303 serial adapters.
+.It Xr ural 4
+Ralink Technology RT2500 USB 2.0 IEEE 802.11a/b/g wireless network adapters.
+.It Xr urio 4
+Diamond Multimedia Rio 500.
+.It Xr url 4
+Realtek RTL8150L USB Ethernet adapters.
+.It Xr uscanner 4
+USB scanners.
+.It Xr usscanner 4
+USB SCSI scanners.
+.It Xr uvisor 4
+Handspring Visor.
+.It Xr uvscom 4
+USB SUNTAC Slipper U VS-10U serial adapter.
+.It Xr wd 4
+IDE disks.
+.It Xr wdc 4
+IDE disk controller.
+.It Xr wi 4
+WaveLAN/IEEE, PRISM 2-3 and Spectrum24 IEEE 802.11b wireless network adapters.
+.El
+.Sh SEE ALSO
+.Xr autoconf 4 ,
+.Xr config 8
+.Sh HISTORY
+The
+armish
+.Nm intro
+first appeared in
+.Ox 4.0 .
diff --git a/share/man/man4/man4.armish/mem.4 b/share/man/man4/man4.armish/mem.4
new file mode 100644
index 00000000000..cf75d26a1b5
--- /dev/null
+++ b/share/man/man4/man4.armish/mem.4
@@ -0,0 +1,75 @@
+.\" $OpenBSD: mem.4,v 1.1 2006/06/06 00:01:49 drahn Exp $
+.\"
+.\" Copyright (c) 1991 The Regents of the University of California.
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\" notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\" notice, this list of conditions and the following disclaimer in the
+.\" documentation and/or other materials provided with the distribution.
+.\" 3. Neither the name of the University nor the names of its contributors
+.\" may be used to endorse or promote products derived from this software
+.\" without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\" from: @(#)mem.4 5.3 (Berkeley) 5/2/91
+.\"
+.Dd June 2, 2006
+.Dt MEM 4 armish
+.Os
+.Sh NAME
+.Nm mem ,
+.Nm kmem
+.Nd memory files
+.Sh DESCRIPTION
+The special file
+.Pa /dev/mem
+is an interface to the physical memory of the computer.
+Byte offsets in this file are interpreted as physical memory addresses.
+Reading and writing this file is equivalent to reading and writing
+memory itself.
+Only offsets within the bounds of
+.Pa /dev/mem
+are allowed.
+.Pp
+Kernel virtual memory is accessed through the interface
+.Pa /dev/kmem
+in the same manner as
+.Pa /dev/mem .
+Only kernel virtual addresses that are currently mapped to memory are allowed.
+.Pp
+On armish, physical memory is contiguous.
+The kernel virtual memory begins at address
+.Li 0xc0000000 .
+.Pp
+Writeability of these devices is controlled by the system
+.Xr securelevel 7 .
+.Sh FILES
+.Bl -tag -width Pa -compact
+.It Pa /dev/mem
+.It Pa /dev/kmem
+.El
+.Sh SEE ALSO
+.Xr securelevel 7
+.Sh HISTORY
+The
+.Pa /dev/mem
+and
+.Pa /dev/kmem
+files appeared in
+.At v6 .
diff --git a/share/man/man8/Makefile b/share/man/man8/Makefile
index 7177802b5d4..2fe88cef167 100644
--- a/share/man/man8/Makefile
+++ b/share/man/man8/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.59 2006/05/26 04:02:59 deraadt Exp $
+# $OpenBSD: Makefile,v 1.60 2006/06/06 00:01:49 drahn Exp $
# $NetBSD: Makefile,v 1.13 1996/03/28 21:36:40 mark Exp $
# @(#)Makefile 8.1 (Berkeley) 6/5/93
@@ -15,8 +15,8 @@ MLINKS+=daily.8 weekly.8 daily.8 monthly.8
MLINKS+=rc.8 rc.local.8 rc.8 rc.securelevel.8
MLINKS+=rc.conf.8 rc.conf.local.8
-SUBDIR= man8.alpha man8.amd64 man8.aviion man8.cats man8.hp300 man8.hppa \
- man8.hppa64 man8.i386 man8.luna88k man8.mac68k man8.macppc \
+SUBDIR= man8.alpha man8.amd64 man8.armish man8.aviion man8.cats man8.hp300 \
+ man8.hppa man8.hppa64 man8.i386 man8.luna88k man8.mac68k man8.macppc \
man8.mvme68k man8.mvme88k man8.sgi man8.sparc man8.sparc64 \
man8.vax man8.zaurus
diff --git a/share/man/man8/man8.armish/Makefile b/share/man/man8/man8.armish/Makefile
new file mode 100644
index 00000000000..4469dfede7d
--- /dev/null
+++ b/share/man/man8/man8.armish/Makefile
@@ -0,0 +1,6 @@
+# $OpenBSD: Makefile,v 1.1 2006/06/06 00:01:50 drahn Exp $
+
+MAN= MAKEDEV.8
+MANSUBDIR=armish
+
+.include <bsd.prog.mk>
diff --git a/sys/dev/microcode/atmel/Makefile b/sys/dev/microcode/atmel/Makefile
index abc899bc833..6b5fdbc0697 100644
--- a/sys/dev/microcode/atmel/Makefile
+++ b/sys/dev/microcode/atmel/Makefile
@@ -1,14 +1,15 @@
-# $OpenBSD: Makefile,v 1.11 2005/06/16 08:23:49 markus Exp $
+# $OpenBSD: Makefile,v 1.12 2006/06/06 00:01:50 drahn Exp $
NOPROG=
NOMAN=
# USB capable systems only
-.if (${MACHINE} == "i386") || (${MACHINE} == "amd64") || \
- (${MACHINE} == "alpha") || (${MACHINE} == "sparc64") || \
- (${MACHINE_ARCH} == "powerpc") || (${MACHINE} == "cats") || \
- (${MACHINE} == "hppa") || (${MACHINE} == "hppa64") || \
- (${MACHINE} == "sgi") || (${MACHINE} == "zaurus")
+.if (${MACHINE_ARCH} == "powerpc") || (${MACHINE} == "alpha") || \
+ (${MACHINE} == "amd64") || (${MACHINE} == "armish") || \
+ (${MACHINE} == "cats") || (${MACHINE} == "hppa") || \
+ (${MACHINE} == "hppa64") || (${MACHINE} == "i386") || \
+ (${MACHINE} == "sgi") || (${MACHINE} == "sparc64") || \
+ (${MACHINE} == "zaurus")
FIRM= atu-intersil-int atu-intersil-ext \
atu-rfmd-int atu-rfmd-ext \
diff --git a/sys/dev/microcode/kue/Makefile b/sys/dev/microcode/kue/Makefile
index 69eb4291487..135846fa55f 100644
--- a/sys/dev/microcode/kue/Makefile
+++ b/sys/dev/microcode/kue/Makefile
@@ -1,14 +1,15 @@
-# $OpenBSD: Makefile,v 1.4 2005/06/16 08:23:49 markus Exp $
+# $OpenBSD: Makefile,v 1.5 2006/06/06 00:01:50 drahn Exp $
NOPROG=
NOMAN=
# USB capable systems only
-.if (${MACHINE} == "i386") || (${MACHINE} == "amd64") || \
- (${MACHINE} == "alpha") || (${MACHINE} == "sparc64") || \
- (${MACHINE_ARCH} == "powerpc") || (${MACHINE} == "cats") || \
- (${MACHINE} == "hppa") || (${MACHINE} == "hppa64") || \
- (${MACHINE} == "sgi") || (${MACHINE} == "zaurus")
+.if (${MACHINE_ARCH} == "powerpc") || (${MACHINE} == "alpha") || \
+ (${MACHINE} == "amd64") || (${MACHINE} == "armish") || \
+ (${MACHINE} == "cats") || (${MACHINE} == "hppa") || \
+ (${MACHINE} == "hppa64") || (${MACHINE} == "i386") || \
+ (${MACHINE} == "sgi") || (${MACHINE} == "sparc64") || \
+ (${MACHINE} == "zaurus")
FIRM= kue
diff --git a/sys/dev/microcode/ral/Makefile b/sys/dev/microcode/ral/Makefile
index d279392c5cb..dc358f20d29 100644
--- a/sys/dev/microcode/ral/Makefile
+++ b/sys/dev/microcode/ral/Makefile
@@ -1,14 +1,14 @@
-# $OpenBSD: Makefile,v 1.1 2006/01/09 20:03:40 damien Exp $
+# $OpenBSD: Makefile,v 1.2 2006/06/06 00:01:50 drahn Exp $
NOPROG=
NOMAN=
# PCI capable systems only
-.if (${MACHINE} == "i386") || (${MACHINE} == "amd64") || \
- (${MACHINE} == "alpha") || (${MACHINE} == "sparc64") || \
- (${MACHINE_ARCH} == "powerpc") || (${MACHINE} == "cats") || \
- (${MACHINE} == "hppa") || (${MACHINE} == "hppa64") || \
- (${MACHINE} == "sgi")
+.if (${MACHINE_ARCH} == "powerpc") || (${MACHINE} == "alpha") || \
+ (${MACHINE} == "amd64") || (${MACHINE} == "armish") || \
+ (${MACHINE} == "cats") || (${MACHINE} == "hppa") || \
+ (${MACHINE} == "hppa64") || (${MACHINE} == "i386") || \
+ (${MACHINE} == "sgi") || (${MACHINE} == "sparc64")
FIRM= ral-rt2561 ral-rt2561s ral-rt2661
diff --git a/usr.sbin/hotplugd/Makefile b/usr.sbin/hotplugd/Makefile
index fbd722840da..d866e788a3b 100644
--- a/usr.sbin/hotplugd/Makefile
+++ b/usr.sbin/hotplugd/Makefile
@@ -1,9 +1,9 @@
-# $OpenBSD: Makefile,v 1.4 2006/01/11 21:57:53 martin Exp $
+# $OpenBSD: Makefile,v 1.5 2006/06/06 00:01:50 drahn Exp $
.if ${MACHINE} == "alpha" || ${MACHINE} == "amd64" || \
- ${MACHINE} == "i386" || ${MACHINE} == "hppa" || \
- ${MACHINE} == "macppc" || ${MACHINE} == "sparc64" || \
- ${MACHINE} == "zaurus"
+ ${MACHINE} == "armish" || ${MACHINE} == "i386" || \
+ ${MACHINE} == "hppa" || ${MACHINE} == "macppc" || \
+ ${MACHINE} == "sparc64" || ${MACHINE} == "zaurus"
PROG= hotplugd
SRCS= hotplugd.c
@@ -20,6 +20,6 @@ NOPROG= yes
.endif
MAN= hotplugd.8
-MANSUBDIR=alpha amd64 i386 hppa macppc sparc64 zaurus
+MANSUBDIR=alpha amd64 armish i386 hppa macppc sparc64 zaurus
.include <bsd.prog.mk>
diff --git a/usr.sbin/wsconscfg/Makefile b/usr.sbin/wsconscfg/Makefile
index 38dc8c43fc6..ebd869bce88 100644
--- a/usr.sbin/wsconscfg/Makefile
+++ b/usr.sbin/wsconscfg/Makefile
@@ -1,7 +1,12 @@
-# $OpenBSD: Makefile,v 1.21 2006/05/09 21:17:13 miod Exp $
+# $OpenBSD: Makefile,v 1.22 2006/06/06 00:01:50 drahn Exp $
-.if ${MACHINE} != "aviion" && ${MACHINE} != "mvme68k" && \
- ${MACHINE} != "mvme88k" && ${MACHINE} != "vax"
+.if ${MACHINE} == "alpha" || ${MACHINE} == "amd64" || \
+ ${MACHINE} == "cats" || ${MACHINE} == "hp300" || \
+ ${MACHINE} == "hppa" || ${MACHINE} == "i386" || \
+ ${MACHINE} == "luna88k" || ${MACHINE} == "mac68k" || \
+ ${MACHINE} == "macpppc" || ${MACHINE} == "sgi" || \
+ ${MACHINE} == "sparc" || ${MACHINE} == "sparc64" || \
+ ${MACHINE} == "zaurus"
PROG= wsconscfg
SRCS= wsconscfg.c