GENERIC revision 1.73
1# $NetBSD: GENERIC,v 1.73 2006/08/14 22:04:30 bjh21 Exp $ 2# 3# GENERIC --- NetBSD/acorn32 complete configuration 4# 5# This machine description file is used to generate the default NetBSD 6# kernel. The generic kernel does not include all options, subsystems 7# and device drivers, but should be useful for most applications. 8# 9# The machine description file can be customised for your specific 10# machine to reduce the kernel size and improve its performance. 11# 12# For further information on compiling NetBSD kernels, see the config(8) 13# man page. 14# 15# For further information on hardware support for this architecture, see 16# the intro(4) man page. For further information about kernel options 17# for this architecture, see the options(4) man page. For an explanation 18# of each device driver in this file see the section 4 man page for the 19# device. 20 21include "arch/acorn32/conf/std.acorn32" 22 23options INCLUDE_CONFIG_FILE # embed config file in kernel binary 24 25#ident "GENERIC-$Revision: 1.73 $" 26 27# estimated number of users 28maxusers 32 29 30# Standard system options 31 32options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 33#options NTP # NTP phase/frequency locked loop 34 35# CPU options 36options CPU_SA110 # Support the SA110 core 37options CPU_ARM6 # Support the ARM6 core 38options CPU_ARM7 # Support the ARM7 core 39#options CPU_ARM8 # Support the ARM8 core 40#options ARM6_LATE_ABORT # ARM6XX late abort support 41 42# For StrongARM only kernels 43#makeoptions COPTS="-O2 -march=armv3m -mtune=strongarm" 44 45# FPA options 46#options ARMFPE # ARM Ltd FPE 47 48# File systems 49 50file-system FFS # UFS 51#file-system LFS # log-structured file system 52file-system MFS # memory file system 53file-system NFS # Network file system 54file-system ADOSFS # AmigaDOS-compatible file system 55file-system EXT2FS # second extended file system (linux) 56file-system CD9660 # ISO 9660 + Rock Ridge file system 57file-system MSDOSFS # MS-DOS file system 58file-system FDESC # /dev/fd 59file-system FILECORE # Acorn filecore file system 60file-system KERNFS # /kern 61file-system NULLFS # loopback file system 62file-system OVERLAY # overlay filesystem 63file-system PORTAL # portal filesystem (still experimental) 64file-system PROCFS # /proc 65file-system UMAPFS # NULLFS + uid and gid remapping 66file-system UNION # union file system 67file-system PTYFS # /dev/pts/N support 68#file-system TMPFS # experimental - Efficient memory file-system 69#file-system UDF # experimental - OSTA UDF CD/DVD file-system 70 71# File system options 72options QUOTA # UFS quotas 73#options FFS_EI # FFS Endian Independant support 74options SOFTDEP # FFS soft updates support. 75#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 76options NFSSERVER 77#options FFS_NO_SNAPSHOT # No FFS snapshot support 78 79# Networking options 80 81options GATEWAY # packet forwarding 82options INET # IP + ICMP + TCP + UDP 83options INET6 # IPV6 84#options IPSEC # IP security 85#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 86#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 87#options IPSEC_DEBUG # debug for IP security 88#options MROUTING # IP multicast routing 89#options PIM # Protocol Independent Multicast 90options NS # XNS 91#options NSIP # XNS tunneling over IP 92options ISO,TPIP # OSI 93#options EON # OSI tunneling over IP 94options CCITT,LLC,HDLC # X.25 95options NETATALK # AppleTalk networking 96options PFIL_HOOKS # pfil(9) packet filter hooks 97options PPP_BSDCOMP # BSD-Compress compression support for PPP 98options PPP_DEFLATE # Deflate compression support for PPP 99options PPP_FILTER # Active filter support for PPP (requires bpf) 100#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 101 102#options ALTQ # Manipulate network interfaces' output queues 103#options ALTQ_BLUE # Stochastic Fair Blue 104#options ALTQ_CBQ # Class-Based Queueing 105#options ALTQ_CDNR # Diffserv Traffic Conditioner 106#options ALTQ_FIFOQ # First-In First-Out Queue 107#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 108#options ALTQ_HFSC # Hierarchical Fair Service Curve 109#options ALTQ_LOCALQ # Local queueing discipline 110#options ALTQ_PRIQ # Priority Queueing 111#options ALTQ_RED # Random Early Detection 112#options ALTQ_RIO # RED with IN/OUT 113#options ALTQ_WFQ # Weighted Fair Queueing 114 115# Compatibility options 116 117options COMPAT_43 # 4.3BSD compatibility. 118options COMPAT_30 # NetBSD 3.0 compatibility. 119options COMPAT_20 # NetBSD 2.0 compatibility. 120options COMPAT_16 # NetBSD 1.6 compatibility. 121options COMPAT_15 # NetBSD 1.5 compatibility. 122options COMPAT_14 # NetBSD 1.4 compatibility. 123options COMPAT_13 # NetBSD 1.3 compatibility. 124options COMPAT_12 # NetBSD 1.2 compatibility. 125#options COMPAT_11 # NetBSD 1.1 compatibility. 126#options COMPAT_10 # NetBSD 1.0 compatibility. 127#options COMPAT_09 # NetBSD 0.9 compatibility. 128#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 129options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 130 131# Shared memory options 132 133options SYSVMSG # System V-like message queues 134options SYSVSEM # System V-like semaphores 135#options SEMMNI=10 # number of semaphore identifiers 136#options SEMMNS=60 # number of semaphores in system 137#options SEMUME=10 # max number of undo entries per process 138#options SEMMNU=30 # number of undo structures in system 139options SYSVSHM # System V-like memory sharing 140options SHMMAXPGS=1024 # 1024 pages is the default 141options P1003_1B_SEMAPHORE # p1003.1b semaphore support 142 143# Device options 144 145options MEMORY_DISK_HOOKS # boottime setup of ramdisk 146#options MEMORY_DISK_ROOT_SIZE=4100 # Size in blocks 147#options MEMORY_DISK_IS_ROOT # use memory disk as root 148 149# Miscellaneous kernel options 150options KTRACE # system call tracing, a la ktrace(1) 151#options SYSTRACE # system call vetting via systrace(1) 152options IRQSTATS # manage IRQ statistics 153options LKM # loadable kernel modules 154options KMEMSTATS # kernel memory statistics 155#options SCSIVERBOSE # Verbose SCSI errors 156options USERCONF # userconf(4) support 157#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 158options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 159 160# Enable experimental buffer queue strategy for better responsiveness under 161# high disk I/O load. Use it with caution - it's not proven to be stable yet. 162#options BUFQ_READPRIO 163#options BUFQ_PRIOCSCAN 164 165# Development and Debugging options 166 167#options ARM700BUGTRACK # track the ARM700 swi bug 168#options PORTMASTER # Enable PortMaster only options 169#options DIAGNOSTIC # internal consistency checks 170#options PMAP_DEBUG # Enable pmap_debug_level code 171#options IPKDB # remote kernel debugging 172options DDB # in-kernel debugger 173#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 174#makeoptions DEBUG="-g" # compile full symbol table 175 176config netbsd root on ? type ? 177 178# serial console ... the conaddr is hardcoded as the pioc address + 4*com offset 179# this really be fixed some day 180#options COMCONSOLE,CONADDR="0x210000+4*0x3f8",CONUNIT=0,CONSPEED=9600 181 182# The main bus device 183mainbus0 at root 184 185# The boot CPU 186cpu0 at mainbus? 187 188# The IOMD 189iomd0 at mainbus? 190 191# system clock via IOMD 192clock* at iomd? 193 194# IIC bus device 195iomdiic* at iomd? 196iic0 at iomdiic? 197 198# RTC device via IIC bus 199pcfrtc* at iic? addr 0x50 200 201# VIDC device 202vidc0 at mainbus? 203 204# WSCONS 205# ws console uses DUMB, SUN or VT100 terminal emulation 206#options WSEMUL_NODUMB 207#options WSEMUL_SUN 208options WSEMUL_VT100 209 210#options WSDISPLAY_COMPAT_RAWKBD 211 212#options FONT_BOLD8x16 213#options FONT_GALLANT12x22 # Very nice font 214#options FONT_LUCIDA16x29 215#options FONT_OMRON12x20 # looks funny 216#options FONT_QVSS8x15 # broken ? 217options FONT_SONY12x25 # looks like VT220 font 218options FONT_SONY8x16 # not tested 219#options FONT_VT220L8x8 # 8x8 font as in Arch. cons 220#options FONT_VT220L8x16 # 8x(2x8) font as in Arch. cons 221#options FONT_VT220L8x10 # not tested 222#options FONT_VT220L8x20 # not tested 223 224vidcvideo0 at vidc? # wscons driver for VIDC 225wsdisplay* at vidcvideo? console ? # display itself 226 227iomdkbc* at iomd? # IOMD keyboard/mouse interface 228 229pckbd* at iomdkbc? slot ? # PS/2 keyboard 230options PCKBD_LAYOUT=KB_UK 231wskbd* at pckbd? 232 233pms* at iomdkbc? slot ? # PS/2 mouse 234wsmouse* at pms? 235 236qms* at iomd? # ws quadmouse driver 237wsmouse* at qms? # wsmouse on ws quadmouse 238 239pseudo-device wsmux 240 241# Peripheral IO Controller 242pioc0 at mainbus? base 0x00210000 243 244# IDE disk controller 245wdc0 at pioc? offset 0x01f0 irq 9 246 247# ATA (IDE) bus support 248atabus* at ata? 249 250wd* at atabus? drive ? 251atapibus* at atapi? 252cd* at atapibus? drive ? 253sd* at atapibus? drive ? 254 255# Floppy disk controller 256fdc* at pioc? offset 0x03f0 irq 12 dack 0x2000 257fd0 at fdc? drive ? 258 259# Serial ports 260com* at pioc? offset 0x03f8 irq 10 261 262# Parallel ports 263lpt* at pioc? offset 0x0278 irq 0 # Old driver 264#atppc* at pioc? offset 0x0278 irq 0 # New driver 265#ppbus* at atppc? 266#lpt* at ppbus? # Parallel printer 267#plip* at ppbus? # Parallel line IP 268 269# Audio device 270vidcaudio0 at vidc? 271audio* at vidcaudio0 272 273# Podule bus device 274podulebus0 at root 275 276asc* at podulebus? # Acorn SCSI card 277scsibus* at asc? 278 279cosc* at podulebus? # MCS Connect32 SCSI II card 280scsibus* at cosc? 281 282ptsc* at podulebus? # Power-Tec SCSI II card 283scsibus* at ptsc? 284 285csc* at podulebus? # Cumana SCSI II card 286scsibus* at csc? 287 288oak* at podulebus? # Oak SCSI I card 289scsibus* at oak? 290 291csa* at podulebus? # Cumana SCSI I adapter 292scsibus* at csa? 293 294hcsc* at podulebus0 slot ? # HCCS 8-bit SCSI interface 295scsibus* at hcsc? 296 297sd* at scsibus? target ? lun ? # SCSI disk drives 298st* at scsibus? target ? lun ? # SCSI tape drives 299cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 300ch* at scsibus? target ? lun ? # SCSI auto-changers 301uk* at scsibus? target ? lun ? # SCSI unknown device 302ss* at scsibus? target ? lun ? # SCSI scanner 303 304dtide* at podulebus? # D.T. Software IDE card 305 306hcide* at podulebus? # HCCS IDE card 307 308icside* at podulebus? # ICS IDE card 309 310rapide* at podulebus? # Yellowstone RapIDE card 311 312simide* at podulebus? # Simtec IDE card 313 314amps* at podulebus? # Atomwide Multi-Port Serial card 315com* at amps? 316 317ie* at podulebus? # Ether1 podules 318ea* at podulebus? # Ether3 podules 319eb0 at podulebus? # EtherB network slot cards 320ne* at podulebus? # NE2000 clone cards 321 322pseudo-device loop 1 # network loopback 323pseudo-device bpfilter # packet filter 324#pseudo-device carp # Common Address Redundancy Protocol 325pseudo-device sl # CSLIP 326pseudo-device ppp # PPP 327pseudo-device pppoe # PPP over Ethernet (RFC 2516) 328pseudo-device tun # network tunneling over tty 329pseudo-device tap # virtual Ethernet 330#pseudo-device gre # generic L3 over IP tunnel 331#pseudo-device ipfilter 1 # ip filter 332pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 333#pseudo-device faith # IPv[46] tcp relay translation i/f 334pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 335#pseudo-device strip # STarmode Radio IP (Metricon Ricochet) 336pseudo-device vlan # IEEE 802.1q encapsulation 337pseudo-device bridge # simple inter-network bridging 338#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 339pseudo-device pty # pseudo-terminals 340pseudo-device vnd # disk-like interface to files 341#options VND_COMPRESSION # compressed vnd(4) 342pseudo-device ccd 2 # concatenated disk devices 343#pseudo-device cgd 4 # cryptographic disk devices 344pseudo-device raid 8 # RAIDframe disk driver 345options RAID_AUTOCONFIG # auto-configuration of RAID components 346# Options to enable various other RAIDframe RAID types. 347# options RF_INCLUDE_EVENODD=1 348# options RF_INCLUDE_RAID5_RS=1 349# options RF_INCLUDE_PARITYLOGGING=1 350# options RF_INCLUDE_CHAINDECLUSTER=1 351# options RF_INCLUDE_INTERDECLUSTER=1 352# options RF_INCLUDE_PARITY_DECLUSTERING=1 353# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 354pseudo-device fss 4 # file system snapshot device 355pseudo-device md 1 # Ramdisk driver 356pseudo-device rnd # /dev/random and in-kernel generator 357pseudo-device clockctl # user control of clock subsystem 358 359makeoptions MONITOR="Taxan875+LR" 360#makeoptions MONITOR="AKF60" 361makeoptions MODES="1024,768,60 1024,768,70 800,600,60 640,480,60 1280,1024 1152,900" 362pseudo-device ksyms # /dev/ksyms 363#pseudo-device pf # PF packet filter 364#pseudo-device pflog # PF log if 365 366# Veriexec 367#options VERIFIED_EXEC 368# 369# a pseudo device needed for veriexec 370#pseudo-device veriexec 1 371# 372# Uncomment the fingerprint methods below that are desired. Note that 373# removing fingerprint methods will have almost no impact on the kernel 374# code size. 375# 376#options VERIFIED_EXEC_FP_RMD160 377#options VERIFIED_EXEC_FP_SHA256 378#options VERIFIED_EXEC_FP_SHA384 379#options VERIFIED_EXEC_FP_SHA512 380#options VERIFIED_EXEC_FP_SHA1 381#options VERIFIED_EXEC_FP_MD5 382