GENERIC revision 1.83
1# $NetBSD: GENERIC,v 1.83 2007/12/31 15:31:44 ad 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.83 $" 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 # 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 90#options ISO,TPIP # OSI 91#options EON # OSI tunneling over IP 92options NETATALK # AppleTalk networking 93options PFIL_HOOKS # pfil(9) packet filter hooks 94options PPP_BSDCOMP # BSD-Compress compression support for PPP 95options PPP_DEFLATE # Deflate compression support for PPP 96options PPP_FILTER # Active filter support for PPP (requires bpf) 97#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 98 99#options ALTQ # Manipulate network interfaces' output queues 100#options ALTQ_BLUE # Stochastic Fair Blue 101#options ALTQ_CBQ # Class-Based Queueing 102#options ALTQ_CDNR # Diffserv Traffic Conditioner 103#options ALTQ_FIFOQ # First-In First-Out Queue 104#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 105#options ALTQ_HFSC # Hierarchical Fair Service Curve 106#options ALTQ_LOCALQ # Local queueing discipline 107#options ALTQ_PRIQ # Priority Queueing 108#options ALTQ_RED # Random Early Detection 109#options ALTQ_RIO # RED with IN/OUT 110#options ALTQ_WFQ # Weighted Fair Queueing 111 112# Compatibility options 113 114options COMPAT_43 # 4.3BSD compatibility. 115options COMPAT_30 # NetBSD 3.0 compatibility. 116options COMPAT_20 # NetBSD 2.0 compatibility. 117options COMPAT_16 # NetBSD 1.6 compatibility. 118options COMPAT_15 # NetBSD 1.5 compatibility. 119options COMPAT_14 # NetBSD 1.4 compatibility. 120options COMPAT_13 # NetBSD 1.3 compatibility. 121options COMPAT_12 # NetBSD 1.2 compatibility. 122#options COMPAT_11 # NetBSD 1.1 compatibility. 123#options COMPAT_10 # NetBSD 1.0 compatibility. 124#options COMPAT_09 # NetBSD 0.9 compatibility. 125#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 126options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 127 128# Shared memory options 129 130options SYSVMSG # System V-like message queues 131options SYSVSEM # System V-like semaphores 132options SYSVSHM # System V-like memory sharing 133options SHMMAXPGS=1024 # 1024 pages is the default 134options P1003_1B_SEMAPHORE # p1003.1b semaphore support 135 136# Device options 137 138options MEMORY_DISK_HOOKS # boottime setup of ramdisk 139#options MEMORY_DISK_ROOT_SIZE=4100 # Size in blocks 140#options MEMORY_DISK_IS_ROOT # use memory disk as root 141 142# Miscellaneous kernel options 143options KTRACE # system call tracing, a la ktrace(1) 144options IRQSTATS # manage IRQ statistics 145options LKM # loadable kernel modules 146options KMEMSTATS # kernel memory statistics 147#options SCSIVERBOSE # Verbose SCSI errors 148options USERCONF # userconf(4) support 149#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 150options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 151 152# Enable experimental buffer queue strategy for better responsiveness under 153# high disk I/O load. Use it with caution - it's not proven to be stable yet. 154#options BUFQ_READPRIO 155#options BUFQ_PRIOCSCAN 156 157# Development and Debugging options 158 159#options ARM700BUGTRACK # track the ARM700 swi bug 160#options PORTMASTER # Enable PortMaster only options 161#options DIAGNOSTIC # internal consistency checks 162#options PMAP_DEBUG # Enable pmap_debug_level code 163#options IPKDB # remote kernel debugging 164options DDB # in-kernel debugger 165#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 166#makeoptions DEBUG="-g" # compile full symbol table 167 168config netbsd root on ? type ? 169 170# serial console ... the conaddr is hardcoded as the pioc address + 4*com offset 171# this really be fixed some day 172#options COMCONSOLE,CONADDR="0x210000+4*0x3f8",CONUNIT=0,CONSPEED=9600 173 174# The main bus device 175mainbus0 at root 176 177# The boot CPU 178cpu0 at mainbus? 179 180# The IOMD 181iomd0 at mainbus? 182 183# system clock via IOMD 184clock* at iomd? 185 186# IIC bus device 187iomdiic* at iomd? 188iic0 at iomdiic? 189 190# RTC device via IIC bus 191pcfrtc* at iic? addr 0x50 192 193# VIDC device 194vidc0 at mainbus? 195 196# WSCONS 197# ws console uses DUMB, SUN or VT100 terminal emulation 198#options WSEMUL_NODUMB 199#options WSEMUL_SUN 200options WSEMUL_VT100 201 202#options WSDISPLAY_COMPAT_RAWKBD 203 204#options FONT_BOLD8x16 205#options FONT_GALLANT12x22 # Very nice font 206#options FONT_LUCIDA16x29 207#options FONT_OMRON12x20 # looks funny 208#options FONT_QVSS8x15 # broken ? 209options FONT_SONY12x25 # looks like VT220 font 210options FONT_SONY8x16 # not tested 211#options FONT_VT220L8x8 # 8x8 font as in Arch. cons 212#options FONT_VT220L8x16 # 8x(2x8) font as in Arch. cons 213#options FONT_VT220L8x10 # not tested 214#options FONT_VT220L8x20 # not tested 215 216vidcvideo0 at vidc? # wscons driver for VIDC 217wsdisplay* at vidcvideo? console ? # display itself 218 219iomdkbc* at iomd? # IOMD keyboard/mouse interface 220 221pckbd* at iomdkbc? slot ? # PS/2 keyboard 222options PCKBD_LAYOUT=KB_UK 223wskbd* at pckbd? 224 225pms* at iomdkbc? slot ? # PS/2 mouse 226wsmouse* at pms? 227 228qms* at iomd? # ws quadmouse driver 229wsmouse* at qms? # wsmouse on ws quadmouse 230 231pseudo-device wsmux 232 233# Peripheral IO Controller 234pioc0 at mainbus? base 0x00210000 235 236# IDE disk controller 237wdc0 at pioc? offset 0x01f0 irq 9 238 239# ATA (IDE) bus support 240atabus* at ata? 241 242wd* at atabus? drive ? 243atapibus* at atapi? 244cd* at atapibus? drive ? 245sd* at atapibus? drive ? 246 247# Floppy disk controller 248fdc* at pioc? offset 0x03f0 irq 12 dack 0x2000 249fd0 at fdc? drive ? 250 251# Serial ports 252com* at pioc? offset 0x03f8 irq 10 253 254# Parallel ports 255lpt* at pioc? offset 0x0278 irq 0 # Old driver 256#atppc* at pioc? offset 0x0278 irq 0 # New driver 257#ppbus* at atppc? 258#lpt* at ppbus? # Parallel printer 259#plip* at ppbus? # Parallel line IP 260 261# Audio device 262vidcaudio0 at vidc? 263audio* at vidcaudio0 264 265# Podule bus device 266podulebus0 at root 267 268sec* at podulebus? # Acorn SCSI card 269scsibus* at sec? 270 271cosc* at podulebus? # MCS Connect32 SCSI II card 272scsibus* at cosc? 273 274ptsc* at podulebus? # Power-Tec SCSI II card 275scsibus* at ptsc? 276 277csc* at podulebus? # Cumana SCSI II card 278scsibus* at csc? 279 280oak* at podulebus? # Oak SCSI I card 281scsibus* at oak? 282 283csa* at podulebus? # Cumana SCSI I adapter 284scsibus* at csa? 285 286hcsc* at podulebus0 slot ? # HCCS 8-bit SCSI interface 287scsibus* at hcsc? 288 289sd* at scsibus? target ? lun ? # SCSI disk drives 290st* at scsibus? target ? lun ? # SCSI tape drives 291cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 292ch* at scsibus? target ? lun ? # SCSI auto-changers 293uk* at scsibus? target ? lun ? # SCSI unknown device 294ss* at scsibus? target ? lun ? # SCSI scanner 295 296dtide* at podulebus? # D.T. Software IDE card 297 298hcide* at podulebus? # HCCS IDE card 299 300icside* at podulebus? # ICS IDE card 301 302rapide* at podulebus? # Yellowstone RapIDE card 303 304simide* at podulebus? # Simtec IDE card 305 306amps* at podulebus? # Atomwide Multi-Port Serial card 307com* at amps? 308 309ei* at podulebus? # Ether1 podules 310ea* at podulebus? # Ether3 podules 311eb0 at podulebus? # EtherB network slot cards 312ne* at podulebus? # NE2000 clone cards 313 314pseudo-device loop 1 # network loopback 315pseudo-device bpfilter # packet filter 316#pseudo-device carp # Common Address Redundancy Protocol 317pseudo-device sl # CSLIP 318pseudo-device ppp # PPP 319pseudo-device pppoe # PPP over Ethernet (RFC 2516) 320pseudo-device tun # network tunneling over tty 321pseudo-device tap # virtual Ethernet 322#pseudo-device gre # generic L3 over IP tunnel 323#pseudo-device ipfilter 1 # ip filter 324pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 325#pseudo-device faith # IPv[46] tcp relay translation i/f 326pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 327#pseudo-device strip # STarmode Radio IP (Metricon Ricochet) 328pseudo-device vlan # IEEE 802.1q encapsulation 329pseudo-device bridge # simple inter-network bridging 330#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 331pseudo-device agr # IEEE 802.3ad link aggregation 332pseudo-device pty # pseudo-terminals 333pseudo-device vnd # disk-like interface to files 334#options VND_COMPRESSION # compressed vnd(4) 335pseudo-device ccd 2 # concatenated disk devices 336#pseudo-device cgd 4 # cryptographic disk devices 337pseudo-device raid 8 # RAIDframe disk driver 338options RAID_AUTOCONFIG # auto-configuration of RAID components 339# Options to enable various other RAIDframe RAID types. 340# options RF_INCLUDE_EVENODD=1 341# options RF_INCLUDE_RAID5_RS=1 342# options RF_INCLUDE_PARITYLOGGING=1 343# options RF_INCLUDE_CHAINDECLUSTER=1 344# options RF_INCLUDE_INTERDECLUSTER=1 345# options RF_INCLUDE_PARITY_DECLUSTERING=1 346# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 347pseudo-device fss 4 # file system snapshot device 348pseudo-device md 1 # Ramdisk driver 349pseudo-device rnd # /dev/random and in-kernel generator 350pseudo-device clockctl # user control of clock subsystem 351pseudo-device ksyms # /dev/ksyms 352#pseudo-device pf # PF packet filter 353#pseudo-device pflog # PF log if 354 355# Veriexec 356# 357# a pseudo device needed for veriexec 358#pseudo-device veriexec 1 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_RMD160 365#options VERIFIED_EXEC_FP_SHA256 366#options VERIFIED_EXEC_FP_SHA384 367#options VERIFIED_EXEC_FP_SHA512 368#options VERIFIED_EXEC_FP_SHA1 369#options VERIFIED_EXEC_FP_MD5 370 371# If the standard modes don't work for your monitor, you can specify 372# a RISC-OS-format monitor definition file and a list of modes here. 373 374#makeoptions MONITOR="Taxan875+LR" 375#makeoptions MONITOR="AKF60" 376#makeoptions MODES="1024,768,60 1024,768,70 800,600,60 640,480,60 1280,1024 1152,900" 377