Port-sparc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Sun LX Kernel config
This is the config file I use on -current for my LX.
Martin
include "arch/sparc/conf/std.sparc"
maxusers 10
## System kernel configuration. See options(4) for more detail.
# Options for variants of the Sun SPARC architecure.
options SUN4M # sun4m - SS10, SS20, Classic, etc.
## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
## serial console break or keyboard reset, where the PROM would normally
## intercept. DDB_HISTORY_SIZE adds up/down arrow command history.
options DDB # kernel dynamic debugger
# options DDB_HISTORY_SIZE=100 # enable history editing in DDB
# options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic'
# options PCMCIADEBUG
# options PCMCIACISDEBUG
# options DIAGNOSTIC # extra kernel sanity checking
# options DEBUG
## Root device configuration: change the ?'s if you are going to use a
## nonstandard root partition (other than where the kernel is booted from)
## and/or nonstandard root type (not ffs or nfs). Normally this can be
## automagically determined at boot time.
config netbsd root on ? type ?
## System call tracing (see ktrace(1)).
# options KTRACE
## System V compatible IPC subsystem. (msgctl(2), semctl(2), and shmctl(2))
options SYSVMSG # System V message queues
options SYSVSEM # System V semaphores
#options SEMMNI=10 # number of semaphore identifiers
#options SEMMNS=60 # number of semaphores in system
#options SEMUME=10 # max number of undo entries per process
#options SEMMNU=30 # number of undo structures in system
options SYSVSHM # System V shared memory
#options SHMMAXPGS=1024 # 1024 pages is the default
# compiler options
makeoptions COPTS="-Os -pipe -mcpu=v8 -mtune=supersparc"
## Options for compatibility with previous releases foreign system binaries.
## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up
## additional user-level utilities or system configuration files. See
## compat_sunos(8) and compat_svr4(8).
options COMPAT_40
## File systems. You probably need at least one of FFS or NFS.
file-system FFS # Berkeley Fast Filesystem
file-system NFS # Sun NFS-compatible filesystem client
file-system KERNFS # kernel data-structure filesystem
file-system PROCFS # /proc
file-system PTYFS # /dev/pts/N support
## File system options.
options SOFTDEP # FFS soft updates support.
## Network protocol support. In most environments, INET is required.
options INET # IP (Internet Protocol) v4
options GATEWAY # packet forwarding ("router switch")
options NTP # Network Time Protocol in-kernel support
options PFIL_HOOKS # Add pfil(9) hooks, intended for custom LKMs.
options IPFILTER_LOG # Add ipmon(8) logging for ipfilter device
#### Main bus and CPU .. all systems.
mainbus0 at root
cpu0 at mainbus0
#### Bus types found on SPARC systems.
obio0 at mainbus0 # sun4 and sun4m
iommu0 at mainbus0 # sun4m
sbus0 at iommu0 # sun4m
#### Standard system devices -- all required for a given architecture
## Auxiliary system registers on sun4c and sun4m
auxreg0 at obio0 # sun4m
## Power status and control register on Sun4m systems
power0 at obio0
## Mostek clock found on 4/300, sun4c, and sun4m systems.
## The Mostek clock NVRAM is the "eeprom" on sun4/300 systems.
clock0 at obio0 # sun4m
## Timer chip found on 4/300, sun4c, and sun4m systems.
timer0 at obio0 # sun4m
#### Serial port configuration
## Zilog 8530 serial chips. Each has two-channels.
## zs0 is ttya and ttyb. zs1 is the keyboard and mouse.
zs0 at obio0 # sun4m
zstty0 at zs0 channel 0 # ttya
zstty1 at zs0 channel 1 # ttyb
zs1 at obio0 # sun4m
kbd0 at zs1 channel 0 # keyboard
ms0 at zs1 channel 1 # mouse
# Parallel port.
bpp* at sbus? slot? offset ?
#### Disk controllers and disks
## The following flags may be set for the NCR53c94 based esp driver:
## bits 0-7: disable disconnect/reselect for the corresponding target
## bits 8-15: disable synchronous negotiation for target [bit-8]
## sun4/300, sun4c, sun4m on-board SCSI, and FSBE/S SBus SCSI cards.
## Both `dma' and `esp' are needed in all cases.
## Two kinds of additional SBus SCSI interfaces are available. One uses
## "esp at sbus" like the sun4c on-board; the other uses "esp at dma".
## sun4/300 SCSI - an NCR53c94 or equivalent behind
## an LSI Logic DMA controller
dma0 at sbus0 slot ? offset ? # sun4c/sun4m
esp0 at dma0 flags 0x0000 # sun4m
scsibus* at esp?
## These entries find devices on all SCSI busses and assign
## unit numbers dynamically.
sd* at scsibus? target ? lun ? # SCSI disks
## A disk-like interface to files. Can be used to create floppy, CD,
## miniroot images, etc.
pseudo-device vnd 4
#### Network interfaces
## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue
## Three flavors of additional SBus ethernets are available. One attaches
## directly like the sun4c on-board, one uses the ledma device like the
## sun4m on-board, and one uses the lebuffer device.
ledma0 at sbus0 slot ? offset ? # sun4m on-board
le0 at ledma0 # sun4m on-board
## Happy Meal Ethernet
hme* at sbus? slot ? offset ?
# MII/PHY support
qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
# DBRI audio support
# dbri* at sbus? slot ? offset ?
# audio* at dbri?
## SBus to PCMCIA bridge
nell* at sbus? slot ? offset ? flags 1 # PCMCIA bridge (use second
interrupt)
# nell* at sbus? slot ? offset ? # PCMCIA bridge
pcmcia* at nell?
wi* at pcmcia? function ? # Lucent WaveLan IEEE (802.11)
## Loopback network interface; required
pseudo-device loop
## Generic L3 over IP tunnel
pseudo-device gre # generic L3 over IP tunnel
## Berkeley Packet Filter, required to run RARPD. A generic C-language
## interface that allows selective examining of incoming packets.
pseudo-device bpfilter 8
## IP Filter, used in firewall and NAT applications. See ipnat(8) for
## one example of the use of the IP Filter.
pseudo-device ipfilter
pseudo-device pppoe
## Simple inter-network traffic bridging
pseudo-device bridge
#### Audio and video devices
## Sun "cgsix" accelerated color framebuffer.
cgsix0 at sbus? slot ? offset ?
## Pseudo ttys, required for network logins and programs like screen.
pseudo-device pty # pseudo-terminals
## Random device, used to implement /dev/random (a source of random noise),
## and generate randomness for some kernel formulae.
pseudo-device rnd
options STP4020_DEBUG
options WI_DEBUG
Home |
Main Index |
Thread Index |
Old Index