Home | History | Annotate | Line # | Download | only in conf
KRUPS revision 1.23
      1 # $NetBSD: KRUPS,v 1.23 2004/09/04 23:29:57 manu Exp $
      2 # From: NetBSD: GENERIC,v 1.160 2004/07/10 12:05:35 uwe Exp
      3 #
      4 # Krups (JavaStation-NC) machine description file
      5 #
      6 
      7 include 	"arch/sparc/conf/std.sparc"
      8 
      9 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
     10 
     11 #ident 		"KRUPS-$Revision: 1.23 $"
     12 
     13 maxusers	32
     14 
     15 ## System kernel configuration.  See options(4) for more detail.
     16 
     17 
     18 # Options for variants of the Sun SPARC architecure.
     19 # We currently support three architecture types; at least one is required.
     20 options 	SUN4M		# sun4m - SS10, SS20, Classic, etc.
     21 
     22 # microSPARC-IIep is PCI based sun4m (JavaStation-NC, CP1200, etc)
     23 # This option selects if SUN4M means "normal" 4m or IIep.  Kernels
     24 # with this option turned on will refuse to work on normal 4m.
     25 options 	MSIIEP		# microSPARC-IIep
     26 
     27 # XXX: uwe: PROM location conflicts with kernel VA space !!!
     28 options 	PROM_AT_F0
     29 makeoptions	TEXTADDR=E8004000
     30 
     31 
     32 ## System options specific to the sparc machine type
     33 
     34 # XXX: uwe: to do
     35 # Blink the power LED on some machines to indicate the system load.
     36 #options 	BLINK
     37 
     38 
     39 #### System options that are the same for all ports
     40 
     41 ## Root device configuration: change the ?'s if you are going to use a
     42 ## nonstandard root partition (other than where the kernel is booted from)
     43 ## and/or nonstandard root type (not ffs or nfs).  Normally this can be
     44 ## automagically determined at boot time.
     45 
     46 config		netbsd	root on ? type ?
     47 
     48 ## System call tracing (see ktrace(1)).
     49 options 	KTRACE
     50 options 	SYSTRACE	# system call vetting via systrace(1)
     51 
     52 ## Collect statistics on kernel malloc's and free's.  This does have a
     53 ## significant performance hit on slower machines, so it is intended for
     54 ## diagnostic use only.
     55 #options 	KMEMSTATS
     56 
     57 ## System V compatible IPC subsystem.  (msgctl(2), semctl(2), and shmctl(2))
     58 options 	SYSVMSG		# System V message queues
     59 options 	SYSVSEM		# System V semaphores
     60 #options 	SEMMNI=10	# number of semaphore identifiers
     61 #options 	SEMMNS=60	# number of semaphores in system
     62 #options 	SEMUME=10	# max number of undo entries per process
     63 #options 	SEMMNU=30	# number of undo structures in system
     64 options 	SYSVSHM		# System V shared memory
     65 #options 	SHMMAXPGS=1024	# 1024 pages is the default
     66 options 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
     67 
     68 ## Loadable kernel module support; still under development.
     69 #options 	LKM
     70 
     71 #options 	USERCONF	# userconf(4) support
     72 #options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
     73 options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
     74 
     75 ## NFS boot options; tries DHCP/BOOTP then BOOTPARAM
     76 options 	NFS_BOOT_BOOTPARAM
     77 #options 	NFS_BOOT_BOOTP
     78 options 	NFS_BOOT_DHCP
     79 
     80 
     81 #### wscons options
     82 
     83 # builtin terminal emulations
     84 options 	WSEMUL_SUN		# sun terminal emulation
     85 options 	WSEMUL_VT100		# VT100 / VT220 emulation
     86 options 	WSEMUL_DEFAULT="\"vt100\""
     87 # different kernel output - see dev/wscons/wsdisplayvar.h
     88 options 	WS_KERNEL_FG=WSCOL_GREEN
     89 #options 	WS_KERNEL_BG=WSCOL_BLACK
     90 options 	WS_KERNEL_COLATTR=WSATTR_HILIT
     91 # compatibility to other console drivers
     92 options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
     93 options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
     94 options 	WSDISPLAY_COMPAT_USL		# VT handling
     95 options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
     96 
     97 options 	FONT_GALLANT12x22		# PROM font look-alike
     98 
     99 # see dev/pckbc/wskbdmap_mfii.c for implemented layouts
    100 #options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
    101 # allocate a number of virtual screens at autoconfiguration time
    102 #options 	WSDISPLAY_DEFAULTSCREENS=4
    103 
    104 
    105 #### Debugging options
    106 
    107 ## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
    108 ## serial console break or keyboard reset, where the PROM would normally
    109 ## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
    110 #options 	DDB			# kernel dynamic debugger
    111 #options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
    112 #options 	DDB_ONPANIC=1		# see also sysctl(8): `ddb.onpanic'
    113 
    114 ## You may also use gdb, on another computer connected to this machine over
    115 ## a serial port.  Both KGDB_DEV and KGDB_DEVRATE should be specified;
    116 ## KGDB_DEV is a dev_t encoded device number of the serial port to use, where
    117 ## the minor device number encodes the PROM enumeration of the serial ports,
    118 ## i.e.:
    119 ## 0xc00 = ttya, 0xc01 = ttyb, 0xc02 = ttyc, 0xc03 = ttyd.
    120 ## (Note: ttyc and ttyd are available only on some sun4 models)
    121 #options 	KGDB			# support for kernel gdb
    122 #options 	KGDB_DEV=0xc01		# kgdb device number (this is `ttyb')
    123 #options 	KGDB_DEVRATE=38400	# baud rate
    124 
    125 
    126 ## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
    127 ## such that gdb(1) can be used on a kernel coredump.
    128 
    129 #makeoptions	DEBUG="-g"
    130 makeoptions	CPUFLAGS="-mcpu=supersparc"
    131 
    132 
    133 ## Adds code to the kernel that does internal consistency checks, and will
    134 ## cause the kernel to panic if corruption of internal data structures
    135 ## is detected.
    136 #options 	DIAGNOSTIC	# extra kernel sanity checking
    137 
    138 ## Enable (possibly expensive) debugging code that may also display messages
    139 ## on the system console
    140 #options 	DEBUG
    141 
    142 options 	MIIVERBOSE	# verbose PHY autoconfig messages
    143 
    144 ## `INSECURE' turns off the kernel security level (securelevel = 0 always).
    145 ## This allows writing to /dev/mem, loading kernel modules while multi-user,
    146 ## and other insecurities good only for development work.  Do not use this
    147 ## option on a production machine.
    148 #options 	INSECURE
    149 
    150 ## `FDSCRIPTS' allows non-readable but executable scripts by providing a
    151 ## pre-opened opaque file to the script interpreter.  `SETUIDSCRIPTS',
    152 ## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
    153 ## opaque file mechanism.  Perl calls this "secure setuid scripts."
    154 
    155 #options 	FDSCRIPTS
    156 #options 	SETUIDSCRIPTS
    157 
    158 ## Options for compatibility with previous releases foreign system binaries.
    159 ## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up
    160 ## additional user-level utilities or system configuration files. See
    161 ## compat_sunos(8) and compat_svr4(8).
    162 
    163 options 	COMPAT_43	# 4.3BSD system interfaces
    164 options 	COMPAT_10	# NetBSD 1.0 binary compatibility
    165 options 	COMPAT_11	# NetBSD 1.1 binary compatibility
    166 options 	COMPAT_12	# NetBSD 1.2 binary compatibility
    167 options 	COMPAT_13	# NetBSD 1.3 binary compatibility
    168 options 	COMPAT_14	# NetBSD 1.4 binary compatibility
    169 options 	COMPAT_16	# NetBSD 1.6 binary compatibility
    170 options 	COMPAT_20	# NetBSD 2.0 binary compatibility
    171 options 	COMPAT_SUNOS	# SunOS 4.x binary compatibility
    172 options 	COMPAT_SVR4	# SunOS 5.x binary compatibility
    173 
    174 ## File systems.  You probably need at least one of FFS or NFS.
    175 file-system	FFS		# Berkeley Fast Filesystem
    176 file-system	NFS		# Sun NFS-compatible filesystem client
    177 file-system	KERNFS		# kernel data-structure filesystem
    178 file-system	NULLFS		# NULL layered filesystem
    179 file-system 	OVERLAY		# overlay file system
    180 file-system	MFS		# memory-based filesystem
    181 file-system	FDESC		# user file descriptor filesystem
    182 file-system	UMAPFS		# uid/gid remapping filesystem
    183 #file-system	LFS		# Log-based filesystem (still experimental)
    184 file-system	PORTAL		# portal filesystem (still experimental)
    185 file-system	PROCFS		# /proc
    186 #file-system	CD9660		# ISO 9660 + Rock Ridge file system
    187 file-system	UNION		# union file system
    188 #file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
    189 #file-system	CODA		# Coda File System; also needs vcoda (below)
    190 
    191 ## File system options.
    192 #options 	NFSSERVER	# Sun NFS-compatible filesystem server
    193 #options 	QUOTA		# FFS quotas
    194 #options 	FFS_EI		# FFS Endian Independent support
    195 #options 	SOFTDEP		# FFS soft updates support.
    196 
    197 ## Network protocol support.  In most environments, INET is required.
    198 options 	INET		# IP (Internet Protocol) v4
    199 options 	INET6		# IPV6
    200 #options 	IPSEC		# IP security
    201 #options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
    202 #options 	IPSEC_DEBUG	# debug for IP security
    203 #options 	GATEWAY		# packet forwarding ("router switch")
    204 #options 	MROUTING	# packet forwarding of multicast packets
    205 #options 	PIM		# Protocol Independent Multicast
    206 #options 	DIRECTED_BROADCAST	# allow broadcasts through routers
    207 options 	NS		# Xerox NS networking
    208 #options 	NSIP		# Xerox NS tunneling over IP
    209 options 	ISO,TPIP	# OSI networking
    210 #options 	EON		# OSI tunneling over IP
    211 #options 	CCITT,LLC,HDLC	# X.25 packet switched protocol
    212 #options 	NETATALK	# AppleTalk (over Ethernet) protocol
    213 options 	NTP		# Network Time Protocol in-kernel support
    214 #options 	PPS_SYNC	# Add serial line synchronization for NTP
    215 options 	PFIL_HOOKS	# Add pfil(9) hooks, intended for custom LKMs.
    216 options 	IPFILTER_LOG	# Add ipmon(8) logging for ipfilter device
    217 #options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
    218 options 	PPP_BSDCOMP	# Add BSD compression to ppp device
    219 options 	PPP_DEFLATE	# Add deflate (libz) compression to ppp device
    220 options 	PPP_FILTER	# Add active filters for ppp (via bpf)
    221 
    222 
    223 
    224 #### Main bus and CPU .. all systems.
    225 mainbus0 at root
    226 cpu0	at mainbus0
    227 
    228 #### Bus types found on SPARC systems.
    229 
    230 msiiep0	at mainbus0	# microSPARC-IIep PCIC, timer, ...
    231 
    232 mspcic0	at msiiep0	# PCI tree
    233 pci0	at mspcic0
    234 options 	PCIVERBOSE
    235 #options 	PCI_CONFIG_DUMP	# hangs reading IGA1682 config past offset 64
    236 
    237 ebus*	at pci?	dev ? function ?		# ebus devices
    238 
    239 
    240 #### Standard system devices -- all required for a given architecture
    241 
    242 # timer is part of ms-IIep PCIC
    243 timer0	at msiiep0
    244 
    245 ## ds1287 TOD clock at EBus
    246 rtc*	at ebus?
    247 
    248 #### Serial port configuration
    249 
    250 ## NS16x50 serial chips and clones.
    251 com*	at ebus?
    252 
    253 
    254 #### Disk controllers and disks
    255 
    256 ## A disk-like interface to files.  Can be used to create floppy, CD,
    257 ## miniroot images, etc.
    258 
    259 #pseudo-device	vnd	4
    260 
    261 ## Memory disk device, used on boot floppies with compressed
    262 ## kernel-plus-root-disk images.
    263 
    264 #pseudo-device	md	1
    265 
    266 
    267 #### Network interfaces
    268 
    269 ## Happy Meal Ethernet
    270 hme*		at pci?	dev ? function ?	# network "hme" compatible
    271 
    272 # MII/PHY support
    273 qsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
    274 
    275 ## Loopback network interface; required
    276 pseudo-device	loop
    277 
    278 ## SLIP and CSLIP interfaces, for IP over a serial line.
    279 #pseudo-device	sl		2
    280 
    281 ## PPP, the successor to SLIP.  See pppd(8).
    282 #pseudo-device	ppp		2
    283 
    284 ## PPP over Ethernet (RFC 2516)
    285 #pseudo-device	pppoe
    286 
    287 ## Network "tunnel" device, allowing protocol stacks to run in the userland.
    288 ## This is used by the third-party user-mode "ppp" program, and others.
    289 #pseudo-device	tun		4
    290 
    291 ## Generic L3 over IP tunnel
    292 #pseudo-device	gre		2	# generic L3 over IP tunnel
    293 
    294 ## Berkeley Packet Filter, required to run RARPD.  A generic C-language
    295 ## interface that allows selective examining of incoming packets.
    296 pseudo-device	bpfilter	8
    297 
    298 ## IP Filter, used in firewall and NAT applications.  See ipnat(8) for
    299 ## one example of the use of the IP Filter.
    300 #pseudo-device	ipfilter
    301 
    302 ## for IPv6
    303 #pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
    304 #pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
    305 #pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
    306 
    307 ## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
    308 #pseudo-device	vlan
    309 
    310 #### Audio and video devices
    311 
    312 ## /dev/audio support
    313 audiocs*	at ebus?		# SUNW,CS4231
    314 audio*		at audiocs?
    315 
    316 # wscons
    317 pckbc*		at ebus?		# PC keyboard controller
    318 pckbd*		at pckbc?		# PC keyboard
    319 pms*		at pckbc?		# PS/2 mouse for wsmouse
    320 igsfb*		at pci? dev ? function ?
    321 wsdisplay*	at igsfb? console ?
    322 wskbd* 		at pckbd? console ?
    323 wsmouse*	at pms? mux 0
    324 
    325 
    326 #### Other device configuration
    327 
    328 ## Pseudo ttys, required for network logins and programs like screen.
    329 
    330 pseudo-device	pty			# pseudo-terminals
    331 
    332 ## Random device, used to implement /dev/random (a source of random noise),
    333 ## and generate randomness for some kernel formulae.
    334 
    335 pseudo-device	rnd
    336 
    337 # a pseudo device needed for Coda	# also needs CODA (above)
    338 #pseudo-device	vcoda		4	# coda minicache <-> venus comm.
    339 
    340 # wscons pseudo-devices
    341 pseudo-device	wsmux			# mouse & keyboard multiplexor
    342 pseudo-device	wsfont
    343 
    344 pseudo-device	clockctl		# user control of clock subsystem
    345 pseudo-device	ksyms			# /dev/ksyms
    346