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