summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/conf
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1997-02-16 10:42:23 +0000
committerJason Downs <downsj@cvs.openbsd.org>1997-02-16 10:42:23 +0000
commitdf988777a0aa099b233b24b5b45d78643ef05acf (patch)
tree59eafb2076850e75d16bf0b78e6e1eeb5cb7dd25 /sys/arch/hp300/conf
parent4aefd32ee77b4b1a48834fe3fc4a35d9c63b2479 (diff)
Add initial ram disk support.
Diffstat (limited to 'sys/arch/hp300/conf')
-rw-r--r--sys/arch/hp300/conf/DISKLESS4
-rw-r--r--sys/arch/hp300/conf/GENERIC4
-rw-r--r--sys/arch/hp300/conf/MINIROOT113
-rw-r--r--sys/arch/hp300/conf/files.hp3008
4 files changed, 124 insertions, 5 deletions
diff --git a/sys/arch/hp300/conf/DISKLESS b/sys/arch/hp300/conf/DISKLESS
index 6a1e6f312ad..1921913c03e 100644
--- a/sys/arch/hp300/conf/DISKLESS
+++ b/sys/arch/hp300/conf/DISKLESS
@@ -1,4 +1,4 @@
-# $OpenBSD: DISKLESS,v 1.11 1997/02/10 06:43:26 downsj Exp $
+# $OpenBSD: DISKLESS,v 1.12 1997/02/16 10:42:14 downsj Exp $
# $NetBSD: GENERIC,v 1.23 1997/01/31 06:12:57 thorpej Exp $
#
# Generic kernel - one size fits all.
@@ -6,7 +6,7 @@
machine hp300 m68k
-# Include all GENERIC option
+# Include all GENERIC options
include "../../../conf/GENERIC"
# Support for various CPU types
diff --git a/sys/arch/hp300/conf/GENERIC b/sys/arch/hp300/conf/GENERIC
index d9058bc4a06..5b1c8d7b699 100644
--- a/sys/arch/hp300/conf/GENERIC
+++ b/sys/arch/hp300/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.15 1997/02/10 06:43:28 downsj Exp $
+# $OpenBSD: GENERIC,v 1.16 1997/02/16 10:42:16 downsj Exp $
# $NetBSD: GENERIC,v 1.23 1997/01/31 06:12:57 thorpej Exp $
#
# Generic kernel - one size fits all.
@@ -6,7 +6,7 @@
machine hp300 m68k
-# Include all GENERIC option
+# Include all GENERIC options
include "../../../conf/GENERIC"
# Support for various CPU types
diff --git a/sys/arch/hp300/conf/MINIROOT b/sys/arch/hp300/conf/MINIROOT
new file mode 100644
index 00000000000..6492918cf38
--- /dev/null
+++ b/sys/arch/hp300/conf/MINIROOT
@@ -0,0 +1,113 @@
+# $OpenBSD: MINIROOT,v 1.1 1997/02/16 10:42:17 downsj Exp $
+#
+# Ram disk kernel for the miniroot.
+#
+
+machine hp300 m68k
+
+# Include all GENERIC options
+include "../../../conf/GENERIC"
+
+# Support for various CPU types
+option HP320
+option HP330 # includes 318, 319
+option HP340
+option HP350
+option HP360
+option HP370
+option HP375 # includes 345, 400t, 400s
+option HP380 # includes 425t, 425s, 433s
+
+# Need to set locally
+maxusers 16
+
+# Options for HP hardware
+option FPSP # floating point interface for 68040
+option USELEDS # make the lights twinkle
+#option PANICBUTTON # two fast <reset>s on HIL dump kernel
+#option CONSCODE="9" # force console at this select code
+option UK_KEYBOARD # include United Kingdom HIL keymap
+option SE_KEYBOARD # include Swedish HIL keymap
+
+# This option enables a different copyin/copyout that uses page
+# mapping for large copies.
+#option MAPPEDCOPY # different copyin/copyout for large copies
+
+#
+# HP-UX binary compatibility.
+# NOTE: THIS IS STILL VERY EXPERIMENTAL. YOUR MILEAGE MAY VARY.
+#
+#option COMPAT_HPUX # HP-UX binary compatibility
+
+#option COMPAT_M68K4K # compat. with NetBSD/m68k4k binaries
+
+# Verbose descriptions of unconfigured DIO devices
+# (Warning: this compiles in a large string table)
+option DIOVERBOSE # recognize "unknown" DIO devices
+
+config bsd swap generic
+
+mainbus0 at root # root "bus"
+
+intio0 at mainbus0 # internal i/o space
+dio0 at mainbus0 # DIO/DIO-II bus
+
+# Davinci framebuffer
+dvbox* at intio?
+dvbox* at dio? scode ?
+
+# Gatorbox framebuffer
+gbox* at intio?
+gbox* at dio? scode ?
+
+# Hyperion framebuffer
+hyper* at dio? scode ?
+
+# Renaissance framebuffer
+rbox* at intio?
+rbox* at dio? scode ?
+
+# Topcat/catseye framebuffers
+topcat* at intio?
+topcat* at dio? scode ?
+
+# Framebuffer abstraction
+grf* at dvbox?
+grf* at gbox?
+grf* at hyper?
+grf* at rbox?
+grf* at topcat?
+
+# Internal Terminal Emulator
+ite* at grf?
+
+dca0 at dio? scode 9 flags 1 # DCA serial interfaces
+dca* at dio? scode ?
+
+dcm* at dio? scode ? flags 0xe # DCM 4- or 8-port serial interfaces
+
+le* at dio? scode ? # LANCE ethernet interfaces
+
+nhpib0 at dio? scode 7 # slow internal HP-IB
+nhpib* at dio? scode ?
+
+fhpib* at dio? scode ? # `fast' HP-IB
+
+hpibbus0 at nhpib0
+hpibbus* at nhpib?
+hpibbus* at fhpib?
+
+hd* at hpibbus? slave ? punit ? # HP-IB disks
+ct* at hpibbus? slave ? punit ? # HP-IB cartridge tapes
+mt* at hpibbus? slave ? punit ? # HP-IB 9-track tape
+ppi0 at hpibbus0 slave 5 punit 0 # HP-IB plotter
+
+oscsi* at dio? scode ? # Old HP SCSI
+
+sd* at oscsi? target ? lun ? # SCSI disks
+st* at oscsi? target ? lun ? # SCSI tapes
+ac* at oscsi? target ? lun ? # SCSI changers
+
+option MINIROOTSIZE=4096
+option RAMDISK_HOOKS
+pseudo-device rd 2
diff --git a/sys/arch/hp300/conf/files.hp300 b/sys/arch/hp300/conf/files.hp300
index 712a3259069..8619240ecc3 100644
--- a/sys/arch/hp300/conf/files.hp300
+++ b/sys/arch/hp300/conf/files.hp300
@@ -1,4 +1,4 @@
-# $OpenBSD: files.hp300,v 1.5 1997/02/10 06:43:29 downsj Exp $
+# $OpenBSD: files.hp300,v 1.6 1997/02/16 10:42:18 downsj Exp $
# $NetBSD: files.hp300,v 1.22 1997/01/30 22:11:19 scottr Exp $
#
# hp300-specific configuration info
@@ -128,6 +128,12 @@ device ppi
attach ppi at hpibbus
file arch/hp300/dev/ppi.c ppi needs-flag
+# RAM disk
+pseudo-device rd
+file dev/ramdisk.c rd needs-flag
+file arch/hp300/dev/rd_root.c ramdisk_hooks
+major {rd = 8}
+
# Old HP SCSI layer
device oscsi { target = -1, lun = -1 }
attach oscsi at dio