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