GENERIC revision 1.114
1# $NetBSD: GENERIC,v 1.114 2014/06/24 12:17:33 joerg Exp $ 2# 3# Generic Shark configuration. 4# 5 6include "arch/shark/conf/std.shark" 7 8options INCLUDE_CONFIG_FILE # embed config file in kernel binary 9 10#ident "GENERIC-$Revision: 1.114 $" 11 12# estimated number of users 13maxusers 32 14 15# Standard system options 16 17options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 18options HZ=64 19#options NTP # NTP phase/frequency locked loop 20#options BOOT_QUIETLY # twiddle instead of normal boot msg output 21 22# CPU options 23 24options CPU_SA110 # Support the SA110 core 25 26# Architecture options 27 28options SHARK # We are a Shark 29options NSIO # We are using the National Semi SuperIO 30makeoptions CPUFLAGS="-march=armv4 -mtune=strongarm" 31 32# compatibility with old version of OFW, which may have incorrect 33# properties and/or may set up devices incorrectly. 34options COMPAT_OLD_OFW 35 36# File systems 37 38file-system FFS # UFS 39#file-system LFS # log-structured file system 40file-system MFS # memory file system 41file-system NFS # Network file system 42#file-system ADOSFS # AmigaDOS-compatible file system 43#file-system EXT2FS # second extended file system (linux) 44#file-system CD9660 # ISO 9660 + Rock Ridge file system 45file-system MSDOSFS # MS-DOS file system 46file-system FDESC # /dev/fd 47#file-system FILECORE # Acorn filecore file system 48file-system KERNFS # /kern 49file-system NULLFS # loopback file system 50#file-system OVERLAY # overlay filesystem 51file-system PROCFS # /proc 52file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 53#file-system UMAPFS # NULLFS + uid and gid remapping 54#file-system UNION # union file system 55#file-system CODA # Coda file system (needs vcoda below) 56file-system PTYFS # /dev/pts/N support 57file-system TMPFS # Efficient memory file-system 58#file-system UDF # experimental - OSTA UDF CD/DVD file-system 59 60# File system options 61#options QUOTA # legacy UFS quotas 62#options QUOTA2 # new, in-filesystem UFS quotas 63#options FFS_EI # FFS Endian Independent support 64options WAPBL # File system journaling support 65#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 66options NFSSERVER 67#options FFS_NO_SNAPSHOT # No FFS snapshot support 68 69# Networking options 70 71#options GATEWAY # packet forwarding 72options INET # IP + ICMP + TCP + UDP 73options INET6 # IPV6 74#options IPSEC # IP security 75#options IPSEC_DEBUG # debug for IP security 76#options MROUTING # IP multicast routing 77#options PIM # Protocol Independent Multicast 78#options NETATALK # AppleTalk networking 79 # if you enable the pseudo-device ipl). 80 81#options PPP_BSDCOMP # BSD-Compress compression support for PPP 82#options PPP_DEFLATE # Deflate compression support for PPP 83#options PPP_FILTER # Active filter support for PPP (requires bpf) 84options NFS_BOOT_DHCP # use NetBSD standard DHCP/NFS boot code 85#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 86 87#options ALTQ # Manipulate network interfaces' output queues 88#options ALTQ_BLUE # Stochastic Fair Blue 89#options ALTQ_CBQ # Class-Based Queueing 90#options ALTQ_CDNR # Diffserv Traffic Conditioner 91#options ALTQ_FIFOQ # First-In First-Out Queue 92#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 93#options ALTQ_HFSC # Hierarchical Fair Service Curve 94#options ALTQ_LOCALQ # Local queueing discipline 95#options ALTQ_PRIQ # Priority Queueing 96#options ALTQ_RED # Random Early Detection 97#options ALTQ_RIO # RED with IN/OUT 98#options ALTQ_WFQ # Weighted Fair Queueing 99 100# Compatibility options 101 102#options COMPAT_09 # NetBSD 0.9 compatibility. 103#options COMPAT_10 # NetBSD 1.0 compatibility. 104#options COMPAT_11 # NetBSD 1.1 compatibility. 105options COMPAT_12 # NetBSD 1.2 compatibility. 106options COMPAT_13 # NetBSD 1.3 compatibility. 107options COMPAT_14 # NetBSD 1.4 compatibility. 108options COMPAT_15 # NetBSD 1.5 compatibility. 109options COMPAT_16 # NetBSD 1.6 compatibility. 110options COMPAT_20 # NetBSD 2.0 compatibility. 111options COMPAT_30 # NetBSD 3.0 compatibility. 112options COMPAT_40 # NetBSD 4.0 compatibility. 113options COMPAT_50 # NetBSD 5.0 compatibility. 114options COMPAT_60 # NetBSD 6.0 compatibility. 115options COMPAT_43 # 4.3BSD compatibility. 116options COMPAT_LINUX # Linux compatibility. 117#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 118options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 119 120# Shared memory options 121 122options SYSVMSG # System V-like message queues 123options SYSVSEM # System V-like semaphores 124options SYSVSHM # System V-like memory sharing 125 126# Device options 127 128#options MEMORY_DISK_HOOKS # boottime setup of ramdisk 129#options MEMORY_DISK_ROOT_SIZE=3400 # Size in blocks 130#options MEMORY_DISK_IS_ROOT # use memory disk as root 131 132options INSECURE # disable kernel securelevel 133 134# Use the following to force the serial to always be the console 135# device. 19200 is what the serial gets set up as by the firmware 136# when it hasn't fallen back from PC. If it has fallen back then 137# the speed will be set at 9600. 138#options COMCONSOLE,CONADDR=0x3f8,CONUNIT=0,CONSPEED=19200 139 140# Miscellaneous kernel options 141options KTRACE # system call tracing, a la ktrace(1) 142options IRQSTATS # manage IRQ statistics, XXX temp required 143options KMEMSTATS # kernel memory statistics, XXX temp required 144options USERCONF # userconf(4) support 145#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 146options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 147options MODULAR # new style module(7) framework 148 149# Development and Debugging options 150 151#options ARM700BUGTRACK # track the ARM700 swi bug 152#options PORTMASTER # Enable PortMaster only options 153options DIAGNOSTIC # internal consistency checks 154#options PMAP_DEBUG # Enable pmap_debug_level code 155options DDB # in-kernel debugger 156options SYMTAB_SPACE=750000 # reserve symbol space for DDB 157 # (needed because we boot netbsd.aout) 158#options DDB_ONPANIC=0 # don't run DDB at panictime 159#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 160#options KERNEL_DEBUG # compile in kernel debugging capability 161#makeoptions DEBUG="-g" # compile full symbol table 162 163# 164# wscons options 165# 166# builtin terminal emulations 167#options WSEMUL_SUN # sun terminal emulation 168options WSEMUL_VT100 # VT100 / VT220 emulation 169# customization of console and kernel output - see dev/wscons/wsdisplayvar.h 170#options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8) 171#options WS_DEFAULT_FG=WSCOL_WHITE 172#options WS_DEFAULT_BG=WSCOL_BLACK 173#options WS_DEFAULT_COLATTR="(0)" 174#options WS_DEFAULT_MONOATTR="(0)" 175options WS_KERNEL_FG=WSCOL_GREEN 176#options WS_KERNEL_BG=WSCOL_BLACK 177#options WS_KERNEL_COLATTR="" 178#options WS_KERNEL_MONOATTR="" 179# customization of console border color 180#options WSDISPLAY_CUSTOM_BORDER # border customization from wsconsctl(8) 181#options WSDISPLAY_BORDER_COLOR=WSCOL_BLUE # default color 182# compatibility to other console drivers 183options WSDISPLAY_COMPAT_PCVT # emulate some ioctls 184options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 185options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 186options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 187# see dev/pckbport/wskbdmap_mfii.c for implemented layouts 188#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" 189#options PCKBD_LAYOUT="(KB_US | KB_SWAPCTRLCAPS)" 190# allocate a number of virtual screens at autoconfiguration time 191#options WSDISPLAY_DEFAULTSCREENS=4 192# use a large software cursor that doesn't blink 193#options PCDISPLAY_SOFTCURSOR 194# modify the screen type of the console; defaults to "80x25" 195#options VGA_CONSOLE_SCREENTYPE="\"80x24\"" 196# console scrolling support. 197#options WSDISPLAY_SCROLLSUPPORT 198# enable VGA raster mode capable of displaying multilingual text on console 199#options VGA_RASTERCONSOLE 200 201config netbsd root on ? type ? 202 203# The main bus device 204mainbus0 at root 205 206# The boot CPU 207cpu0 at mainbus? 208 209# Open Firmware devices 210ofbus* at root 211ofbus* at ofbus? 212#ofdisk* at ofbus? 213#ofnet* at ofbus? # don't use with cs0 214#ofcons* at ofbus? # don't use with pc0 215ofrtc* at ofisa? 216ofrom* at ofbus? 217 218ofisa* at ofbus? 219ofbus* at ofisa? 220 221# IDE/ATA disk 222wdc* at ofisa? 223atabus* at wdc? channel ? 224wd* at atabus? drive ? 225 226atapibus* at atabus? 227cd* at atapibus? drive? 228sd* at atapibus? drive? 229 230# PCCONS@OFW 231#ofisapc* at ofbus? 232#pc* at ofisapc? 233#options FRENCH_KBD 234#options FINNISH_KBD 235#options GERMAN_KBD 236#options NORWEGIAN_KBD 237 238# PS/2 Mouse 239#opms0 at spckbd? irq 12 240 241# wscons 242pckbc* at ofisa? 243pckbd* at pckbc? 244pms* at pckbc? 245vga* at ofbus? 246igsfb* at ofbus? # IGS CyberPro in rev. 5 sharks 247chipsfb* at ofbus? # C&T 65550 in rev. 4 and earlier 248wsdisplay* at wsemuldisplaydev? 249wskbd* at pckbd? console ? 250wsmouse* at pms? mux 0 251 252# CS8900 Ethernet@OFW 253cs* at ofisa? 254 255# Serial @OFW 256com* at ofisa? 257 258# Parallel @OFW 259lpt* at ofisa? 260 261# Smart Card 262ofisascr* at ofisa? 263scr* at ofisascr? 264 265# ESS Sound@OFW 266ess* at ofisa? 267audio* at ess? 268opl* at ess? 269midi* at opl? 270 271# Joystick @OFW 272joy* at ofisa? 273 274# Pull in optional local configuration 275cinclude "arch/shark/conf/GENERIC.local" 276 277# 278# accept filters 279pseudo-device accf_data # "dataready" accept filter 280pseudo-device accf_http # "httpready" accept filter 281 282pseudo-device loop # network loopback 283pseudo-device bpfilter # packet filter 284#pseudo-device carp # Common Address Redundancy Protocol 285#pseudo-device sl # CSLIP 286#pseudo-device ppp # PPP 287#pseudo-device tun # network tunneling over tty 288#pseudo-device ipfilter # ip filter 289pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 290#pseudo-device faith # IPv[46] tcp relay translation i/f 291pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 292#pseudo-device strip # STarmode Radio IP (Metricon Ricochet) 293pseudo-device pty # pseudo-terminals 294pseudo-device vnd # disk-like interface to files 295#options VND_COMPRESSION # compressed vnd(4) 296#pseudo-device ccd # concatenated disk devices 297pseudo-device fss # file system snapshot device 298#pseudo-device cgd # cryptographic disk devices 299 300#pseudo-device md # Ramdisk driver 301#pseudo-device profiler 1 # fiq based profiling device 302pseudo-device sequencer # MIDI sequencer 303pseudo-device openfirm # /dev/openfirm 304#pseudo-device vcoda # coda kernel <-> cachemanager 305pseudo-device clockctl # user control of clock subsystem 306pseudo-device wsmux # mouse & keyboard multiplexor 307pseudo-device wsfont 308pseudo-device ksyms # /dev/ksyms 309#pseudo-device pf # PF packet filter 310#pseudo-device pflog # PF log if 311pseudo-device putter # for puffs and pud 312 313# Veriexec 314# 315# a pseudo device needed for veriexec 316#pseudo-device veriexec 317# 318# Uncomment the fingerprint methods below that are desired. Note that 319# removing fingerprint methods will have almost no impact on the kernel 320# code size. 321# 322#options VERIFIED_EXEC_FP_RMD160 323#options VERIFIED_EXEC_FP_SHA256 324#options VERIFIED_EXEC_FP_SHA384 325#options VERIFIED_EXEC_FP_SHA512 326#options VERIFIED_EXEC_FP_SHA1 327#options VERIFIED_EXEC_FP_MD5 328 329options PAX_MPROTECT=0 # PaX mprotect(2) restrictions 330#options PAX_SEGVGUARD=0 # PaX Segmentation fault guard 331options PAX_ASLR=0 # PaX Address Space Layout Randomization 332