Home | History | Annotate | Line # | Download | only in conf
KRUPS revision 1.75
      1 # $NetBSD: KRUPS,v 1.75 2017/09/14 07:58:43 mrg Exp $
      2 # From: NetBSD: GENERIC,v 1.197 2006/12/04 23:43:35 elad 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.75 $"
     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 
     50 ## System V compatible IPC subsystem.  (msgctl(2), semctl(2), and shmctl(2))
     51 options 	SYSVMSG		# System V message queues
     52 options 	SYSVSEM		# System V semaphores
     53 #options 	SEMMNI=10	# number of semaphore identifiers
     54 #options 	SEMMNS=60	# number of semaphores in system
     55 #options 	SEMUME=10	# max number of undo entries per process
     56 #options 	SEMMNU=30	# number of undo structures in system
     57 options 	SYSVSHM		# System V shared memory
     58 
     59 #options 	USERCONF	# userconf(4) support
     60 #options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
     61 options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
     62 
     63 ## NFS boot options; tries DHCP/BOOTP then BOOTPARAM
     64 options 	NFS_BOOT_BOOTPARAM
     65 #options 	NFS_BOOT_BOOTP
     66 options 	NFS_BOOT_DHCP
     67 
     68 
     69 #### wscons options
     70 
     71 # builtin terminal emulations
     72 #options 	WSEMUL_SUN		# sun terminal emulation
     73 options 	WSEMUL_VT100		# VT100 / VT220 emulation
     74 options 	WSEMUL_DEFAULT="\"vt100\""
     75 
     76 # customization of console and kernel output - see dev/wscons/wsdisplayvar.h
     77 options 	WSDISPLAY_CUSTOM_OUTPUT	# color customization from wsconsctl(8)
     78 #options 	WS_DEFAULT_FG=WSCOL_WHITE
     79 #options 	WS_DEFAULT_BG=WSCOL_BLACK
     80 #options 	WS_DEFAULT_COLATTR="(0)"
     81 options 	WS_KERNEL_FG=WSCOL_GREEN
     82 #options 	WS_KERNEL_BG=WSCOL_BLACK
     83 options 	WS_KERNEL_COLATTR=WSATTR_HILIT
     84 
     85 # customization of console border color
     86 options 	WSDISPLAY_CUSTOM_BORDER	# custom border colors via wsconsctl(8)
     87 #options 	WSDISPLAY_BORDER_COLOR=WSCOL_BLUE	# default color
     88 
     89 # compatibility to other console drivers
     90 options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
     91 options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
     92 options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
     93 options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
     94 
     95 options 	FONT_GALLANT12x22		# PROM font look-alike
     96 
     97 #options 	WSKBD_EVENT_AUTOREPEAT		# auto repeat in event mode
     98 #options 	WSKBD_USONLY			# strip off non-US keymaps
     99 
    100 # see dev/pckbport/wskbdmap_mfii.c for implemented layouts
    101 #options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
    102 
    103 # allocate a number of virtual screens at autoconfiguration time
    104 #options 	WSDISPLAY_DEFAULTSCREENS=4
    105 
    106 
    107 #### Debugging options
    108 
    109 ## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
    110 ## serial console break or keyboard reset, where the PROM would normally
    111 ## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
    112 options 	DDB			# kernel dynamic debugger
    113 options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
    114 #options 	DDB_ONPANIC=1		# see also sysctl(7): `ddb.onpanic'
    115 
    116 ## You may also use gdb, on another computer connected to this machine over
    117 ## a serial port.  Both KGDB_DEV and KGDB_DEVRATE should be specified;
    118 ## KGDB_DEV is a dev_t encoded device number of the serial port to use, where
    119 ## the minor device number encodes the PROM enumeration of the serial ports,
    120 ## i.e.:
    121 ## 0xc00 = ttya, 0xc01 = ttyb, 0xc02 = ttyc, 0xc03 = ttyd.
    122 ## (Note: ttyc and ttyd are available only on some sun4 models)
    123 #options 	KGDB			# support for kernel gdb
    124 #options 	KGDB_DEV=0xc01		# kgdb device number (this is `ttyb')
    125 #options 	KGDB_DEVRATE=38400	# baud rate
    126 
    127 
    128 ## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
    129 ## such that gdb(1) can be used on a kernel coredump.
    130 
    131 #makeoptions	DEBUG="-g"
    132 makeoptions	CPUFLAGS="-mcpu=supersparc"
    133 
    134 
    135 ## Adds code to the kernel that does internal consistency checks, and will
    136 ## cause the kernel to panic if corruption of internal data structures
    137 ## is detected.
    138 #options 	DIAGNOSTIC	# extra kernel sanity checking
    139 
    140 ## Enable (possibly expensive) debugging code that may also display messages
    141 ## on the system console
    142 #options 	DEBUG
    143 #options 	LOCKDEBUG
    144 #options 	SYSCALL_DEBUG
    145 
    146 options 	MIIVERBOSE	# verbose PHY autoconfig messages
    147 
    148 ## `INSECURE' turns off the kernel security level (securelevel = 0 always).
    149 ## This allows writing to /dev/mem, loading kernel modules while multi-user,
    150 ## and other insecurities good only for development work.  Do not use this
    151 ## option on a production machine.
    152 #options 	INSECURE
    153 
    154 ## `FDSCRIPTS' allows non-readable but executable scripts by providing a
    155 ## pre-opened opaque file to the script interpreter.  `SETUIDSCRIPTS',
    156 ## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
    157 ## opaque file mechanism.  Perl calls this "secure setuid scripts."
    158 
    159 #options 	FDSCRIPTS
    160 #options 	SETUIDSCRIPTS
    161 
    162 ## Options for compatibility with previous releases foreign system binaries.
    163 ## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up
    164 ## additional user-level utilities or system configuration files. See
    165 ## compat_sunos(8) and compat_svr4(8).
    166 
    167 include 	"conf/compat_netbsd10.config"
    168 options 	COMPAT_SUNOS	# SunOS 4.x binary compatibility
    169 #options 	COMPAT_SVR4	# SunOS 5.x binary compatibility
    170 
    171 ## File systems.  You probably need at least one of FFS or NFS.
    172 file-system	FFS		# Berkeley Fast Filesystem
    173 file-system	NFS		# Sun NFS-compatible filesystem client
    174 file-system	KERNFS		# kernel data-structure filesystem
    175 file-system	NULLFS		# NULL layered filesystem
    176 file-system 	OVERLAY		# overlay file system
    177 file-system	MFS		# memory-based filesystem
    178 file-system	FDESC		# user file descriptor filesystem
    179 file-system	UMAPFS		# uid/gid remapping filesystem
    180 #file-system	LFS		# Log-based filesystem (still experimental)
    181 file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
    182 file-system	PROCFS		# /proc
    183 #file-system	CD9660		# ISO 9660 + Rock Ridge file system
    184 file-system	UNION		# union file system
    185 #file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
    186 #file-system	CODA		# Coda File System; also needs vcoda (below)
    187 file-system	PTYFS		# /dev/pts/N support
    188 #file-system	TMPFS		# Efficient memory file-system
    189 #file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
    190 
    191 ## File system options.
    192 #options 	NFSSERVER	# Sun NFS-compatible filesystem server
    193 #options 	QUOTA		# legacy UFS quotas
    194 #options 	QUOTA2		# new, in-filesystem UFS quotas
    195 #options 	FFS_EI		# FFS Endian Independent support
    196 options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
    197 
    198 ## Network protocol support.  In most environments, INET is required.
    199 options 	INET		# IP (Internet Protocol) v4
    200 options 	INET6		# IPV6
    201 #options 	IPSEC		# IP security
    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 	NETATALK	# AppleTalk (over Ethernet) protocol
    208 options 	NTP		# Network Time Protocol in-kernel support
    209 #options 	PPS_SYNC	# Add serial line synchronization for NTP
    210 options 	IPFILTER_LOG	# Add ipmon(8) logging for ipfilter device
    211 options 	IPFILTER_LOOKUP	# ippool(8) support
    212 #options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
    213 options 	PPP_BSDCOMP	# Add BSD compression to ppp device
    214 options 	PPP_DEFLATE	# Add deflate (libz) compression to ppp device
    215 options 	PPP_FILTER	# Add active filters for ppp (via bpf)
    216 
    217 
    218 
    219 #### Main bus and CPU .. all systems.
    220 mainbus0 at root
    221 cpu0	at mainbus0
    222 
    223 #### Bus types found on SPARC systems.
    224 
    225 msiiep0	at mainbus0	# microSPARC-IIep PCIC, timer, ...
    226 
    227 mspcic0	at msiiep0	# PCI tree
    228 pci0	at mspcic0
    229 options 	PCIVERBOSE
    230 #options 	PCI_CONFIG_DUMP	# hangs reading IGA1682 config past offset 64
    231 
    232 ebus*	at pci?	dev ? function ?		# ebus devices
    233 
    234 
    235 #### Standard system devices -- all required for a given architecture
    236 
    237 # timer is part of ms-IIep PCIC
    238 timer0	at msiiep0
    239 
    240 ## ds1287 TOD clock at EBus
    241 rtc*	at ebus?
    242 
    243 #### Serial port configuration
    244 
    245 ## NS16x50 serial chips and clones.
    246 com*	at ebus?
    247 
    248 
    249 #### Disk controllers and disks
    250 
    251 ## A disk-like interface to files.  Can be used to create floppy, CD,
    252 ## miniroot images, etc.
    253 
    254 #pseudo-device	vnd	
    255 #options 	VND_COMPRESSION		# compressed vnd(4)
    256 
    257 ## Memory disk device, used on boot floppies with compressed
    258 ## kernel-plus-root-disk images.
    259 
    260 #pseudo-device	md	
    261 
    262 
    263 #### Network interfaces
    264 
    265 ## Happy Meal Ethernet
    266 hme*		at pci?	dev ? function ?	# network "hme" compatible
    267 
    268 # MII/PHY support
    269 qsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
    270 
    271 ## Loopback network interface; required
    272 pseudo-device	loop
    273 
    274 ## SLIP and CSLIP interfaces, for IP over a serial line.
    275 #pseudo-device	sl		
    276 
    277 ## PPP, the successor to SLIP.  See pppd(8).
    278 #pseudo-device	ppp		
    279 
    280 ## PPP over Ethernet (RFC 2516)
    281 #pseudo-device	pppoe
    282 
    283 ## Network "tunnel" device, allowing protocol stacks to run in the userland.
    284 ## This is used by the third-party user-mode "ppp" program, and others.
    285 #pseudo-device	tun		
    286 #pseudo-device	tap			# virtual Ethernet
    287 
    288 ## Generic L3 over IP tunnel
    289 #pseudo-device	gre			# generic L3 over IP tunnel
    290 
    291 ## Berkeley Packet Filter, required to run RARPD.  A generic C-language
    292 ## interface that allows selective examining of incoming packets.
    293 pseudo-device	bpfilter
    294 
    295 #pseudo-device	carp			# Common Address Redundancy Protocol
    296 
    297 ## IP Filter, used in firewall and NAT applications.  See ipnat(8) for
    298 ## one example of the use of the IP Filter.
    299 #pseudo-device	ipfilter
    300 
    301 ## for IPv6
    302 #pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
    303 #pseudo-device	faith			# IPv[46] tcp relay translation i/f
    304 #pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
    305 
    306 ## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
    307 #pseudo-device	vlan
    308 
    309 #### Audio and video devices
    310 
    311 ## /dev/audio support
    312 audiocs*	at ebus?		# SUNW,CS4231
    313 audio*		at audiocs?
    314 
    315 spkr*		at audio?		# PC speaker (synthesized)
    316 
    317 # wscons
    318 pckbc*		at ebus?		# PC keyboard controller
    319 pckbd*		at pckbc?		# PC keyboard
    320 pms*		at pckbc?		# PS/2 mouse for wsmouse
    321 igsfb*		at pci? dev ? function ?
    322 wsdisplay*	at igsfb? console ?
    323 wskbd* 		at pckbd? console ?
    324 wsmouse*	at pms? mux 0
    325 
    326 
    327 #### Other device configuration
    328 
    329 ## Pseudo ttys, required for network logins and programs like screen.
    330 
    331 pseudo-device	pty			# pseudo-terminals
    332 
    333 ## Random device, used to implement /dev/random (a source of random noise),
    334 ## and generate randomness for some kernel formulae.
    335 
    336 
    337 # a pseudo device needed for Coda	# also needs CODA (above)
    338 #pseudo-device	vcoda			# 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 pseudo-device	putter			# for puffs and pud
    347 
    348 #pseudo-device	pf			# PF packet filter
    349 #pseudo-device	pflog			# PF log if
    350 #pseudo-device	fss			# file system snapshot device
    351 
    352 #options 	FILEASSOC		# fileassoc(9)
    353 					# and PAX_SEGVGUARD
    354 
    355 # Veriexec
    356 #
    357 # a pseudo device needed for veriexec
    358 #pseudo-device	veriexec
    359 #
    360 # Uncomment the fingerprint methods below that are desired. Note that
    361 # removing fingerprint methods will have almost no impact on the kernel
    362 # code size.
    363 #
    364 #options VERIFIED_EXEC_FP_SHA256
    365 #options VERIFIED_EXEC_FP_SHA384
    366 #options VERIFIED_EXEC_FP_SHA512
    367 
    368 #options PAX_MPROTECT=0			# PaX mprotect(2) restrictions
    369 					# (for static binaries only for now)
    370