summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-05-13 16:07:24 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-05-13 16:07:24 +0000
commit83c1c417c283b3072ad5eda615011264332bae86 (patch)
treecb26d104de304ddd4f0c3deaef2b1f5bb337bcf1 /sys/arch
parentddebe21083c1174f2a08238882e958ec00ff3472 (diff)
Add ramdisk config stuff
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amiga/conf/RAMDISK241
-rw-r--r--sys/arch/amiga/conf/files.amiga8
2 files changed, 248 insertions, 1 deletions
diff --git a/sys/arch/amiga/conf/RAMDISK b/sys/arch/amiga/conf/RAMDISK
new file mode 100644
index 00000000000..9ef9b2967bf
--- /dev/null
+++ b/sys/arch/amiga/conf/RAMDISK
@@ -0,0 +1,241 @@
+# $OpenBSD: RAMDISK,v 1.1 1997/05/13 16:07:23 niklas Exp $
+
+#
+# A ramdisk kernel
+#
+
+include "arch/amiga/conf/std.amiga"
+include "conf/GENERIC"
+
+maxusers 8
+
+#
+# mainboards to support (in addition to Amiga)
+#
+option DRACO
+
+#
+# processors this kernel should support
+#
+option "M68060" # support for 060
+option "M060SP" # ...and MC68060 support package
+option "M68040" # support for 040
+option FPSP # MC68040 floating point support
+option "M68030" # support for 030
+option "M68020" # support for 020/851
+option FPCOPROC # Support for MC6888[12] (Required)
+
+#
+# File systems
+#
+option ADOSFS # AmigaDOS file system
+
+#
+# Compatability options for various existing systems
+#
+option COMPAT_SUNOS # Support to run Sun (m68k) executables
+#option COMPAT_HPUX # HP300 compatability
+
+#
+# Support for various kernel options
+#
+
+option "NKMEMCLUSTERS=256" # Size of kernel malloc area
+
+#
+# Misc. debuging options
+#
+#option DEBUG # Add debugging statements
+#option SYSCALL_DEBUG # debug all syscalls.
+#option SCSIDEBUG # Add SCSI debugging statements
+#option PANICBUTTON # Forced crash via keypress (???)
+
+#
+# Amiga specific options
+#
+option MACHINE_NONCONTIG # Non-contiguous memory support
+# ATTENTION: There is NO WARRANTY AT ALL that the sync will be complete
+# before the 10 secondinterval ends, or that KBDRESET does work at all.
+#option KBDRESET # sync on Ctrl-Amiga-Amiga
+
+# These options improve performance with the built-in serial port
+# on slower Amigas. Try the larger buffers first then lev6_defer.
+#option "SERIBUF_SIZE=4096"
+#option "SEROBUF_SIZE=32"
+#option LEV6_DEFER # defers l6 to l4 (below serial l5)
+option IPL_REMAP_1 # use remapping interruptsystem version 1
+#option IPL_REMAP_2 # and version 2 (not yet done)
+
+option RETINACONSOLE # enable code to allow retina to be console
+option ULOWELLCONSOLE # enable code to allow a2410 to be console
+option CL5426CONSOLE # Cirrus console
+option CV64CONSOLE # CyberVision console
+option TSENGCONSOLE # Tseng console
+
+option GRF_ECS # Enhanced Chip Set
+option GRF_NTSC # NTSC
+option GRF_PAL # PAL
+option "GRF_A2024" # Support for the A2024
+option GRF_AGA # AGA Chip Set
+#option "KFONT_8X11" # 8x11 font
+
+# This is how you would tell the kernel the A2410 oscillator frequencies:
+# The used frequencies are the defaults, and don't need option setting
+#option "ULOWELL_OSC1=36000000"
+#option "ULOWELL_OSC2=66667000"
+
+# This is how you specify the blitting speed, higher values may speed up blits
+# a little bit. If you raise this value too much some trash may appear.
+# the commented version is the default.
+#option RH_MEMCLK 61000000
+# this option enables the 64 bit sprite which doesn't seems to be work
+# for quite a few people. E.g. The cursor sprite will turn to a block
+# when moved to the top of the screen in X.
+#option RH_64BIT_SPRITE
+# enables fast scroll code appears to now work on 040 systems.
+#option RETINA_SPEED_HACK
+# enables the Hardwarecursor which does not work on some systems.
+#option RH_HARDWARECURSOR
+
+# Options for the ramdisk.
+option MINIROOTSIZE=4096
+option RAMDISK_HOOKS
+
+config bsd root rd0 swap rd0
+
+grfcc0 at mainbus0 # custom chips
+grfrt0 at zbus0 # retina II
+grfrh0 at zbus0 # retina III
+grfcl* at zbus0 # Picasso II/Piccalo/Spectrum
+grful0 at zbus0 # A2410
+grfcv0 at zbus0 # CyberVision 64
+grfet* at zbus0 # Tseng (oMniBus, Domino, Merlin)
+
+grf0 at grfcc0
+grf1 at grfrt0
+grf2 at grfrh0
+grf3 at grfcl?
+grf4 at grful0
+grf5 at grfcv0
+grf6 at grfet?
+
+ite0 at grf0 # terminal emulators for grf's
+ite1 at grf1 # terminal emulators for grf's
+ite2 at grf2 # terminal emulators for grf's
+ite3 at grf3 # terminal emulators for grf's
+ite4 at grf4 # terminal emulators for grf's
+ite5 at grf5 # terminal emulators for grf's
+ite6 at grf6 # terminal emulators for grf's
+
+msc0 at zbus0 # A2232 MSC multiport serial.
+mfc0 at zbus0 # MultiFaceCard I/O board
+mfcs0 at mfc0 unit 0 # MFC serial
+mfcs1 at mfc0 unit 1 # MFC serial
+#mfcp0 at mfc0 unit 0 # MFC parallel [not available yet]
+#mfc1 at zbus0 # MultiFaceCard 2nd I/O board
+#mfcs2 at mfc1 unit 0
+#mfcs3 at mfc1 unit 1
+#mfcp1 at mfc1 unit 0
+
+le0 at zbus0 # Lance ethernet.
+ed0 at zbus0 # dp8390 ethernet
+es0 at zbus0 # SMC 91C90 ethernet
+qn0 at zbus0 # quicknet ethernet
+ae0 at zbus0 # Ariadne ethernet
+bah0 at zbus0 # C= arcnet
+
+
+# scsi stuff, all possible
+gvpbus* at zbus0
+gtsc0 at gvpbus? # GVP series II scsi
+ahsc0 at mainbus0 # A3000 scsi
+atzsc0 at zbus0 # A2091 scsi
+wstsc0 at zbus0 # Wordsync II scsi
+ivsc0 at zbus0 # IVS scsi
+mlhsc0 at zbus0 # Hacker scsi
+otgsc0 at zbus0 # 12 gauge scsi
+zssc0 at zbus0 # Zeus scsi
+mgnsc0 at zbus0 # Magnum scsi
+wesc0 at zbus0 # Warp Engine scsi
+idesc0 at mainbus0 # A4000 & A1200 IDE
+afsc0 at zbus0 # A4091 scsi
+aftsc0 at mainbus0 # A4000T scsi
+flsc0 at zbus0 # FastlaneZ3 scsi
+bzsc0 at zbus0 # Blizzard 1230 I,II scsi
+bztzsc0 at zbus0 # Blizzard 2060 scsi
+empsc0 at zbus0 # Emplant scsi
+drsc0 at mainbus0 # DraCo scsi
+
+scsibus* at gtsc0
+scsibus* at ahsc0
+scsibus* at atzsc0
+scsibus* at wstsc0
+scsibus* at ivsc0
+scsibus* at mlhsc0
+scsibus* at otgsc0
+scsibus* at zssc0
+scsibus* at mgnsc0
+scsibus* at wesc0
+scsibus* at idesc0
+scsibus* at afsc0
+scsibus* at aftsc0
+scsibus* at flsc0
+scsibus* at bzsc0
+scsibus* at bztzsc0
+scsibus* at empsc0
+scsibus* at drsc0
+
+# each hard drive from low target to high
+# will configure to the next available sd unit number
+sd* at scsibus? target ? lun ? # scsi disks
+st* at scsibus? target ? lun ? # scsi tapes
+cd* at scsibus? target ? lun ? # scsi cd's
+ss* at scsibus? target ? lun ? # scsi scanners
+ch* at scsibus? target ? lun ? # scsi autochangers
+uk* at scsibus? target ? lun ? # scsi unknown
+
+ggbus* at zbus0 # Goldengate bridge
+isa* at ggbus?
+
+cross* at zbus0 # CrossLink bridge
+isa* at cross?
+
+#isapnp0 at isa?
+
+com0 at isa? port 0x3f8 irq 4 # Standard PC serial ports
+com1 at isa? port 0x2f8 irq 3
+com2 at isa? port 0x3e8 irq 5
+#com3 at isa? port 0x2e8 irq 9 # (conflicts with some video cards)
+com4 at isa? port 0x0f0 irq 11 # Crosslink builtin ports
+com5 at isa? port 0x0f8 irq 10
+ast0 at isa? port 0x1a0 irq 3 # AST 4-port serial cards
+com* at ast? slave ?
+boca0 at isa? port 0x100 irq 5 # BOCA 8-port serial cards
+com* at boca? slave ?
+rtfps0 at isa? port 0x1230 irq 10 # RT 4-port serial cards
+com* at rtfps? slave ?
+# option for using CD1400 handshaking for incoming data
+# requires a special cable that exchanges the RTS and DTR lines
+# options CY_HW_RTS
+# cy0 at isa? iomem 0xd4000 irq 12 # ISA cyclom card
+
+lpt0 at isa? port 0x378 irq 7 # Standard PC parallel ports
+lpt1 at isa? port 0x278
+lpt2 at isa? port 0x3bc
+
+wdc0 at isa? port 0x1f0 irq 14 # ST506, ESDI, and IDE controllers
+#wdc1 at isa? port 0x170 irq ?
+wd* at wdc? drive ?
+
+atapibus* at wdc?
+acd* at atapibus? drive ?
+
+# XXX should be ed but clashes with Zorro ed device
+isaed0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC, 3C503, and NE[12]000
+isaed1 at isa? port 0x250 iomem 0xd8000 irq 9 # ethernet cards
+isaed2 at isa? port 0x300 iomem 0xcc000 irq 10
+
+fd* at fdc0 unit ?
+
+pseudo-device view 10 # views
+pseudo-device rd 2 # ramdisk
diff --git a/sys/arch/amiga/conf/files.amiga b/sys/arch/amiga/conf/files.amiga
index 1a168f4ffc7..80995864d7c 100644
--- a/sys/arch/amiga/conf/files.amiga
+++ b/sys/arch/amiga/conf/files.amiga
@@ -1,4 +1,4 @@
-# $OpenBSD: files.amiga,v 1.20 1997/03/26 18:25:37 niklas Exp $
+# $OpenBSD: files.amiga,v 1.21 1997/05/13 16:07:23 niklas Exp $
# $NetBSD: files.amiga,v 1.51 1996/12/16 16:17:31 is Exp $
# maxpartitions must be first item in files.${ARCH}
@@ -72,6 +72,11 @@ attach grfcc at mainbus
file arch/amiga/dev/grf_cc.c grfcc needs-flag
file arch/amiga/dev/ite_cc.c grfcc & ite
+# RAM disk
+pseudo-device rd
+file dev/ramdisk.c rd needs-flag
+file arch/amiga/dev/rd_root.c ramdisk_hooks
+
pseudo-device view
file arch/amiga/dev/view.c view | grfcc needs-count
file arch/amiga/dev/grfabs.c grfcc | view
@@ -331,6 +336,7 @@ major {vnd = 6}
major {cd = 7}
major {ccd = 8}
major {acd = 15}
+major {rd = 16}
# Compatibility modules