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