diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-10-18 08:53:40 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-10-18 08:53:40 +0000 |
commit | d6583bb2a13f329cf0332ef2570eb8bb8fc0e39c (patch) | |
tree | ece253b876159b39c620e62b6c9b1174642e070e /sys/arch/alpha/conf |
initial import of NetBSD tree
Diffstat (limited to 'sys/arch/alpha/conf')
-rw-r--r-- | sys/arch/alpha/conf/ALPHA | 134 | ||||
-rw-r--r-- | sys/arch/alpha/conf/BUNNY | 86 | ||||
-rw-r--r-- | sys/arch/alpha/conf/GENERIC | 112 | ||||
-rw-r--r-- | sys/arch/alpha/conf/GENERIC_NFS | 109 | ||||
-rw-r--r-- | sys/arch/alpha/conf/JURA | 77 | ||||
-rw-r--r-- | sys/arch/alpha/conf/MACALLAN | 67 | ||||
-rw-r--r-- | sys/arch/alpha/conf/Makefile.alpha | 158 | ||||
-rw-r--r-- | sys/arch/alpha/conf/TOMMY | 89 | ||||
-rw-r--r-- | sys/arch/alpha/conf/files.alpha | 190 |
9 files changed, 1022 insertions, 0 deletions
diff --git a/sys/arch/alpha/conf/ALPHA b/sys/arch/alpha/conf/ALPHA new file mode 100644 index 00000000000..63ead133afd --- /dev/null +++ b/sys/arch/alpha/conf/ALPHA @@ -0,0 +1,134 @@ +# $NetBSD: ALPHA,v 1.6 1995/08/03 00:09:17 cgd Exp $ +# +# Alpha kernel with all the options you'd want, and more. + +machine alpha + +makeoptions DEBUG="-g" + +maxusers 8 + +# does not really do anything anymore, but this replaces "ident GENERIC" +options GENERIC + +# CPU Support +options DEC_3000_500 # Flamingo etc: 3000/[4-9]00* +options DEC_2000_300 # "Jensen": 2000/300 (DECpc AXP 150) +options DEC_3000_300 # Pelican etc: 3000/300* +options DEC_2100_A50 # "Avanti": AlphaStation 400 4/233 + +# needs to be set per system +options TIMEZONE="5*60" # Minutes west of GMT (for param.c) +options DST=1 # Daylight savings rules (for param.c) + +# Standard system options +options SWAPPAGER, VNODEPAGER, DEVPAGER # Paging (mandatory) +options DEBUG, DIAGNOSTIC # Extra kernel debugging +options KTRACE # System call tracing support + +# File system options +options FIFO # POSIX fifo support (in all file systems) +options FFS # Fast file system +options QUOTA # User and group quotas for the FFS +options MFS # Memory-based file system +options LFS # Log-structured file system +options CD9660 # ISO-9660 CD-ROM FS (w/RockRidge extensions) +options MSDOSFS # MS-DOS-compatible file system +options ADOSFS # AmigaDOS-compatible file system +options NFSSERVER # Sun NFS-compatible file system server +options NFSCLIENT # Sun NFS-compatible file system client +options NULLFS # Null file system layer +options KERNFS # Kernel variable file system (/kern) +options FDESC # File descriptor file system (/dev/fd) +options PORTAL # Portal file system +options UMAP # User-mapping file system layer +options PROCFS # Process file system (/proc) + +# Networking options +options INET # Internet protocol suite +options NS # Xerox NS protocol suite +options ISO,TPIP,EON # ISO protocol suite +options CCITT,LLC,HDLC # CCITT protocol suite +options GATEWAY # packet forwarding and more mbuf space + +# Compatibility with 4.2BSD implementation of TCP/IP. Not suggested. +#options TCP_COMPAT_42 + +# 4.3BSD compatibility. Should be optional, but necessary for now. +options COMPAT_43 + +# NetBSD compatibility. Mostly meaningless on the Alpha. +#options COMPAT_09 +#options COMPAT_10 + +# OSF/1 binary compatibility -- CURRENTLY DOES NOT WORK +#options COMPAT_OSF1 + +# System V-like message queues +options SYSVMSG + +# System V-like semaphores +options SYSVSEM + +# System V-like shared memory +options SYSVSHM +#options SHMMAXPGS=1024 # 1024 pages is the default + +# Loadable Kernel Modules +options LKM + +# Disable kernel security. +#options INSECURE + +# Misc. options +options PCIVERBOSE # recognize "unknown" PCI devices + +config netbsd swap generic +#config netbsd root on sd0 swap on sd0 +#config netbsd root nfs swap nfs + +mainbus0 at root + +cpu* at mainbus0 + +tc* at mainbus0 +asic0 at tc? slot ? offset ? +clock0 at asic? offset ? +le0 at asic? offset ? +scc0 at asic? offset ? +scc1 at asic? offset ? +tcds0 at tc? slot ? offset ? +esp0 at tcds? slot ? +esp1 at tcds? slot ? +#sfb* at tc? slot ? offset ? + +apecs* at mainbus? +#lca* at cpu? + +pci* at apecs? +#pci* at lca? + +de* at pci? +sio* at pci? +#ncr* at pci? + +isa0 at sio? +clock0 at isa? port 0x70 +#com0 at isa? port 0x3f8 irq 4 # standard serial ports +com1 at isa? port 0x2f8 irq 3 +lpt0 at isa? port 0x3bc irq 7 # standard parallel port + +scsibus* at esp? +#scsibus* at ncr? + +sd* at scsibus? target ? lun ? +st* at scsibus? target ? lun ? +cd* at scsibus? target ? lun ? + +pseudo-device bpfilter +pseudo-device loop +pseudo-device ppp +pseudo-device pty +pseudo-device sl +pseudo-device tun +pseudo-device vnd diff --git a/sys/arch/alpha/conf/BUNNY b/sys/arch/alpha/conf/BUNNY new file mode 100644 index 00000000000..3ba1c980d40 --- /dev/null +++ b/sys/arch/alpha/conf/BUNNY @@ -0,0 +1,86 @@ +# $NetBSD: BUNNY,v 1.2 1995/08/03 00:09:18 cgd Exp $ +# +# Kernel for bunnahabhain.pdl.cs.cmu.edu. +# +# This kernel contains support for NO frame buffer devices; bunny +# is rack-mounted, and has no video boards. THIS KERNEL CANNOT BE +# USED ON MACHINES WITH FRAME BUFFERS. +# +# It also has no support for devices which aren't actually used +# (sound, parallel port, keyboard, mouse, SCSI tape or CD-ROM, etc.). + +machine alpha + +makeoptions DEBUG="-g" + +maxusers 8 + +# bump up the number of buffers, for quicker compiles +options BUFPAGES=2048 # 16M of buffer cache + +# CPU Support +options DEC_2100_A50 # Avanti etc: AlphaStation 400, 200, etc. + +# needs to be set per system +options TIMEZONE="5*60" # Minutes west of GMT (for param.c) +options DST=1 # Daylight savings rules (for param.c) + +# Standard system options +options SWAPPAGER, VNODEPAGER, DEVPAGER # Paging (mandatory) +options DEBUG, DIAGNOSTIC # Extra kernel debugging +options KTRACE # System call tracing support + +# File system options +options FIFO # POSIX fifo support (in all file systems) +options FFS # Fast file system +options MFS # Memory-based file system +options NFSCLIENT # Sun NFS-compatible file system client + +# Networking options +options INET # Internet protocol suite + +# 4.3BSD compatibility. Should be optional, but necessary for now. +options COMPAT_43 + +# Loadable Kernel Modules +options LKM + +# Disable kernel security. +#options INSECURE + +# Misc. options +options PCIVERBOSE # recognize "unknown" PCI devices + +config netbsd root on sd0 swap on sd0 + +mainbus0 at root +cpu* at mainbus0 + +# PCI host bus adapter support +apecs* at mainbus? + +# PCI bus support +pci* at apecs? + +# PCI devices +de* at pci? +sio* at pci? +ncr* at pci? + +# ISA bus support +isa0 at sio? + +# ISA devices +clock0 at isa? port 0x70 +com0 at isa? port 0x3f8 irq 4 # standard serial ports +com1 at isa? port 0x2f8 irq 3 + +# SCSI bus support +scsibus* at ncr? + +# SCSI devices +sd* at scsibus? target ? lun ? + +pseudo-device bpfilter +pseudo-device loop +pseudo-device pty diff --git a/sys/arch/alpha/conf/GENERIC b/sys/arch/alpha/conf/GENERIC new file mode 100644 index 00000000000..3f2ebcab3b3 --- /dev/null +++ b/sys/arch/alpha/conf/GENERIC @@ -0,0 +1,112 @@ +# $NetBSD: GENERIC,v 1.8 1995/08/03 00:09:19 cgd Exp $ +# +# Generic Alpha kernel. Enough to get booted, etc., but not much more. + +machine alpha + +makeoptions DEBUG="-g" + +maxusers 8 + +# does not really do anything anymore, but this replaces "ident GENERIC" +options GENERIC + +# CPU Support +options DEC_3000_500 # Flamingo etc: 3000/[4-9]00* +options DEC_2000_300 # "Jensen": 2000/300 (DECpc AXP 150) +options DEC_3000_300 # Pelican etc: 3000/300* +options DEC_2100_A50 # Avanti etc: AlphaStation 400, 200, etc. + +# needs to be set per system +options TIMEZONE="5*60" # Minutes west of GMT (for param.c) +options DST=1 # Daylight savings rules (for param.c) + +# Standard system options +options SWAPPAGER, VNODEPAGER, DEVPAGER # Paging (mandatory) +options DEBUG, DIAGNOSTIC # Extra kernel debugging +options KTRACE # System call tracing support + +# File system options +options FIFO # POSIX fifo support (in all file systems) +options FFS # Fast file system +options MFS # Memory-based file system +options NFSCLIENT # Sun NFS-compatible file system client + +# Networking options +options INET # Internet protocol suite + +# 4.3BSD compatibility. Should be optional, but necessary for now. +options COMPAT_43 + +# OSF/1 binary compatibility -- CURRENTLY DOES NOT WORK +#options COMPAT_OSF1 + +# Loadable Kernel Modules +options LKM + +# Disable kernel security. +#options INSECURE + +# Misc. options +options PCIVERBOSE # recognize "unknown" PCI devices + +config netbsd swap generic + +mainbus0 at root +cpu* at mainbus0 + +# TurboChannel bus support +tc* at mainbus0 + +# TurboChannel devices +asic0 at tc? slot ? offset ? +clock0 at asic? offset ? +le0 at asic? offset ? +scc0 at asic? offset ? +scc1 at asic? offset ? +tcds0 at tc? slot ? offset ? +esp0 at tcds? slot ? +esp1 at tcds? slot ? +#sfb* at tc? slot ? offset ? + +# PCI host bus adapter support +apecs* at mainbus? +#lca* at cpu? + +# PCI bus support +pci* at apecs? +#pci* at lca? + +# PCI devices +de* at pci? +sio* at pci? +ncr* at pci? +tga* at pci? +pcivga* at pci? + +# ISA bus support +isa0 at sio? + +# ISA devices +clock0 at isa? port 0x70 +pckbd0 at isa? port 0x60 irq 1 # PC-ish ISA keyboard +#pms0 at isa? port 0x60 irq 12 # PS/2 auxiliary +com0 at isa? port 0x3f8 irq 4 # standard serial ports +com1 at isa? port 0x2f8 irq 3 +lpt0 at isa? port 0x3bc irq 7 # standard parallel port +wss0 at isa? port 0x530 irq 9 drq 0 # Windows Sound System + +# SCSI bus support +scsibus* at esp? +scsibus* at ncr? + +# SCSI devices +sd* at scsibus? target ? lun ? +st* at scsibus? target ? lun ? +cd* at scsibus? target ? lun ? + +pseudo-device bpfilter +pseudo-device loop +pseudo-device pty +pseudo-device sl +pseudo-device vnd diff --git a/sys/arch/alpha/conf/GENERIC_NFS b/sys/arch/alpha/conf/GENERIC_NFS new file mode 100644 index 00000000000..74ed98239c8 --- /dev/null +++ b/sys/arch/alpha/conf/GENERIC_NFS @@ -0,0 +1,109 @@ +# $NetBSD: GENERIC_NFS,v 1.2 1995/08/03 00:09:20 cgd Exp $ +# +# Generic Alpha kernel. Enough to get booted, etc., but not much more. + +machine alpha + +makeoptions DEBUG="-g" + +maxusers 8 + +# CPU Support +options DEC_3000_500 # Flamingo etc: 3000/[4-9]00* +options DEC_2000_300 # "Jensen": 2000/300 (DECpc AXP 150) +options DEC_3000_300 # Pelican etc: 3000/300* +options DEC_2100_A50 # Avanti etc: AlphaStation 400, 200, etc. + +# needs to be set per system +options TIMEZONE="5*60" # Minutes west of GMT (for param.c) +options DST=1 # Daylight savings rules (for param.c) + +# Standard system options +options SWAPPAGER, VNODEPAGER, DEVPAGER # Paging (mandatory) +options DEBUG, DIAGNOSTIC # Extra kernel debugging +options KTRACE # System call tracing support + +# File system options +options FIFO # POSIX fifo support (in all file systems) +options FFS # Fast file system +options MFS # Memory-based file system +options NFSCLIENT # Sun NFS-compatible file system client + +# Networking options +options INET # Internet protocol suite + +# 4.3BSD compatibility. Should be optional, but necessary for now. +options COMPAT_43 + +# OSF/1 binary compatibility -- CURRENTLY DOES NOT WORK +#options COMPAT_OSF1 + +# Loadable Kernel Modules +options LKM + +# Disable kernel security. +#options INSECURE + +# Misc. options +options PCIVERBOSE # recognize "unknown" PCI devices + +config netbsd_nfs root on nfs swap on nfs + +mainbus0 at root +cpu* at mainbus0 + +# TurboChannel bus support +tc* at mainbus0 + +# TurboChannel devices +asic0 at tc? slot ? offset ? +clock0 at asic? offset ? +le0 at asic? offset ? +scc0 at asic? offset ? +scc1 at asic? offset ? +tcds0 at tc? slot ? offset ? +esp0 at tcds? slot ? +esp1 at tcds? slot ? +#sfb* at tc? slot ? offset ? + +# PCI host bus adapter support +apecs* at mainbus? +#lca* at cpu? + +# PCI bus support +pci* at apecs? +#pci* at lca? + +# PCI devices +de* at pci? +sio* at pci? +ncr* at pci? +tga* at pci? +pcivga* at pci? + +# ISA bus support +isa0 at sio? + +# ISA devices +clock0 at isa? port 0x70 +pckbd0 at isa? port 0x60 irq 1 # PC-ish ISA keyboard +#pms0 at isa? port 0x60 irq 12 # PS/2 auxiliary +com0 at isa? port 0x3f8 irq 4 # standard serial ports +com1 at isa? port 0x2f8 irq 3 +lpt0 at isa? port 0x3bc irq 7 # standard parallel port +wss0 at isa? port 0x530 irq 9 drq 0 # Windows Sound System + +# SCSI bus support +scsibus* at esp? +scsibus* at ncr? + +# SCSI devices +sd* at scsibus? target ? lun ? +st* at scsibus? target ? lun ? +cd* at scsibus? target ? lun ? + +pseudo-device bpfilter +pseudo-device loop +pseudo-device pty +pseudo-device sl +pseudo-device vnd diff --git a/sys/arch/alpha/conf/JURA b/sys/arch/alpha/conf/JURA new file mode 100644 index 00000000000..10d1afd5823 --- /dev/null +++ b/sys/arch/alpha/conf/JURA @@ -0,0 +1,77 @@ +# $NetBSD: JURA,v 1.3 1995/08/03 00:09:21 cgd Exp $ +# +# Kernel for jura.pdl.cs.cmu.edu. + +include "std.alpha" + +makeoptions DEBUG="-g" + +maxusers 8 + +# CPU Support +options DEC_2000_300 # "Jensen": 2000/300 (DECpc AXP 150) + +options BOOTKEY # ask for keyhit before halt/reboot + +# needs to be set per system +options TIMEZONE="5*60" # Minutes west of GMT (for param.c) +options DST=1 # Daylight savings rules (for param.c) + +# Standard system options +options SWAPPAGER, VNODEPAGER, DEVPAGER # Paging (mandatory) +options DEBUG, DIAGNOSTIC # Extra kernel debugging +options KTRACE # System call tracing support + +# File system options +options FIFO # POSIX fifo support (in all file systems) +options FFS # Fast file system +options MFS # Memory-based file system +options NFSCLIENT # Sun NFS-compatible file system client + +# Networking options +options INET # Internet protocol suite + +# 4.3BSD compatibility. Should be optional, but necessary for now. +options COMPAT_43 + +# Loadable Kernel Modules +options LKM + +config netbsd root on nfs swap on nfs + +# XXX Unfortunately, configuration isn't as simple as the following, +# because DEC engineers really biffed the DECpc AXP (in my opinion) +# See further below for information about how to really configure +# these systems. + +#isa* at mainbus0 +# +#com0 at isa? port 0x3f8 irq 4 +#com1 at isa? port 0x2f8 irq 3 +# +#ahb0 at isa? +# +#scsibus* at scsi? +# +#sd* at scsibus? target ? lun ? +#st* at scsibus? target ? lun ? +#cd* at scsibus? target ? lun ? + +# They should really look like: + +# ibus0 at mainbus0 "internal bus" +# combo0 at ibus0 the VLSI combo chip +# clock0 at combo0 ... periphs on combo chip +# com0 at combo0 ... . +# com1 at combo0 ... . +# lpt0 at combo0 ... . +# etc. +# eisa0 at ibus0 EISA attached to ibus +# ahb* at eisa0 EISA devices +# etc. + +pseudo-device bpfilter +pseudo-device loop +pseudo-device pty +pseudo-device sl +pseudo-device vnd diff --git a/sys/arch/alpha/conf/MACALLAN b/sys/arch/alpha/conf/MACALLAN new file mode 100644 index 00000000000..242015d6903 --- /dev/null +++ b/sys/arch/alpha/conf/MACALLAN @@ -0,0 +1,67 @@ +# $NetBSD: MACALLAN,v 1.5 1995/08/03 00:09:22 cgd Exp $ +# +# Kernel for macallan.dssc.cs.cmu.edu. + +machine alpha + +makeoptions DEBUG="-g" + +maxusers 8 + +# CPU Support +options DEC_3000_500 # 3000/[4-9]00 + +# needs to be set per system +options TIMEZONE="5*60" # Minutes west of GMT (for param.c) +options DST=1 # Daylight savings rules (for param.c) + +# Standard system options +options SWAPPAGER, VNODEPAGER, DEVPAGER # Paging (mandatory) +options DEBUG, DIAGNOSTIC # Extra kernel debugging +options KTRACE # System call tracing support + +# File system options +options FIFO # POSIX fifo support (in all file systems) +options FFS # Fast file system +options MFS # Memory-based file system +options NFSCLIENT # Sun NFS-compatible file system client + +# Networking options +options INET # Internet protocol suite + +# 4.3BSD compatibility. Should be optional, but necessary for now. +options COMPAT_43 + +# Loadable Kernel Modules +options LKM + +config netbsd root on sd0 swap on sd0 and sd1 + +mainbus0 at root + +cpu* at mainbus0 + +tc* at mainbus0 +asic0 at tc? slot ? offset ? +clock0 at asic? offset ? +le0 at asic? offset ? +scc0 at asic? offset ? +scc1 at asic? offset ? +tcds0 at tc? slot ? offset ? +esp0 at tcds? slot ? +esp1 at tcds? slot ? +#sfb* at tc? slot ? offset ? + +scsibus0 at esp0 +scsibus* at esp? + +sd0 at scsibus0 target 0 lun 0 +sd* at scsibus? target ? lun ? +st* at scsibus? target ? lun ? +cd* at scsibus? target ? lun ? + +pseudo-device bpfilter +pseudo-device loop +pseudo-device pty +pseudo-device sl +pseudo-device vnd diff --git a/sys/arch/alpha/conf/Makefile.alpha b/sys/arch/alpha/conf/Makefile.alpha new file mode 100644 index 00000000000..c31935ace73 --- /dev/null +++ b/sys/arch/alpha/conf/Makefile.alpha @@ -0,0 +1,158 @@ +# $NetBSD: Makefile.alpha,v 1.7 1995/09/19 23:28:06 thorpej Exp $ +# +# Makefile for NetBSD +# +# This makefile is constructed from a machine description: +# config machineid +# Most changes should be made in the machine description +# /sys/conf/``machineid'' +# after which you should do +# config machineid +# Machine generic makefile changes should be made in +# /sys/conf/Makefile.``machinetype'' +# after which config should be rerun for all machines of that type. +# +# N.B.: NO DEPENDENCIES ON FOLLOWING FLAGS ARE VISIBLE TO MAKEFILE +# IF YOU CHANGE THE DEFINITION OF ANY OF THESE RECOMPILE EVERYTHING +# +# -DTRACE compile in kernel tracing hooks +# -DQUOTA compile in file system quotas + +# DEBUG is set to -g if debugging. +# PROF is set to -pg if profiling. + +AS?= as +AWK?= awk +CC?= cc +CPP?= cpp +LD?= ld +TOUCH?= touch -f -c + +# source tree is located via $S relative to the compilation directory +S= ../../../.. +ALPHA= ../.. + +INCLUDES= -I. -I$S/arch -I$S -I$S/sys +COPTS= ${INCLUDES} ${IDENT} -D_KERNEL +CFLAGS= -Werror -fno-builtin -mno-fp-regs ${DEBUG} ${COPTS} -Dalpha +AFLAGS= ${COPTS} + +### find out what to use for libkern +.include "$S/lib/libkern/Makefile.inc" +.ifndef PROF +LIBKERN= ${KERNLIB} +.else +LIBKERN= ${KERNLIB_PROF} +.endif + +### find out what to use for libcompat +.include "$S/compat/common/Makefile.inc" +.ifndef PROF +LIBCOMPAT= ${COMPATLIB} +.else +LIBCOMPAT= ${COMPATLIB_PROF} +.endif + +# compile rules: rules are named ${TYPE}_${SUFFIX}${CONFIG_DEP} +# where TYPE is NORMAL, DRIVER, or PROFILE}; SUFFIX is the file suffix, +# capitalized (e.g. C for a .c file), and CONFIG_DEP is _C if the file +# is marked as config-dependent. + +NORMAL_C= ${CC} -c ${CFLAGS} ${PROF} $< +NORMAL_C_C= ${CC} -c ${CFLAGS} ${PROF} ${PARAM} $< +NORMAL_S= rm -f $*.c; ln -s $< $*.c; \ + ${CC} ${AFLAGS} -I${ALPHA}/alpha -E $*.c > $*.i; \ + ${AS} -o $@ $*.i; rm -f $*.c $*.i +NORMAL_S_C= rm -f $*.c; ln -s $< $*.c; \ + ${CC} ${AFLAGS} ${PARAM} -I${ALPHA}/alpha -E $*.c > $*.i; \ + ${AS} -o $@ $*.i; rm -f $*.c $*.i + +%OBJS + +%CFILES + +# load lines for config "xxx" will be emitted as: +# xxx: ${SYSTEM_DEP} swapxxx.o +# ${SYSTEM_LD_HEAD} +# ${SYSTEM_LD} swapxxx.o +# ${SYSTEM_LD_TAIL} +DEBUG?= +.if ${DEBUG} == "-g" +LDX=-X +.else +LDX=-x +.endif +LDFLAGS= ${LDX} -G 4 -N -e __start -Ttext fffffc0000230000 +SYSTEM_OBJ= locore.o vnode_if.o ${OBJS} param.o ioconf.o ${LIBKERN} \ + ${LIBCOMPAT} +SYSTEM_DEP= Makefile ${SYSTEM_OBJ} +SYSTEM_LD_HEAD= @echo loading $@; rm -f $@ +SYSTEM_LD= -@echo ${LD} ${LDFLAGS} -o $@ '$${SYSTEM_OBJ}' vers.o ${XXX}; \ + ${LD} ${LDFLAGS} -o $@ ${SYSTEM_OBJ} vers.o ${XXX} +SYSTEM_LD_TAIL= @size $@; chmod 755 $@ +#.if ${DEBUG} == "-g" +#SYSTEM_LD_TAIL+=; echo cp $@ $@.gdb; rm -f $@.gdb; cp $@ $@.gdb; \ +# echo strip -d $@; strip -d $@ +#.endif + +%LOAD + +newvers: + sh $S/conf/newvers.sh + ${CC} ${CFLAGS} -c vers.c + +clean:: + rm -f eddep *netbsd netbsd.gdb tags tags1 vnode_if.[ch] *.[io] \ + [a-z]*.s Errs errs linterrs makelinks genassym + + +locore.o: ${ALPHA}/alpha/locore.s ${ALPHA}/alpha/pal.s \ + ${ALPHA}/alpha/prom_disp.s assym.s + ${NORMAL_S_C} + +# depend on maxusers +assym.s: Makefile + +./assym.s: assym.s +assym.s: genassym + ./genassym >assym.s + +genassym: genassym.o + ${CC} -o $@ genassym.o + +genassym.o: ${ALPHA}/alpha/genassym.c + ${CC} -c ${CFLAGS} ${PARAM} $< + +SRCS= ${CFILES} ${ALPHA}/alpha/genassym.c ioconf.c param.c vnode_if.c +depend: .depend +.depend: ${SRCS} assym.s + mkdep ${COPTS} ${SRCS} + mkdep -a -p ${COPTS} ${ALPHA}/alpha/genassym.c + +links: + egrep '#if' ${CFILES} | sed -f $S/conf/defines | \ + sed -e 's/:.*//' -e 's/\.c/.o/' | sort -u > dontlink + echo ${CFILES} | tr -s ' ' '\12' | sed 's/\.c/.o/' | \ + sort -u | comm -23 - dontlink | \ + sed 's,../.*/\(.*.o\),rm -f \1;ln -s ../GENERIC/\1 \1,' > makelinks + sh makelinks && rm -f dontlink + +tags: depend + sh $S/conf/systags.sh + rm -f tags1 + sed -e 's, ../, ,' tags > tags1 + +ioconf.o: ioconf.c + ${CC} -c ${CFLAGS} ioconf.c + +param.c: $S/conf/param.c + rm -f param.c + cp $S/conf/param.c . + +param.o: param.c Makefile + ${CC} -c ${CFLAGS} ${PARAM} param.c + +vnode_if.c vnode_if.h: $S/kern/vnode_if.sh $S/kern/vnode_if.src + AWK="${AWK}" sh $S/kern/vnode_if.sh $S/kern/vnode_if.src + +%RULES diff --git a/sys/arch/alpha/conf/TOMMY b/sys/arch/alpha/conf/TOMMY new file mode 100644 index 00000000000..5d8c625b54c --- /dev/null +++ b/sys/arch/alpha/conf/TOMMY @@ -0,0 +1,89 @@ +# $NetBSD: TOMMY,v 1.1 1995/08/03 00:09:24 cgd Exp $ +# +# Kernel for tomintoul.pdl.cs.cmu.edu. +# Should work on AlphaStation 400s and AlphaStation 200s + +machine alpha + +makeoptions DEBUG="-g" + +maxusers 8 + +# CPU Support +options DEC_2100_A50 # Avanti etc: AlphaStation 400, 200, etc. + +# needs to be set per system +options TIMEZONE="5*60" # Minutes west of GMT (for param.c) +options DST=1 # Daylight savings rules (for param.c) + +# Standard system options +options SWAPPAGER, VNODEPAGER, DEVPAGER # Paging (mandatory) +options DEBUG, DIAGNOSTIC # Extra kernel debugging +options KTRACE # System call tracing support + +# File system options +options FIFO # POSIX fifo support (in all file systems) +options FFS # Fast file system +options MFS # Memory-based file system +options NFSCLIENT # Sun NFS-compatible file system client + +# Networking options +options INET # Internet protocol suite + +# 4.3BSD compatibility. Should be optional, but necessary for now. +options COMPAT_43 + +# Loadable Kernel Modules +options LKM + +# Disable kernel security. +#options INSECURE + +# Misc. options +options PCIVERBOSE # recognize "unknown" PCI devices + +config netbsd root on sd0 swap on sd0 + +mainbus0 at root +cpu* at mainbus0 + +# PCI host bus adapter support +apecs* at mainbus? +#lca* at cpu? + +# PCI bus support +pci* at apecs? +#pci* at lca? + +# PCI devices +de* at pci? +sio* at pci? +ncr* at pci? +tga* at pci? +pcivga* at pci? + +# ISA bus support +isa0 at sio? + +# ISA devices +clock0 at isa? port 0x70 +pckbd0 at isa? port 0x60 irq 1 # PC-ish ISA keyboard +#pms0 at isa? port 0x60 irq 12 # PS/2 auxiliary +com0 at isa? port 0x3f8 irq 4 # standard serial ports +com1 at isa? port 0x2f8 irq 3 +lpt0 at isa? port 0x3bc irq 7 # standard parallel port +wss0 at isa? port 0x530 irq 9 drq 0 # Windows Sound System + +# SCSI bus support +scsibus* at ncr? + +# SCSI devices +sd* at scsibus? target ? lun ? +st* at scsibus? target ? lun ? +cd* at scsibus? target ? lun ? + +pseudo-device bpfilter +pseudo-device loop +pseudo-device pty +pseudo-device sl +pseudo-device vnd diff --git a/sys/arch/alpha/conf/files.alpha b/sys/arch/alpha/conf/files.alpha new file mode 100644 index 00000000000..e863926f69a --- /dev/null +++ b/sys/arch/alpha/conf/files.alpha @@ -0,0 +1,190 @@ +# $NetBSD: files.alpha,v 1.7 1995/09/20 00:20:18 thorpej Exp $ +# +# alpha-specific configuration info + +# maxpartitions must be first item in files.${ARCH}.newconf +maxpartitions 8 + +maxusers 2 8 64 + + +# +# Bus-independent devices +# + +device mainbus at root { } # no locators (yet?) + +device cpu at mainbus { } # not really optional; can be a 'bus' +file arch/alpha/alpha/cpu.c cpu + +# +# Machine-independent SCSI drivers +# + +include "../../../scsi/files.scsi" +major { st = 2 } +major { cd = 3 } +major { sd = 8 } + +# +# ansi/sun console emulator +# +define ansicons +file dev/pseudo/ansicons.c ansicons + +# +# raster console routines +# +define rcons +file dev/pseudo/raster_op.c rcons +file dev/pseudo/raster_text.c rcons +file dev/pseudo/rcons_init.c rcons +file dev/pseudo/rcons_subr.c rcons + +# +# "Workstation Console" glue; attaches frame buffer to emulator & kbd. +# XXX should be pseudo-device, with an ansicons attribute. +# +define wsc # XXX should be pseudo-dev +file arch/alpha/pci/wscons.c wsc needs-flag + +# +# TurboChannel Devices +# + +# the turbochannel bus itself +device tc at mainbus { slot = -1, offset = -1 } +file arch/alpha/tc/tc.c tc needs-flag +file arch/alpha/tc/tc_3000_300.c dec_3000_300 +file arch/alpha/tc/tc_3000_500.c dec_3000_500 + +# the TurboChannel IOCTL ASIC +device asic at tc { offset = -1 } # not really optional +file arch/alpha/tc/asic.c asic + +# the TurboChannel clock (XXX) +# device clock at asic # not really optional +#file arch/alpha/alpha/clock.c clock + +# Smart Frame buffer (XXX NOT YET SUPPORTED) +device sfb at tc +file arch/alpha/tc/sfb.c sfb + +# 8530 UARTs +device scc at asic +file arch/alpha/tc/scc.c scc needs-count + +# the TCDS ASIC +device tcds at tc { slot = -1 } +file arch/alpha/tc/tcds.c tcds needs-count + +# 53C[F]90 SCSI +device esp at tcds: scsi +file arch/alpha/tc/esp.c esp needs-count +file arch/alpha/tc/tcds_dma.c esp + +# Baseboard Lance ethernet. (XXX option slot lance) +device le at asic: ifnet, ether +file arch/alpha/tc/if_le.c le needs-count + +# +# PCI-bearing chipsets and "necessary" files. +# + +device apecs at mainbus { } +file arch/alpha/pci/apecs.c apecs +file arch/alpha/pci/apecs_isa.c apecs +file arch/alpha/pci/apecs_pci.c apecs + +device lca at cpu { } +file arch/alpha/pci/lca.c lca +file arch/alpha/pci/lca_pio.c lca + +file arch/alpha/pci/pci_2100_a50.c dec_2100_a50 + +# +# PCI devices +# + +device pci at apecs, lca {[bus = -1], [dev = -1]} + +include "../../../dev/pci/files.pci" +file arch/alpha/pci/pci_machdep.c pci + +device sio at pci { } +file arch/alpha/pci/sio.c sio +file arch/alpha/pci/sio_pic.c sio + +device tga at pci: rcons, wsc, ansicons +file arch/alpha/pci/tga.c tga needs-flag + +device pcivga at pci: wsc, ansicons +file arch/alpha/pci/pcivga.c pcivga needs-flag + +# +# ISA Devices +# + +device isa at sio {[port = -1], [size = 0], # XXX + [iomem = -1], [iosiz = 0], + [irq = -1], [drq = -1]} +device clock at isa, asic # not really optional + +include "../../../dev/isa/files.isa" +file arch/alpha/isa/isa_machdep.c isa needs-flag # XXX + +#file arch/alpha/isa/isafcns_jensen.c dec_2000_300 + +device pckbd at isa +file arch/alpha/isa/pckbd.c pckbd needs-flag +device pms at isa +file arch/alpha/isa/pms.c pms needs-flag + + +# +# EISA Devices +# + +#include "../../../dev/eisa/files.eisa" + +# +# Standard files +# + +file arch/alpha/alpha/autoconf.c +file arch/alpha/alpha/conf.c +file arch/alpha/alpha/interrupt.c +file arch/alpha/alpha/machdep.c +file arch/alpha/alpha/mainbus.c +file arch/alpha/alpha/mem.c +file arch/alpha/alpha/pmap.c +file arch/alpha/alpha/process_machdep.c +file arch/alpha/alpha/prom.c +file arch/alpha/alpha/support.c +file arch/alpha/alpha/sys_machdep.c +file arch/alpha/alpha/trap.c +file arch/alpha/alpha/vm_machdep.c +file arch/alpha/alpha/disksubr.c +file dev/cons.c +file netinet/in_cksum.c + +# +# Optional files +# + +file netns/ns_cksum.c ns + +file arch/alpha/alpha/clock.c clock +file arch/alpha/alpha/clock_mc.c dec_3000_500 dec_2000_300 dec_3000_300 + dec_2100_a50 + +# XXX +file arch/alpha/alpha/promcons.c + +# XXX +file arch/alpha/alpha/dec_3000_500.c dec_3000_500 +file arch/alpha/alpha/dec_3000_300.c dec_3000_300 +file arch/alpha/alpha/dec_2100_a50.c dec_2100_a50 + +# OSF/1 Binary Compatibility (COMPAT_OSF1) +include "../../../compat/osf1/files.osf1" |