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