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