GENERIC revision 1.103
1# $NetBSD: GENERIC,v 1.103 2012/08/17 19:43:24 abs 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.103 $" 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 PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 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 68file-system TMPFS # Efficient memory file-system 69#file-system UDF # experimental - OSTA UDF CD/DVD file-system 70 71# File system options 72options QUOTA # legacy UFS quotas 73options QUOTA2 # new, in-filesystem UFS quotas 74#options FFS_EI # FFS Endian Independent support 75options WAPBL # File system journaling support 76#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 77options NFSSERVER 78#options FFS_NO_SNAPSHOT # No FFS snapshot support 79 80# Networking options 81 82options GATEWAY # packet forwarding 83options INET # IP + ICMP + TCP + UDP 84options INET6 # IPV6 85#options IPSEC # IP security 86#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 87#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 88#options IPSEC_DEBUG # debug for IP security 89#options MROUTING # IP multicast routing 90#options PIM # Protocol Independent Multicast 91#options ISO,TPIP # OSI 92#options EON # OSI tunneling over IP 93options NETATALK # AppleTalk networking 94options PFIL_HOOKS # pfil(9) packet filter hooks 95options PPP_BSDCOMP # BSD-Compress compression support for PPP 96options PPP_DEFLATE # Deflate compression support for PPP 97options PPP_FILTER # Active filter support for PPP (requires bpf) 98#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 99 100#options ALTQ # Manipulate network interfaces' output queues 101#options ALTQ_BLUE # Stochastic Fair Blue 102#options ALTQ_CBQ # Class-Based Queueing 103#options ALTQ_CDNR # Diffserv Traffic Conditioner 104#options ALTQ_FIFOQ # First-In First-Out Queue 105#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 106#options ALTQ_HFSC # Hierarchical Fair Service Curve 107#options ALTQ_LOCALQ # Local queueing discipline 108#options ALTQ_PRIQ # Priority Queueing 109#options ALTQ_RED # Random Early Detection 110#options ALTQ_RIO # RED with IN/OUT 111#options ALTQ_WFQ # Weighted Fair Queueing 112 113# Compatibility options 114 115options COMPAT_43 # 4.3BSD compatibility. 116options COMPAT_50 # NetBSD 5.0 compatibility. 117options COMPAT_40 # NetBSD 4.0 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 135options SYSVSHM # System V-like memory sharing 136 137# Device options 138 139options MEMORY_DISK_HOOKS # boottime setup of ramdisk 140#options MEMORY_DISK_ROOT_SIZE=4100 # Size in blocks 141#options MEMORY_DISK_IS_ROOT # use memory disk as root 142 143# Miscellaneous kernel options 144options KTRACE # system call tracing, a la ktrace(1) 145options IRQSTATS # manage IRQ statistics 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 163options DDB # in-kernel debugger 164#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 165#makeoptions DEBUG="-g" # compile full symbol table 166 167config netbsd root on ? type ? 168 169# serial console ... the conaddr is hardcoded as the pioc address + 4*com offset 170# this really be fixed some day 171#options COMCONSOLE,CONADDR="0x210000+4*0x3f8",CONUNIT=0,CONSPEED=9600 172 173# The main bus device 174mainbus0 at root 175 176# The boot CPU 177cpu0 at mainbus? 178 179# The IOMD 180iomd0 at mainbus? 181 182# system clock via IOMD 183clock* at iomd? 184 185# IIC bus device 186iomdiic* at iomd? 187iic0 at iomdiic? 188 189# RTC device via IIC bus 190pcfrtc* at iic? addr 0x50 191 192# VIDC device 193vidc0 at mainbus? 194 195# WSCONS 196# ws console uses DUMB, SUN or VT100 terminal emulation 197#options WSEMUL_NODUMB 198#options WSEMUL_SUN 199options WSEMUL_VT100 200 201options WS_KERNEL_FG=WSCOL_GREEN 202 203#options WSDISPLAY_COMPAT_RAWKBD 204options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 205options WSDISPLAY_SCROLLSUPPORT 206 207vidcvideo0 at vidc? # wscons driver for VIDC 208wsdisplay* at vidcvideo? console ? # display itself 209 210iomdkbc* at iomd? # IOMD keyboard/mouse interface 211 212pckbd* at iomdkbc? slot ? # PS/2 keyboard 213options PCKBD_LAYOUT=KB_UK 214wskbd* at pckbd? 215 216pms* at iomdkbc? slot ? # PS/2 mouse 217wsmouse* at pms? 218 219qms* at iomd? # ws quadmouse driver 220wsmouse* at qms? # wsmouse on ws quadmouse 221 222pseudo-device wsmux 223 224# Peripheral IO Controller 225pioc0 at mainbus? base 0x00210000 226 227# IDE disk controller 228wdc0 at pioc? offset 0x01f0 irq 9 229 230# ATA (IDE) bus support 231atabus* at ata? 232 233wd* at atabus? drive ? 234atapibus* at atapi? 235cd* at atapibus? drive ? 236sd* at atapibus? drive ? 237 238# Floppy disk controller 239fdc* at pioc? offset 0x03f0 irq 12 dack 0x2000 240fd0 at fdc? drive ? 241 242# Serial ports 243com* at pioc? offset 0x03f8 irq 10 244 245# Parallel ports 246lpt* at pioc? offset 0x0278 irq 0 # Old driver 247#atppc* at pioc? offset 0x0278 irq 0 # New driver 248#ppbus* at atppc? 249#lpt* at ppbus? # Parallel printer 250#plip* at ppbus? # Parallel line IP 251 252# Audio device 253vidcaudio0 at vidc? 254audio* at vidcaudio0 255 256# Podule bus device 257podulebus0 at root 258 259sec* at podulebus? # Acorn SCSI card 260scsibus* at sec? 261 262cosc* at podulebus? # MCS Connect32 SCSI II card 263scsibus* at cosc? 264 265ptsc* at podulebus? # Power-Tec SCSI II card 266scsibus* at ptsc? 267 268csc* at podulebus? # Cumana SCSI II card 269scsibus* at csc? 270 271oak* at podulebus? # Oak SCSI I card 272scsibus* at oak? 273 274csa* at podulebus? # Cumana SCSI I adapter 275scsibus* at csa? 276 277hcsc* at podulebus0 slot ? # HCCS 8-bit SCSI interface 278scsibus* at hcsc? 279 280sd* at scsibus? target ? lun ? # SCSI disk drives 281st* at scsibus? target ? lun ? # SCSI tape drives 282cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 283ch* at scsibus? target ? lun ? # SCSI auto-changers 284uk* at scsibus? target ? lun ? # SCSI unknown device 285ss* at scsibus? target ? lun ? # SCSI scanner 286 287dtide* at podulebus? # D.T. Software IDE card 288 289hcide* at podulebus? # HCCS IDE card 290 291icside* at podulebus? # ICS IDE card 292 293rapide* at podulebus? # Yellowstone RapIDE card 294 295simide* at podulebus? # Simtec IDE card 296 297amps* at podulebus? # Atomwide Multi-Port Serial card 298com* at amps? 299 300ei* at podulebus? # Ether1 podules 301ea* at podulebus? # Ether3 podules 302eb0 at podulebus? # EtherB network slot cards 303ne* at podulebus? # NE2000 clone cards 304 305pseudo-device loop # network loopback 306pseudo-device bpfilter # packet filter 307#pseudo-device carp # Common Address Redundancy Protocol 308pseudo-device sl # CSLIP 309pseudo-device ppp # PPP 310pseudo-device pppoe # PPP over Ethernet (RFC 2516) 311pseudo-device tun # network tunneling over tty 312pseudo-device tap # virtual Ethernet 313#pseudo-device gre # generic L3 over IP tunnel 314#pseudo-device ipfilter # ip filter 315pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 316#pseudo-device faith # IPv[46] tcp relay translation i/f 317pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 318#pseudo-device strip # STarmode Radio IP (Metricon Ricochet) 319pseudo-device vlan # IEEE 802.1q encapsulation 320pseudo-device bridge # simple inter-network bridging 321#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 322pseudo-device agr # IEEE 802.3ad link aggregation 323pseudo-device pty # pseudo-terminals 324pseudo-device vnd # disk-like interface to files 325#options VND_COMPRESSION # compressed vnd(4) 326pseudo-device ccd 2 # concatenated disk devices 327#pseudo-device cgd 4 # cryptographic disk devices 328pseudo-device raid 8 # RAIDframe disk driver 329options RAID_AUTOCONFIG # auto-configuration of RAID components 330# Options to enable various other RAIDframe RAID types. 331# options RF_INCLUDE_EVENODD=1 332# options RF_INCLUDE_RAID5_RS=1 333# options RF_INCLUDE_PARITYLOGGING=1 334# options RF_INCLUDE_CHAINDECLUSTER=1 335# options RF_INCLUDE_INTERDECLUSTER=1 336# options RF_INCLUDE_PARITY_DECLUSTERING=1 337# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 338pseudo-device fss # file system snapshot device 339pseudo-device md # Ramdisk driver 340pseudo-device clockctl # user control of clock subsystem 341pseudo-device ksyms # /dev/ksyms 342#pseudo-device pf # PF packet filter 343#pseudo-device pflog # PF log if 344pseudo-device putter # for puffs and pud 345 346# 347# accept filters 348pseudo-device accf_data # "dataready" accept filter 349pseudo-device accf_http # "httpready" accept filter 350 351# Veriexec 352# 353# a pseudo device needed for veriexec 354#pseudo-device veriexec 1 355# 356# Uncomment the fingerprint methods below that are desired. Note that 357# removing fingerprint methods will have almost no impact on the kernel 358# code size. 359# 360#options VERIFIED_EXEC_FP_RMD160 361#options VERIFIED_EXEC_FP_SHA256 362#options VERIFIED_EXEC_FP_SHA384 363#options VERIFIED_EXEC_FP_SHA512 364#options VERIFIED_EXEC_FP_SHA1 365#options VERIFIED_EXEC_FP_MD5 366 367# If the standard modes don't work for your monitor, you can specify 368# a RISC-OS-format monitor definition file and a list of modes here. 369 370#makeoptions MONITOR="Taxan875+LR" 371#makeoptions MONITOR="AKF60" 372#makeoptions MODES="1024,768,60 1024,768,70 800,600,60 640,480,60 1280,1024 1152,900" 373