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