Home | History | Annotate | Line # | Download | only in conf
MRCOFFEE revision 1.5
      1 # $NetBSD: MRCOFFEE,v 1.5 2004/11/10 17:54:07 christos Exp $
      2 # From: NetBSD: GENERIC,v 1.160 2004/07/10 12:05:35 uwe Exp
      3 #
      4 # Mr.Coffee (JavaStation 1) machine description file
      5 #
      6 # This configuration is for machines using Open Boot Prom only!
      7 # The OpenFirmware-variants of JavaStation 1 should use the MRCOFFEE_OFW
      8 # kernel.
      9 #
     10 
     11 include 	"arch/sparc/conf/std.sparc"
     12 
     13 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
     14 
     15 #ident 		"MRCOFFEE-$Revision: 1.5 $"
     16 
     17 maxusers	32
     18 
     19 ## System kernel configuration.  See options(4) for more detail.
     20 
     21 
     22 # Options for variants of the Sun SPARC architecure.
     23 # We currently support three architecture types; at least one is required.
     24 options 	SUN4M		# sun4m - SS10, SS20, Classic, etc.
     25 
     26 
     27 ## System options specific to the sparc machine type
     28 
     29 # Blink the power LED on some machines to indicate the system load.
     30 #options 	BLINK
     31 
     32 # XXX: uwe: TCX driver doesn't support RASTERCONSOLE, so don't bother
     33 ## Use a faster console than the PROM's slow drawing routines.  Not needed
     34 ## for headless (no framebuffer) machines.
     35 #options 	RASTERCONSOLE		# fast rasterop console
     36 #options 	FONT_GALLANT12x22	# the console font
     37 #options 	FONT_BOLD8x16		# a somewhat smaller font
     38 ## default console colors: black-on-white; this can be changed
     39 ## using the following two options.
     40 #options 	RASTERCONSOLE_FGCOL=WSCOL_BLACK
     41 #options 	RASTERCONSOLE_BGCOL=WSCOL_WHITE
     42 
     43 #### System options that are the same for all ports
     44 
     45 ## Root device configuration: change the ?'s if you are going to use a
     46 ## nonstandard root partition (other than where the kernel is booted from)
     47 ## and/or nonstandard root type (not ffs or nfs).  Normally this can be
     48 ## automagically determined at boot time.
     49 
     50 config		netbsd	root on ? type ?
     51 
     52 ## System call tracing (see ktrace(1)).
     53 options 	KTRACE
     54 options 	SYSTRACE	# system call vetting via systrace(1)
     55 
     56 ## Collect statistics on kernel malloc's and free's.  This does have a
     57 ## significant performance hit on slower machines, so it is intended for
     58 ## diagnostic use only.
     59 #options 	KMEMSTATS
     60 
     61 ## System V compatible IPC subsystem.  (msgctl(2), semctl(2), and shmctl(2))
     62 options 	SYSVMSG		# System V message queues
     63 options 	SYSVSEM		# System V semaphores
     64 #options 	SEMMNI=10	# number of semaphore identifiers
     65 #options 	SEMMNS=60	# number of semaphores in system
     66 #options 	SEMUME=10	# max number of undo entries per process
     67 #options 	SEMMNU=30	# number of undo structures in system
     68 options 	SYSVSHM		# System V shared memory
     69 #options 	SHMMAXPGS=1024	# 1024 pages is the default
     70 options 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
     71 
     72 ## Loadable kernel module support; still under development.
     73 options 	LKM
     74 
     75 options 	USERCONF	# userconf(4) support
     76 #options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
     77 options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
     78 
     79 # Enable experimental buffer queue strategy for better responsiveness under 
     80 # high disk I/O load. Use it with caution - it's not proven to be stable yet.
     81 #options 	NEW_BUFQ_STRATEGY
     82 
     83 ## NFS boot options; tries DHCP/BOOTP then BOOTPARAM
     84 options 	NFS_BOOT_BOOTPARAM
     85 #options 	NFS_BOOT_BOOTP
     86 options 	NFS_BOOT_DHCP
     87 
     88 #### Debugging options
     89 
     90 ## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
     91 ## serial console break or keyboard reset, where the PROM would normally
     92 ## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
     93 #options 	DDB			# kernel dynamic debugger
     94 #options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
     95 #options 	DDB_ONPANIC=1		# see also sysctl(8): `ddb.onpanic'
     96 
     97 ## You may also use gdb, on another computer connected to this machine over
     98 ## a serial port.  Both KGDB_DEV and KGDB_DEVRATE should be specified;
     99 ## KGDB_DEV is a dev_t encoded device number of the serial port to use, where
    100 ## the minor device number encodes the PROM enumeration of the serial ports,
    101 ## i.e.:
    102 ## 0xc00 = ttya, 0xc01 = ttyb, 0xc02 = ttyc, 0xc03 = ttyd.
    103 ## (Note: ttyc and ttyd are available only on some sun4 models)
    104 #options 	KGDB			# support for kernel gdb
    105 #options 	KGDB_DEV=0xc01		# kgdb device number (this is `ttyb')
    106 #options 	KGDB_DEVRATE=38400	# baud rate
    107 
    108 
    109 ## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
    110 ## such that gdb(1) can be used on a kernel coredump.
    111 
    112 #makeoptions	DEBUG="-g"
    113 makeoptions	COPTS="-pipe -mcpu=supersparc -O2"
    114 
    115 
    116 
    117 ## Adds code to the kernel that does internal consistency checks, and will
    118 ## cause the kernel to panic if corruption of internal data structures
    119 ## is detected.
    120 #options 	DIAGNOSTIC	# extra kernel sanity checking
    121 
    122 ## Enable (possibly expensive) debugging code that may also display messages
    123 ## on the system console
    124 #options 	DEBUG
    125 
    126 ## Make SCSI error messages more verbose when explaining their meanings.
    127 options 	SCSIVERBOSE
    128 
    129 options 	MIIVERBOSE	# verbose PHY autoconfig messages
    130 
    131 ## `INSECURE' turns off the kernel security level (securelevel = 0 always).
    132 ## This allows writing to /dev/mem, loading kernel modules while multi-user,
    133 ## and other insecurities good only for development work.  Do not use this
    134 ## option on a production machine.
    135 #options 	INSECURE
    136 
    137 ## `FDSCRIPTS' allows non-readable but executable scripts by providing a
    138 ## pre-opened opaque file to the script interpreter.  `SETUIDSCRIPTS',
    139 ## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
    140 ## opaque file mechanism.  Perl calls this "secure setuid scripts."
    141 
    142 #options 	FDSCRIPTS
    143 #options 	SETUIDSCRIPTS
    144 
    145 ## Options for compatibility with previous releases foreign system binaries.
    146 ## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up
    147 ## additional user-level utilities or system configuration files. See
    148 ## compat_sunos(8) and compat_svr4(8).
    149 
    150 options 	COMPAT_43	# 4.3BSD system interfaces
    151 options 	COMPAT_10	# NetBSD 1.0 binary compatibility
    152 options 	COMPAT_11	# NetBSD 1.1 binary compatibility
    153 options 	COMPAT_12	# NetBSD 1.2 binary compatibility
    154 options 	COMPAT_13	# NetBSD 1.3 binary compatibility
    155 options 	COMPAT_14	# NetBSD 1.4 binary compatibility
    156 options 	COMPAT_16	# NetBSD 1.6 binary compatibility
    157 options 	COMPAT_20	# NetBSD 2.0 binary compatibility
    158 options 	COMPAT_SUNOS	# SunOS 4.x binary compatibility
    159 options 	COMPAT_SVR4	# SunOS 5.x binary compatibility
    160 options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
    161 
    162 ## File systems.  You probably need at least one of FFS or NFS.
    163 file-system	FFS		# Berkeley Fast Filesystem
    164 file-system	NFS		# Sun NFS-compatible filesystem client
    165 file-system	KERNFS		# kernel data-structure filesystem
    166 file-system	NULLFS		# NULL layered filesystem
    167 file-system 	OVERLAY		# overlay file system
    168 file-system	MFS		# memory-based filesystem
    169 file-system	FDESC		# user file descriptor filesystem
    170 file-system	UMAPFS		# uid/gid remapping filesystem
    171 #file-system	LFS		# Log-based filesystem (still experimental)
    172 file-system	PORTAL		# portal filesystem (still experimental)
    173 file-system	PROCFS		# /proc
    174 #file-system	CD9660		# ISO 9660 + Rock Ridge file system
    175 #file-system	UNION		# union file system
    176 #file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
    177 #file-system	CODA		# Coda File System; also needs vcoda (below)
    178 
    179 ## File system options.
    180 #options 	NFSSERVER	# Sun NFS-compatible filesystem server
    181 #options 	QUOTA		# FFS quotas
    182 #options 	FFS_EI		# FFS Endian Independent support
    183 #options 	SOFTDEP		# FFS soft updates support.
    184 
    185 ## Network protocol support.  In most environments, INET is required.
    186 options 	INET		# IP (Internet Protocol) v4
    187 options 	INET6		# IPV6
    188 #options 	IPSEC		# IP security
    189 #options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
    190 #options 	IPSEC_DEBUG	# debug for IP security
    191 #options 	GATEWAY		# packet forwarding ("router switch")
    192 #options 	MROUTING	# packet forwarding of multicast packets
    193 #options 	PIM		# Protocol Independent Multicast
    194 #options 	DIRECTED_BROADCAST	# allow broadcasts through routers
    195 options 	NS		# Xerox NS networking
    196 #options 	NSIP		# Xerox NS tunneling over IP
    197 options 	ISO,TPIP	# OSI networking
    198 #options 	EON		# OSI tunneling over IP
    199 #options 	CCITT,LLC,HDLC	# X.25 packet switched protocol
    200 #options 	NETATALK	# AppleTalk (over Ethernet) protocol
    201 options 	NTP		# Network Time Protocol in-kernel support
    202 #options 	PPS_SYNC	# Add serial line synchronization for NTP
    203 #options 	PFIL_HOOKS	# Add pfil(9) hooks, intended for custom LKMs.
    204 #options 	IPFILTER_LOG	# Add ipmon(8) logging for ipfilter device
    205 #options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
    206 #options 	PPP_BSDCOMP	# Add BSD compression to ppp device
    207 #options 	PPP_DEFLATE	# Add deflate (libz) compression to ppp device
    208 #options 	PPP_FILTER	# Add active filters for ppp (via bpf)
    209 
    210 
    211 
    212 #### Main bus and CPU .. all systems.
    213 mainbus0 at root
    214 cpu0	at mainbus0
    215 
    216 #### Bus types found on SPARC systems.
    217 
    218 obio0	at mainbus0				# sun4 and sun4m
    219 
    220 iommu0	at mainbus0				# sun4m
    221 sbus0	at iommu0				# sun4m
    222 
    223 
    224 #### Standard system devices -- all required for a given architecture
    225 
    226 ## Auxiliary system registers on sun4c and sun4m
    227 auxreg0	at obio0				# sun4m
    228 
    229 ## Mostek clock found on 4/300, sun4c, sun4m and sun4d systems.
    230 clock0	at obio0				# sun4m
    231 
    232 ## Timer chip found on 4/300, sun4c, and sun4m systems.
    233 timer0	at obio0				# sun4m
    234 
    235 
    236 #### Serial port configuration
    237 
    238 ## NS16x50 serial chips and clones.  Present on the
    239 ## Sun JavaStation-1 and Tadpole SPARCbook 3
    240 com0	at obio0                                        # sun4m
    241 
    242 
    243 #### Keyboard and mouse
    244 
    245 pckbc0	at obio0
    246 kbd0	at pckbc0
    247 ms0	at pckbc0
    248 
    249 
    250 #### Disk controllers and disks
    251 
    252 ## A disk-like interface to files.  Can be used to create floppy, CD,
    253 ## miniroot images, etc.
    254 
    255 #pseudo-device	vnd	4
    256 
    257 
    258 #### Network interfaces
    259 
    260 ## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue
    261 ledma0		at sbus0 slot ? offset ?		# sun4m on-board
    262 le0		at ledma0				# sun4m on-board
    263 
    264 
    265 ## Loopback network interface; required
    266 pseudo-device	loop
    267 
    268 ## SLIP and CSLIP interfaces, for IP over a serial line.
    269 #pseudo-device	sl		2
    270 
    271 ## PPP, the successor to SLIP.  See pppd(8).
    272 #pseudo-device	ppp		2
    273 
    274 ## PPP over Ethernet (RFC 2516)
    275 #pseudo-device	pppoe
    276 
    277 ## Network "tunnel" device, allowing protocol stacks to run in the userland.
    278 ## This is used by the third-party user-mode "ppp" program, and others.
    279 #pseudo-device	tun		4
    280 
    281 ## Generic L3 over IP tunnel
    282 #pseudo-device	gre		2	# generic L3 over IP tunnel
    283 
    284 ## Berkeley Packet Filter, required to run RARPD.  A generic C-language
    285 ## interface that allows selective examining of incoming packets.
    286 pseudo-device	bpfilter	8
    287 
    288 ## IP Filter, used in firewall and NAT applications.  See ipnat(8) for
    289 ## one example of the use of the IP Filter.
    290 #pseudo-device	ipfilter
    291 
    292 ## for IPv6
    293 #pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
    294 #pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
    295 #pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
    296 
    297 ## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
    298 #pseudo-device	vlan
    299 
    300 #### Audio and video devices
    301 
    302 ## /dev/audio support (`audiocs' plus `audio')
    303 ##
    304 audiocs0	at sbus0 slot ? offset ?		# SUNW,CS4231
    305 audio0		at audiocs0
    306 
    307 ## Sun "tcx" accelerated color framebuffer.
    308 tcx0		at sbus? slot ? offset ?
    309 
    310 
    311 #### Other device configuration
    312 
    313 ## Pseudo ttys, required for network logins and programs like screen.
    314 
    315 pseudo-device	pty			# pseudo-terminals
    316 
    317 ## Random device, used to implement /dev/random (a source of random noise),
    318 ## and generate randomness for some kernel formulae.
    319 
    320 pseudo-device	rnd
    321 
    322 # a pseudo device needed for Coda	# also needs CODA (above)
    323 #pseudo-device	vcoda		4	# coda minicache <-> venus comm.
    324 
    325 pseudo-device	clockctl		# user control of clock subsystem
    326 pseudo-device	ksyms			# /dev/ksyms
    327