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