diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2002-10-27 23:00:15 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2002-10-27 23:00:15 +0000 |
commit | 5b43a9d2739a580d1a575e750198317bd1527d78 (patch) | |
tree | 7a39a46c2f4cb21d8ba1458eae5248b667764c84 /sys/arch | |
parent | 3015a31aa093ce195b9e7516d9ec8e627e569a70 (diff) |
Turn into a really useful configuration file, i.e. GENERIC tuned for sun4c
hardware, like SUN4M is for sun4m hardware.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sparc/conf/SUN4C | 242 |
1 files changed, 101 insertions, 141 deletions
diff --git a/sys/arch/sparc/conf/SUN4C b/sys/arch/sparc/conf/SUN4C index 3c518242a1b..8dbfe6289fd 100644 --- a/sys/arch/sparc/conf/SUN4C +++ b/sys/arch/sparc/conf/SUN4C @@ -1,89 +1,55 @@ -# $OpenBSD: SUN4C,v 1.34 2002/09/20 11:17:55 fgsch Exp $ -# $NetBSD: GENERIC,v 1.19 1995/10/08 11:45:39 pk Exp $ +# $OpenBSD: SUN4C,v 1.35 2002/10/27 23:00:14 miod Exp $ +# $NetBSD: GENERIC,v 1.48 1997/08/23 19:19:01 mjacob Exp $ +# Machine architecture; required by config(8) machine sparc -option SUN4C -#option MMU_3L -#option DDB,DEBUG,DIAGNOSTIC - -# obsolete timezone spec -option TIMEZONE=0, DST=0 - -# Standard system options -#option DEBUG, DIAGNOSTIC # extra kernel debugging -option KTRACE # system call tracing support -#option KGDB # support for kernel gdb -#option KGDBDEV=0xc01, KGDBRATE=38400 # device & baud rate -option SYSVMSG,SYSVSEM,SYSVSHM - -# Filesystem options -option FFS -option NFSSERVER # Sun NFS-compatible filesystem -option NFSCLIENT # Sun NFS-compatible filesystem -option KERNFS # kernel data-structure filesystem -option FIFO # POSIX fifo support (in all filesystems) -option QUOTA # fast filesystem with user and group quotas -option MFS # memory-based filesystem -option LOFS # Loop-back filesystem -option FDESC # user file descriptor filesystem -option NULLFS # null fs, required by umapfs -option UMAPFS # uid/gid remapping filesystem -option PORTAL # portal filesystem (still experimental) -option PROCFS # /proc -option CD9660 # ISO 9660 + Rock Ridge file system -option UNION # union file system - -# Networking options -option INET -#option TCP_COMPAT_42 # compatibility with 4.2BSD TCP/IP -#option GATEWAY # IP packet forwarding -#option ISO # OSI networking -#option TPIP -#option EON -option COMPAT_43 - -option LKM + +include "../../../conf/GENERIC" + + +# Options for variants of the Sun SPARC architecure. +# At least one is required. +option SUN4C # sun4c - SS1, 1+, 2, ELC, SLC, IPC, IPX, etc. + +#option KGDB # support for kernel gdb +#option KGDBDEV=0xc01 # kgdb device number (dev_t) +#option KGDBRATE=38400 # baud rate # Options for SPARCstation hardware -option COMPAT_SUNOS # compatibility with SunOS binaries -option COMPAT_SVR4 # compatibility with SVR4 binaries +option COMPAT_SUNOS # compatibility with SunOS binaries +option COMPAT_SVR4 # compatibility with SVR4 binaries -maxusers 16 # estimated number of users +maxusers 18 # estimated number of users +# Generic swap; second partition of root disk or network. config bsd swap generic +# Main bus and CPU .. all systems. mainbus0 at root cpu0 at mainbus0 -sbus0 at mainbus0 -#obio0 at mainbus0 -#vmes0 at mainbus0 -#vmel0 at mainbus0 +# Bus types found on SPARC systems. +sbus0 at mainbus0 # sun4c -audioamd0 at mainbus0 +audioamd0 at mainbus0 # sun4c audio* at audioamd? -auxreg0 at mainbus0 - -clock0 at mainbus0 -#clock0 at obio0 addr 0xf2000000 -#oclock0 at obio0 addr 0xf3000000 -#oclock0 at obio0 addr 0x03000000 # 4/100 -memreg0 at mainbus0 -#memreg0 at obio0 addr 0xf4000000 -#memreg0 at obio0 addr 0x04000000 # 4/100 -timer0 at mainbus0 -#timer0 at obio0 addr 0xef000000 -#eeprom0 at obio0 addr 0xf2000000 -#eeprom0 at obio0 addr 0x02000000 # 4/100 - -zs0 at mainbus0 -#zs0 at obio0 addr 0xf1000000 level 12 flags 0x103 -#zs0 at obio0 addr 0x01000000 level 12 flags 0x103 # 4/100 -zs1 at mainbus0 -#zs1 at obio0 addr 0xf0000000 level 12 flags 0x103 -#zs1 at obio0 addr 0x00000000 level 12 flags 0x103 # 4/100 -#zs2 at obio0 addr 0xe0000000 level 12 flags 0x103 +auxreg0 at mainbus0 # sun4c + +# Mostek clock found on 4/300, sun4c, and sun4m systems. +# The Mostek clock NVRAM is the "eeprom" on sun4/300 systems. +clock0 at mainbus0 # sun4c + +# Memory error registers. +memreg0 at mainbus0 # sun4c + +# Timer chip found on 4/300, sun4c, and sun4m systems. +timer0 at mainbus0 # sun4c + +# Zilog 8530 serial chips. Each has two-channels. +# zs0 is ttya and ttyb. zs1 is the keyboard and mouse. +zs0 at mainbus0 # sun4c +zs1 at mainbus0 # sun4c zstty* at zs? channel ? zskbd* at zs? channel ? @@ -99,28 +65,39 @@ spif* at sbus? slot ? offset ? # spif serial cards stty* at spif? sbpp* at spif? +bpp* at sbus? slot ? offset ? # parallel port + # SUNW,xbox SBus Expansion Subsystem xbox* at sbus? slot ? offset ? # SBus Expansion box sbus* at xbox? -# FSBE/S or sun4m -#espdma0 at sbus0 slot ? offset ? -#espdma* at sbus0 slot ? offset ? -#esp0 at espdma? slot ? offset ? -#esp* at espdma? slot ? offset ? - -# old sun4c SCSI -dma0 at sbus0 slot ? offset ? -dma* at sbus0 slot ? offset ? -#dma0 at obio0 addr 0xfa001000 level 4 -esp0 at sbus0 slot ? offset ? -esp* at sbus0 slot ? offset ? -#esp0 at obio0 addr 0xfa000000 level 4 - -# old sun4c -le0 at sbus? slot ? offset ? +# +# 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. +# + +# sun4c or sun4m SCSI - an NCR53c94 or equivalent behind +# specialized DMA glue +dma0 at sbus0 slot ? offset ? # on-board SCSI +esp0 at sbus0 slot ? offset ? flags 0xff0f # sun4c + +# FSBE/S SCSI - an NCR53c94 or equivalent behind +dma* at sbus? slot ? offset ? # SBus SCSI +esp* at sbus? slot ? offset ? flags 0xff0f # two flavours +esp* at dma? flags 0xff0f # depending on model + +#sun4c, sun4m +isp* at sbus? slot ? offset ? + +# sun4/300 and sun4c Ethernet - an AMD 7990 LANCE +le0 at sbus0 slot ? offset ? # sun4c on-board le* at sbus? slot ? offset ? -#le0 at obio0 addr 0xf9000000 level 6 # HappyMeal ethernet hme* at sbus? slot ? offset ? @@ -133,62 +110,45 @@ qec* at sbus? slot ? offset ? qe* at qec? be* at qec? -#ie0 at obio0 addr 0xf6000000 level 6 -#ie0 at obio0 addr 0x06000000 level 6 # 4/100 -#ie1 at vmes0 addr 0xffe88000 level 5 vect 0x75 -#ie2 at vmes0 addr 0xff31ff02 level 5 vect 0x76 -#ie3 at vmes0 addr 0xff35ff02 level 5 vect 0x77 -#ie4 at vmes0 addr 0xff2dff02 level 5 vect 0x7c - -#xdc0 at vmel0 addr 0xffffee80 level 3 vect 0x44 -#xdc1 at vmel0 addr 0xffffee90 level 3 vect 0x45 -#xdc2 at vmel0 addr 0xffffeea0 level 3 vect 0x46 -#xdc3 at vmel0 addr 0xffffeeb0 level 3 vect 0x47 -#xd* at xdc? drive ? - -#xyc0 at vmes0 addr 0xffffee40 level 3 vect 0x48 -#xyc1 at vmes0 addr 0xffffee48 level 3 vect 0x49 -#xy* at xyc? drive ? - -#si0 at vmes0 addr 0xff200000 level 2 vect 0x40 -#si1 at vmes0 addr 0xff204000 level 2 vect 0x41 -#sw0 at obio0 addr 0x0a000000 level 2 - -bwtwo0 at sbus0 slot ? offset ? -bwtwo* at sbus? slot ? offset ? -#bwtwo0 at obio0 addr 0xfd000000 level 4 # 4/260 -#bwtwo0 at obio0 addr 0xfb300000 level 4 # 4/{300/400} ?? -#cgtwo0 at vmes0 addr 0xff400000 level 4 vect 0xa8 -#cgnine0 at vmel0 addr 0x08000000 level 4 -cgthree* at sbus? slot ? offset ? -cgsix* at sbus? slot ? offset ? -cgtwelve* at sbus? slot ? offset ? flags 0x0000 -vigra* at sbus? slot ? offset ? - +# Sun "bwtwo" black and white framebuffer, found on sun4, sun4c, and sun4m +# systems. +bwtwo0 at sbus0 slot ? offset ? # sun4c on-board +bwtwo* at sbus? slot ? offset ? # sun4c and sun4m wsdisplay* at bwtwo? + +# Sun "cgthree" Sbus color framebuffer. +cgthree* at sbus? slot ? offset ? wsdisplay* at cgthree? + +# Sun "cgsix" accelerated color framebuffer. +cgsix0 at sbus? slot ? offset ? +cgsix* at sbus? slot ? offset ? wsdisplay* at cgsix? + +# Sun "cgtwelve" (GS) accelerated 24-bit framebuffer. +cgtwelve* at sbus? slot ? offset ? flags 0x0000 wsdisplay* at cgtwelve? + +# Vigra VS10 or VS12 framebuffer. +vigra* at sbus? slot ? offset ? wsdisplay* at vigra? +# SCSI bus layer. SCSI devices attach to the SCSI bus, which attaches +# to the underlying hardware controller. scsibus* at esp? -#scsibus* at si? -#scsibus* at sw? - -sd* at scsibus? target ? lun ? -st* at scsibus? target ? lun ? -cd* at scsibus? target ? lun ? -ch* at scsibus? target ? lun ? # SCSI changer devices -ss* at scsibus? target ? lun ? # SCSI scanners -uk* at scsibus? target ? lun ? # unknown SCSI devices - -fdc0 at mainbus0 -fd* at fdc0 - -pseudo-device loop -pseudo-device pty 32 -pseudo-device sl 2 -pseudo-device ppp 2 -pseudo-device tun 4 -pseudo-device vnd 3 -pseudo-device bpfilter 16 +scsibus* at isp? + +# These entries find devices on all SCSI busses and assign +# unit numers dynamically. +sd* at scsibus? target ? lun ? # SCSI disks +st* at scsibus? target ? lun ? # SCSI tapes +cd* at scsibus? target ? lun ? # SCSI CD-ROMs +ch* at scsibus? target ? lun ? # SCSI changer devices +ss* at scsibus? target ? lun ? # SCSI scanners +uk* at scsibus? target ? lun ? # unknown SCSI devices + +# Floppy controller and drive found on SPARCstations. +fdc0 at mainbus0 # sun4c controller +fd* at fdc0 # the drive itself + +#pseudo-device strip 1 # radio clock |