Snapshot of a prototuype for a new-config GENERIC configuration.

This relies on an ugly mixture of new-style config and old-style config.
This commit is contained in:
jonathan 1995-08-04 01:24:39 +00:00
parent fb56ae3095
commit 4e33c9f0dc
2 changed files with 199 additions and 75 deletions

View File

@ -1,21 +1,29 @@
#
# GENERIC DECstation (3100 or 5000/xxx)
# DECstation (3100 or 5000/xxx)
#
# first cut at new-style configu
# $NetBSD: NEWCONF,v 1.1 1995/04/28 23:34:45 jonathan Exp $
# Generic config.new configuration for NetBSD/pmax
# $NetBSD: NEWCONF,v 1.2 1995/08/04 01:24:39 jonathan Exp $
#
include "std.pmax"
maxusers 8
#cpu "DS3100"
#cpu "DS5000"
# does not really do anything anymore, but this replaces "ident GENERIC"
options GENERIC
#options GENERIC
# replaces "cpu ds5k/240"
options DS5000 # generic TC support and 3MAX support
options DS5000_240 # 3MAXPLUS (kn03) support
options DS5000_100 # 3MIN (kn02ba/kmin) support
options DS5000_25 # MAXINE (kn02ca/xine) support
options DS5000_200 # 3MAX (kn02) support, one day
# Need to set locally
options DS3100 # PMAX (kn01) DECstation 2100, 3100
options NEWCONF # turn on newconf code in old drivers
# You need to set this locally
options TIMEZONE="8*60" # minutes west of GMT (for)
options DST=1 # use daylight savings rules
@ -39,11 +47,10 @@ options FFS,QUOTA # fast filesystem with user and group quotas
options MFS # memory-based filesystem
options NFSCLIENT # Sun NFS-compatible filesystem (client)
options NFSSERVER # Sun NFS-compatible filesystem (server)
options LOFS # Loop-back filesystem
options KERNFS # kernel data-structure filesystem
#options FDESC # user file descriptor filesystem
#options FDESC # user file descriptor filesystem
#options UMAPFS # uid/gid remapping filesystem
#options NULLFS # null layer filesystem
options NULLFS # null layer filesystem
#options LFS # Log-based filesystem (still experimental)
#options PORTAL # portal filesystem (still experimental)
@ -60,46 +67,115 @@ options GATEWAY # IP packet forwarding
# pmax specific
options COMPAT_ULTRIX # ultrix compatibility
config netbsd root on rz1a swap on rz0b and rz1b dumps on rz1b
# Note that this configuration is unlikely to work, yet...
config netbsd root on rz1a swap on rz0b and rz1b dumps on rz0b
tc* at mainbus0
clock0 at mainbus0
dtop0 at mainbus0
########################################################################
# #
# DECstation Turbochannel configuration and options #
# #
########################################################################
tc* at mainbus0 # All but PMAXes have a turbochannel
########################################################################
# Common configuration for machines with IO ASIC chips #
# (3MIN, MAXINE, 3MAXPLUS) #
########################################################################
asic0 at tc?
clock0 at asic? # RTC
asc0 at asic? # system SCSI subslot
scc0 at asic?
le0 at asic? # tc onboard lance
scc1 at asic? # Not present on Maxine
########################################################################
# MAXINE-only baseboard devices and on-baseboard "options" #
########################################################################
xcfb0 at tc? # TC framebuffer "option"
dtop0 at asic0
#isdn at asic0
#fdc at asic0 # floppy disk
########################################################################
# Configuration for 3MAX (5000/200) which has turbochannel but no ASIC #
# 3MAX (5000/200) baseboard devices and on-baseboard "options" #
########################################################################
clock0 at mainbus0 # RTC
dc0 at mainbus0
xcfb0 at mainbus0
cfb0 at tc? slot? offset ?
mfb0 at tc? slot? offset ?
pm0 at tc? slot? offset ?
#scc0 at mainbus0
#scc1 at mainbus0 offset ?
le0 at tc? slot ? offset ?
tt0 at tc? slot? offset ?
le0 at tc? #slot ? offset ? # TC ether "option" on baseboard
asc0 at tc? # TC scsi "option" on baseboard
# For now, pretend this machine has an ASIC.
dc0 at asic? # dc7083 four-port DZ device
sii0 at mainbus0
asc0 at mainbus0
########################################################################
# Supported turbochannel option cards #
########################################################################
cfb0 at tc?
mfb0 at tc?
#sfb0 at tc?
#sfb1 at tc?
le1 at tc? #slot ? offset ? # TC ether option
tt0 at tc? #slot? offset ?
########################################################################
# Decstation 2100/3100 (aka PMAX aka KN01) configuration. #
# (these don't really have any options except a framebuffer.) #
########################################################################
clock0 at mainbus0 # RTC
pm0 at mainbus0 # 3100 onboard fb
dc0 at mainbus0 # dc7083 four-port DZ device
le0 at mainbus0 # 3100 onboard lance
sii0 at mainbus0 # onboard scsi
########################################################################
# SCSI configuration #
########################################################################
#
# SCSI configuration for new-config machine-independent SCSI driver
#
scsibus* at sii?
scsibus* at asc?
# commented out till pmax scsidriver is fixed
#rz* at scsibus? target ? drive ?
#tz* at scsibus? target ? drive ?
sd* at scsibus? target ? lun ?
st* at scsibus? target ? lun ?
cd* at scsibus? target ? lun ?
rz0 at scsibus? target ? drive ?
rz1 at scsibus? target ? drive ?
rz2 at scsibus? target ? drive ?
rz3 at scsibus? target ? drive ?
rz4 at scsibus? target ? drive ?
rz4 at scsibus? target ? drive ?
tz0 at scsibus? target? drive ?
tz1 at scsibus? target? drive ?
#
# SCSI configuration for old DECstation SCSI driver
#
oldscsibus* at sii?
oldscsibus* at asc?
rz0 at oldscsibus? target ? drive ?
rz1 at oldscsibus? target ? drive ?
rz2 at oldscsibus? target ? drive ?
rz3 at oldscsibus? target ? drive ?
rz4 at oldscsibus? target ? drive ?
rz4 at oldscsibus? target ? drive ?
tz0 at oldscsibus? target? drive ?
tz1 at oldscsibus? target? drive ?
#
# pseudo-devices
#
pseudo-device sl 4 # serial-line IP ports
pseudo-device pty 64 # pseudo ptys
pseudo-device bpfilter 16 # packet filter ports
pseudo-device loop
#pseudo-device ether
pseudo-device vnd 4 # virtual disk ick
#pseudo-device ether # From old config. what does it mean?
# rcons is not yet merged in
#pseudo-device rcons
#rcons0 at mainbus0 # hack?
# until rcons is finished
#pseudo-device fb

View File

@ -1,76 +1,121 @@
# $NetBSD: files.pmax,v 1.16 1995/04/30 10:11:00 cgd Exp $
# $NetBSD: files.pmax,v 1.17 1995/08/04 01:24:41 jonathan Exp $
# DECstation-specific configuration info
# maxpartitions must be first item in files.${ARCH}.
maxpartitions 8
maxusers 2 8 64
#
# Bus-independent devices
#
device mainbus at root { } # no locators
device cpu at mainbus # not optional
#file arch/pmax/pmax/cpu.c cpu
device clock at mainbus
# Real-time clock (not optional)
device clock at asic,tc,mainbus
file arch/pmax/pmax/clock.c clock
device tc at mainbus { slot = -1, offset = -1 }
#device sfb at tc
# no sfb code yet
#
# Machine-independent SCSI driver.
#
# Config for Ted Lemon's changes to console driver:
include "../../../scsi/files.scsi"
#major { st = 10 }
#major { cd = 3 }
#major { sd = 21 }
major { tz = 10 }
major { rz = 21 }
#
# Auto-configuration driver for the turbochannel bus itself.
#
device tc at mainbus { } #{ slot = -1, offset = -1 }
file arch/pmax/tc/tc.c tc needs-flag
#
# The TurboChannel IOCTL ASIC. Present on IOASIC machines,
# which is all turbochannel machines ever built except the 3MAX (5000/200).
#
device asic at tc { } #{ } # not really optional
file arch/pmax/tc/asic.c asic
# Config for Ted Lemon's changes to console driver:
# use some bogus device till changes to framebuffer code are committed.
device fb at mainbus
file arch/pmax/dev/foo.c fb needs-count
define scsi {}
#file arch/alpha/tc/esp.c esp needs-count
#file arch/alpha/tc/dma.c esp
major { rz = 21 }
#
# Old 4.4bsd pmax-specific scsi driver (deprecated).
#
define oldscsi {}
device oldscsibus at oldscsi {target = -1, drive = -1}
# asc: system-slot or turbochannel-option SCSI interface
device asc at asic,tc: oldscsi,scsi
file arch/pmax/dev/asc.c asc needs-count
device scsibus at scsi {target = -1, drive = -1}
device asc at mainbus: scsi
file arch/pmax/dev/asc.c asc needs-count
device sii at mainbus: scsi
# sii: kn01 SCSI interface
device sii at mainbus: oldscsi,scsi
file arch/pmax/dev/sii.c sii needs-count
device tz at scsibus: tape
device tz at oldscsibus: tape
file arch/pmax/dev/tz.c tz needs-count
device rz at scsibus: disk
device rz at oldscsibus: disk
file arch/pmax/dev/rz.c rz needs-count
# optional device-drivers
#
# Optional device-drivers
#
device dc at mainbus
# DC7085 (DZ-like four-port serial device) on mainbus on non-IOASIC machines.
# For the 3MAX (aka kn02 aka 5k/200) pretend that it's on an ASIC.
device dc at mainbus,asic
file arch/pmax/dev/dc.c dc needs-count
# what is this anyway? An xine/3min `desktop' bus?
device dtop at mainbus
# The "desktop bus" on the MAXINE (5k/25). What is it, anyway? ADB?
device dtop at asic
file arch/pmax/dev/dtop.c dtop needs-count
device le at tc: ifnet, ether
# LANCE ethernet driver.
# XXX Should use new machine-independent one instead.
device le at asic,tc,mainbus: ifnet, ether
file arch/pmax/dev/if_le.c le needs-count
device pm at tc
# 3100 (pmax) onboard framebuffer
device pm at mainbus
file arch/pmax/dev/pm.c pm needs-count
########################################################################
# Turbochannel options.
########################################################################
device cfb at tc
file arch/pmax/dev/cfb.c cfb needs-count
device sfb at tc
file arch/pmax/dev/sfb.c sfb needs-count
device mfb at tc
file arch/pmax/dev/mfb.c mfb needs-count
device scc at tc #asic?
# Zilog 8350/intel 82350(?) SCC.
device scc at asic
file arch/pmax/dev/scc.c scc needs-count
# 3100 cfb
device xcfb at mainbus
# MAXINE onboard framebuffer
device xcfb at tc
file arch/pmax/dev/xcfb.c xcfb needs-count
# DECWRL 45Mbit T3 interface
device tt at tc
file arch/pmax/dev/if_tt.c tt needs-count
@ -92,13 +137,12 @@ file arch/pmax/pmax/vm_machdep.c
file arch/pmax/pmax/disksubr.c
file arch/pmax/stand/libsa/callvec.c
file arch/pmax/pmax/elf.c
# standard for now, till Ted Lemon is done
file arch/pmax/pmax/mainbus.c
# fb.c is standard for now, until the redirectable FB console is finished.
file arch/pmax/dev/fb.c
# This is a dummy - don't try to use it:
file arch/pmax/pmax/cons.c
file arch/pmax/pmax/cpu_cons.c
file netinet/in_cksum.c
file netns/ns_cksum.c ns
@ -106,8 +150,12 @@ file compat/ultrix/ultrix_misc.c compat_ultrix
file compat/ultrix/ultrix_syscalls.c compat_ultrix
file compat/ultrix/ultrix_sysent.c compat_ultrix
# Ted Lemon's changes to console driver: redirectabe FB console
device rcons at mainbus
file arch/pmax/dev/rcons.c rcons needs-count
# Ted Lemon's not-quite-finished-as-yet redirectabe FB console driver
#device rcons at mainbus
#file arch/pmax/dev/rcons.c rcons needs-count
#file arch/pmax/pmax/cpu_cons.c rcons
# Glue for old-style config
file arch/pmax/pmax/conf-glue.c
# Configs