summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/conf
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2001-09-17 22:00:09 +0000
committerJason Wright <jason@cvs.openbsd.org>2001-09-17 22:00:09 +0000
commit3d5e59cbd0817a0e917af59b355a84b6cecaa9fc (patch)
treedffac9382ea230b1f172b76284369ac9a8d51dd4 /sys/arch/sparc64/conf
parent7080eba3783cf694603b2491ee4eb14a2e9ad281 (diff)
ramdisk kernel for sparc64 (compiles... will need tweaking)
Diffstat (limited to 'sys/arch/sparc64/conf')
-rw-r--r--sys/arch/sparc64/conf/RAMDISK111
1 files changed, 111 insertions, 0 deletions
diff --git a/sys/arch/sparc64/conf/RAMDISK b/sys/arch/sparc64/conf/RAMDISK
new file mode 100644
index 00000000000..326823a8805
--- /dev/null
+++ b/sys/arch/sparc64/conf/RAMDISK
@@ -0,0 +1,111 @@
+# $OpenBSD: RAMDISK,v 1.1 2001/09/17 22:00:08 jason Exp $
+
+# Machine architecture; required by config(8)
+machine sparc64
+
+option SUN4U
+option _LP64
+
+# maxusers means mostly "let's get small" in terms of kernel malloc's
+maxusers 2
+# force default minimum number of buffers and dependents
+option NBUF=16
+
+# the size for MINIROOTSIZE must insure: 16384+size(bsd) < RELOC(boot,bootxx)
+option RAMDISK_HOOKS
+option MINIROOTSIZE=4352
+
+#option DDB # need this to see what's happening
+
+option TIMEZONE=0 # time zone to adjust RTC time by
+option DST=0 # daylight saving time used by RTC
+
+option SMALL_KERNEL
+option DIAGNOSTIC # internal consistency checks
+option FFS # UFS
+option NFSCLIENT # Network File System client
+option CD9660 # ISO 9660 + Rock Ridge file system
+option INET # IP + ICMP + TCP + UDP
+option BOOT_CONFIG # add support for boot -c
+
+# Generic swap; second partition of root disk or network.
+config bsd root on rd0a
+
+# Main bus and CPU .. all systems.
+mainbus0 at root
+cpu0 at mainbus0
+
+# Bus types found on SPARC systems.
+sbus0 at mainbus0 # Ultra 1
+psycho* at mainbus0
+pci* at psycho? # Ultra 5
+pci* at ppb?
+ppb* at pci? dev ? function ?
+ebus* at pci?
+
+hme* at pci? dev ? function ?
+
+#### Standard system devices -- all required for a given architecture
+
+auxio* at ebus?
+
+## PROM console driver -- if all else fails
+pcons0 at mainbus0 # PROM console
+
+## Mostek clock
+clock* at sbus? slot ? offset ?
+clock* at ebus?
+
+## Timer chip found on (some) sun4u systems.
+timer* at mainbus0
+
+## Lance Ethernet - AMD7990
+le* at sbus? slot ? offset ?
+ledma* at sbus? slot ? offset ?
+le* at ledma?
+
+# Quad-ethernet glue device, and sub-devices
+qec* at sbus? slot ? offset ?
+qe* at qec?
+be* at qec?
+
+hme* at sbus? slot ? offset ?
+
+pciide* at pci? dev ? function ? flags 0x0000
+wd* at pciide? channel ? drive ? flags 0x0000
+atapiscsi* at pciide? channel ?
+scsibus* at atapiscsi?
+
+#
+# Note the flags on the esp entries below, that work around
+# deficiencies in the current driver:
+# bits 0-7: disable disconnect/reselect for the corresponding target
+# bits 8-15: disable synch negotiation for target [bit-8]
+# Note: targets 4-7 have disconnect/reselect enabled on the premise
+# that tape devices normally have one of these targets. Tape
+# devices should be allowed to disconnect for the SCSI bus
+# to operate acceptably.
+#
+dma* at sbus? slot ? offset ? # SBus
+esp* at dma? flags 0x0000 # SBus
+esp* at sbus? slot ? offset ?
+
+# SCSI bus layer. SCSI devices attach to the SCSI bus, which attaches
+# to the underlying hardware controller.
+scsibus* at esp?
+
+# These entries find devices on all SCSI busses and assign
+# unit numers dynamically.
+sd* at scsibus? target ? lun ? # SCSI disks
+cd* at scsibus? target ? lun ? # SCSI CD-ROMs
+
+# Media Independent Interface (mii) drivers)
+nsphy* at mii? phy ? # NS and compatible PHYs
+qsphy* at mii? phy ? # Quality Semi QS6612 PHYs
+ukphy* at mii? phy ? # Unknown PHYs
+
+
+pseudo-device rd 2 # ramdisk
+pseudo-device loop 1 # network loopback
+pseudo-device bpfilter 1 # packet filter
+pseudo-device pty 4 # pseudo-terminals