GENERIC revision 1.45
1# $NetBSD: GENERIC,v 1.45 2004/11/10 17:54:02 christos 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.45 $" 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 67 68# File system options 69options QUOTA # UFS quotas 70#options FFS_EI # FFS Endian Independant support 71options SOFTDEP # FFS soft updates support. 72options NFSSERVER 73 74# Networking options 75 76options GATEWAY # packet forwarding 77options INET # IP + ICMP + TCP + UDP 78options INET6 # IPV6 79#options IPSEC # IP security 80#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 81#options IPSEC_DEBUG # debug for IP security 82#options MROUTING # IP multicast routing 83#options PIM # Protocol Independent Multicast 84options NS # XNS 85#options NSIP # XNS tunneling over IP 86options ISO,TPIP # OSI 87#options EON # OSI tunneling over IP 88options CCITT,LLC,HDLC # X.25 89options NETATALK # AppleTalk networking 90options PFIL_HOOKS # pfil(9) packet filter hooks 91options PPP_BSDCOMP # BSD-Compress compression support for PPP 92options PPP_DEFLATE # Deflate compression support for PPP 93options PPP_FILTER # Active filter support for PPP (requires bpf) 94#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 95 96#options ALTQ # Manipulate network interfaces' output queues 97#options ALTQ_BLUE # Stochastic Fair Blue 98#options ALTQ_CBQ # Class-Based Queueing 99#options ALTQ_CDNR # Diffserv Traffic Conditioner 100#options ALTQ_FIFOQ # First-In First-Out Queue 101#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 102#options ALTQ_HFSC # Hierarchical Fair Service Curve 103#options ALTQ_LOCALQ # Local queueing discipline 104#options ALTQ_PRIQ # Priority Queueing 105#options ALTQ_RED # Random Early Detection 106#options ALTQ_RIO # RED with IN/OUT 107#options ALTQ_WFQ # Weighted Fair Queueing 108 109# Compatibility options 110 111options COMPAT_43 # 4.3BSD compatibility. 112options COMPAT_16 # NetBSD 1.6 compatibility. 113options COMPAT_15 # NetBSD 1.5 compatibility. 114options COMPAT_14 # NetBSD 1.4 compatibility. 115options COMPAT_13 # NetBSD 1.3 compatibility. 116options COMPAT_12 # NetBSD 1.2 compatibility. 117#options COMPAT_11 # NetBSD 1.1 compatibility. 118#options COMPAT_10 # NetBSD 1.0 compatibility. 119#options COMPAT_09 # NetBSD 0.9 compatibility. 120#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 121options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 122 123# Shared memory options 124 125options SYSVMSG # System V-like message queues 126options SYSVSEM # System V-like semaphores 127#options SEMMNI=10 # number of semaphore identifiers 128#options SEMMNS=60 # number of semaphores in system 129#options SEMUME=10 # max number of undo entries per process 130#options SEMMNU=30 # number of undo structures in system 131options SYSVSHM # System V-like memory sharing 132options SHMMAXPGS=1024 # 1024 pages is the default 133options P1003_1B_SEMAPHORE # p1003.1b semaphore support 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 SYSTRACE # system call vetting via systrace(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 NEW_BUFQ_STRATEGY 155 156# Development and Debugging options 157 158#options ARM700BUGTRACK # track the ARM700 swi bug 159#options PORTMASTER # Enable PortMaster only options 160options DIAGNOSTIC # internal consistency checks 161#options PMAP_DEBUG # Enable pmap_debug_level code 162#options IPKDB # remote kernel debugging 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 199#options WSEMUL_VT100 200 201#options WSDISPLAY_COMPAT_RAWKBD 202 203#options FONT_BOLD8x16 204#options FONT_GALLANT12x22 # Very nice font 205#options FONT_LUCIDA16x29 206#options FONT_OMRON12x20 # looks funny 207#options FONT_QVSS8x15 # broken ? 208#options FONT_SONY12x25 # looks like VT220 font 209#options FONT_SONY8x16 # not tested 210#options FONT_VT220L8x8 # 8x8 font as in Arch. cons 211#options FONT_VT220L8x16 # 8x(2x8) font as in Arch. cons 212#options FONT_VT220L8x10 # not tested 213#options FONT_VT220L8x20 # not tested 214 215#vidcvideo0 at vidc? # wscons driver for VIDC 216#wsdisplay* at vidcvideo? console ? # display itself 217 218iomdkbc* at iomd? # IOMD keyboard/mouse interface 219 220#pckbd* at iomdkbc? slot ? # PS/2 keyboard 221#options PCKBD_LAYOUT=KB_UK 222#wskbd* at pckbd? 223 224pms* at iomdkbc? slot ? # PS/2 mouse 225wsmouse* at pms? 226 227#rpckbd* at iomd? # based on old `kbd' driver 228#wskbd* at rpckbd? # wskbd on RiscPC keyboard 229 230qms* at iomd? # ws quadmouse driver 231wsmouse* at qms? # wsmouse on ws quadmouse 232 233pseudo-device wsmux 234 235# The origional vidcconsole : 236# vidcconsole kbd at IOMD 237# vidcconsole PS2 mouse at IOMD 238vidcconsole0 at vidc? # display + vt100 emulation 239kbd* at iomd? # PS/2 keyboard for vidcconsole 240 241# generic VT console device 242vt0 at vidc? 243vt1 at vidc? 244vt2 at vidc? 245vt3 at vidc? 246vt4 at vidc? 247vt5 at vidc? 248 249# Peripheral IO Controller 250pioc0 at mainbus? base 0x00210000 251 252# IDE disk controller 253wdc0 at pioc? offset 0x01f0 irq 9 254 255# ATA (IDE) bus support 256atabus* at ata? 257 258wd* at atabus? drive ? 259atapibus* at atapi? 260cd* at atapibus? drive ? 261sd* at atapibus? drive ? 262 263# Floppy disk controller 264fdc* at pioc? offset 0x03f0 irq 12 dack 0x2000 265fd0 at fdc? drive ? 266 267# Serial ports 268com* at pioc? offset 0x03f8 irq 10 269 270# Parallel ports 271lpt* at pioc? offset 0x0278 irq 0 # Old driver 272#atppc* at pioc? offset 0x0278 irq 0 # New driver 273#ppbus* at atppc? 274#lpt* at ppbus? # Parallel printer 275#plip* at ppbus? # Parallel line IP 276 277# Audio device 278vidcaudio0 at vidc? 279audio* at vidcaudio0 280 281# Podule bus device 282podulebus0 at root 283 284asc* at podulebus? # Acorn SCSI card 285scsibus* at asc? 286 287cosc* at podulebus? # MCS Connect32 SCSI II card 288scsibus* at cosc? 289 290ptsc* at podulebus? # Power-Tec SCSI II card 291scsibus* at ptsc? 292 293csc* at podulebus? # Cumana SCSI II card 294scsibus* at csc? 295 296oak* at podulebus? # Oak SCSI I card 297scsibus* at oak? 298 299csa* at podulebus? # Cumana SCSI I adpater 300scsibus* at csa? 301 302hcsc* at podulebus0 slot ? # HCCS 8-bit SCSI interface 303scsibus* at hcsc? 304 305sd* at scsibus? target ? lun ? # SCSI disk drives 306st* at scsibus? target ? lun ? # SCSI tape drives 307cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 308ch* at scsibus? target ? lun ? # SCSI auto-changers 309uk* at scsibus? target ? lun ? # SCSI unknown device 310ss* at scsibus? target ? lun ? # SCSI scanner 311 312dtide* at podulebus? # D.T. Software IDE card 313 314hcide* at podulebus? # HCCS IDE card 315 316icside* at podulebus? # ICS IDE card 317 318rapide* at podulebus? # Yellowstone RapIDE card 319 320simide* at podulebus? # Simtec IDE card 321 322amps* at podulebus? # Atomwide Multi-Port Serial card 323com* at amps? 324 325ie* at podulebus? # Ether1 podules 326ea* at podulebus? # Ether3 podules 327eb0 at podulebus? # EtherB network slot cards 328ne* at podulebus? # NE2000 clone cards 329 330pseudo-device loop 1 # network loopback 331pseudo-device bpfilter 8 # packet filter 332pseudo-device sl 2 # CSLIP 333pseudo-device ppp 2 # PPP 334pseudo-device pppoe # PPP over Ethernet (RFC 2516) 335pseudo-device tun 2 # network tunneling over tty 336#pseudo-device gre 2 # generic L3 over IP tunnel 337#pseudo-device ipfilter 1 # ip filter 338pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 339#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 340#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 341#pseudo-device strip 4 # STarmode Radio IP (Metricon Ricochet) 342pseudo-device vlan # IEEE 802.1q encapsulation 343pseudo-device bridge # simple inter-network bridging 344#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 345pseudo-device pty # pseudo-terminals 346pseudo-device tb 1 # tablet line discipline 347pseudo-device vnd 4 # disk-like interface to files 348pseudo-device ccd 2 # concatenated disk devices 349#pseudo-device cgd 4 # cryptographic disk devices 350pseudo-device raid 8 # RAIDframe disk driver 351options RAID_AUTOCONFIG # auto-configuration of RAID components 352# Options to enable various other RAIDframe RAID types. 353# options RF_INCLUDE_EVENODD=1 354# options RF_INCLUDE_RAID5_RS=1 355# options RF_INCLUDE_PARITYLOGGING=1 356# options RF_INCLUDE_CHAINDECLUSTER=1 357# options RF_INCLUDE_INTERDECLUSTER=1 358# options RF_INCLUDE_PARITY_DECLUSTERING=1 359# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 360pseudo-device md 1 # Ramdisk driver 361pseudo-device rnd # /dev/random and in-kernel generator 362pseudo-device clockctl # user control of clock subsystem 363 364makeoptions MONITOR="Taxan875+LR" 365#makeoptions MONITOR="AKF60" 366makeoptions MODES="1024,768,60 1024,768,70 800,600,60 640,480,60 1280,1024 1152,900" 367pseudo-device ksyms # /dev/ksyms 368#pseudo-device pf # PF packet filter 369#pseudo-device pflog # PF log if 370