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