GENERIC revision 1.37
1# $NetBSD: GENERIC,v 1.37 2004/07/15 03:53:50 atatat Exp $ 2# 3# GENERIC machine description file 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/mipsco/conf/std.mipsco" 22 23options INCLUDE_CONFIG_FILE # embed config file in kernel binary 24 25maxusers 16 26 27options MIPS1 # R2000/R3000 support 28 29# Standard system options 30options KTRACE # system call tracing support 31options SYSTRACE # system call vetting via systrace(1) 32options SYSVMSG # System V message queues 33options SYSVSEM # System V semaphores 34#options SEMMNI=10 # number of semaphore identifiers 35#options SEMMNS=60 # number of semaphores in system 36#options SEMUME=10 # max number of undo entries per process 37#options SEMMNU=30 # number of undo structures in system 38options SYSVSHM # System V shared memory 39#options SHMMAXPGS=1024 # 1024 pages is the default 40options P1003_1B_SEMAPHORE # p1003.1b semaphore support 41#options LKM # loadable kernel modules 42#options NTP # network time protocol 43options HZ=25 44options USERCONF # userconf(4) support 45#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 46options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 47 48# Enable experimental buffer queue strategy for better responsiveness under 49# high disk I/O load. Use it with caution - it's not proven to be stable yet. 50#options NEW_BUFQ_STRATEGY 51 52# Debugging options 53options DDB # kernel dynamic debugger 54options DDB_HISTORY_SIZE=100 # enable history editing in DDB 55#options DEBUG # extra kernel debugging support 56options DIAGNOSTIC # extra kernel sanity checking 57options SCSIVERBOSE # Verbose SCSI errors 58 59#options KGDB # Remote kernel debug using gdb 60#options KGDB_DEV=0x0100 # KGDB port (this is serial0) 61#options KGDB_DEVRATE=19200 # KGDB Baud Rate (default=19200) 62#makeoptions DEBUG="-g" # Build kernel with debug symbols 63 64# Compatibility options 65options COMPAT_43 # compatibility with 4.3BSD binaries 66#options COMPAT_10 # NetBSD 1.0 binary compatibility 67#options COMPAT_11 # NetBSD 1.1 binary compatibility 68#options COMPAT_12 # NetBSD 1.2 binary compatibility 69options COMPAT_13 # NetBSD 1.3 binary compatibility 70options COMPAT_14 # NetBSD 1.4 binary compatibility 71options COMPAT_16 # NetBSD 1.6 binary compatibility 72#options EXEC_AOUT # exec a.out binaries 73#options EXEC_ECOFF # exec ecoff binaries 74#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 75 76# Filesystem options 77file-system FFS # Berkeley Fast Filesystem 78file-system NFS # Sun NFS-compatible filesystem client 79file-system KERNFS # kernel data-structure filesystem 80#file-system NULLFS # NULL layered filesystem 81#file-system MFS # memory-based filesystem 82#file-system FDESC # user file descriptor filesystem 83#file-system UMAPFS # uid/gid remapping filesystem 84#file-system LFS # Log-based filesystem (still experimental) 85#file-system PORTAL # portal filesystem (still experimental) 86file-system PROCFS # /proc 87file-system CD9660 # ISO 9660 + Rock Ridge file system 88#file-system UNION # union file system 89#file-system MSDOSFS # MS-DOS FAT filesystem(s). 90# 91options NFSSERVER # Sun NFS-compatible filesystem server 92options QUOTA # FFS quotas 93#options FFS_EI # FFS Endian Independant support 94 95# Networking options 96options INET # Internet protocols 97#options GATEWAY # IP packet forwarding 98#options MROUTING # packet forwarding of multicast packets 99#options NS # Xerox NS networking 100#options NSIP # Xerox NS tunneling over IP 101#options ISO,TPIP # OSI networking 102#options EON # OSI tunneling over IP 103#options CCITT,LLC,HDLC # X.25 104#options NETATALK # AppleTalk (over Ethernet) protocol 105#options PPP_BSDCOMP # BSD-Compress compression support for PPP 106#options PPP_DEFLATE # Deflate compression support for PPP 107#options PPP_FILTER # Active filter support for PPP (requires bpf) 108#options PFIL_HOOKS # pfil(9) packet filter hooks 109#options IPFILTER_LOG # ipmon(8) log support 110#options IPFILTER_DEFAULT_BLOCK # block all packets by default 111#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 112 113#options ALTQ # Manipulate network interfaces' output queues 114#options ALTQ_BLUE # Stochastic Fair Blue 115#options ALTQ_CBQ # Class-Based Queueing 116#options ALTQ_CDNR # Diffserv Traffic Conditioner 117#options ALTQ_FIFOQ # First-In First-Out Queue 118#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 119#options ALTQ_HFSC # Hierarchical Fair Service Curve 120#options ALTQ_LOCALQ # Local queueing discipline 121#options ALTQ_PRIQ # Priority Queueing 122#options ALTQ_RED # Random Early Detection 123#options ALTQ_RIO # RED with IN/OUT 124#options ALTQ_WFQ # Weighted Fair Queueing 125 126config netbsd root on ? type ? 127 128mainbus0 at root 129 130cpu0 at mainbus0 131obio0 at mainbus0 132 133mkclock0 at obio0 addr 0xbd000000 # MK48T02 realtime clock 134 135rambo0 at obio0 addr 0xbc000000 # RAMBO DMA & timer asic 136 137le0 at obio0 addr 0xba000000 # onboard LANCE ethernet 138 139# Not currently implemented 140#kb0 at obio0 addr 0xbfd00000 # keyboard 141#fb0 at obio0 addr 0x88000000 # framebuffer 142 143fd0 at obio0 addr 0xbe000000 # i82072 floppy disk controller 144 145zsc0 at obio0 addr 0xbb000000 # Base address for Z8530 SCC 146zstty0 at zsc0 channel 0 # tty00 147zstty1 at zsc0 channel 1 # tty01 148 149asc0 at obio0 addr 0xb8000000 # onboard NCR 53c94 SCSI controller 150 151scsibus0 at asc0 152 153sd* at scsibus? target ? lun ? # SCSI disks 154st* at scsibus? target ? lun ? # SCSI tapes 155cd* at scsibus? target ? lun ? # SCSI CD-ROMs 156ch* at scsibus? target ? lun ? # SCSI changer devices 157 158pseudo-device loop # loopback interface; required 159pseudo-device pty # pseudo-terminals 160#pseudo-device sl 2 # SLIP interfaces 161#pseudo-device ppp 2 # PPP interfaces 162#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 163pseudo-device tun 4 # Network "tunnel" device 164#pseudo-device gre 2 # generic L3 over IP tunnel 165pseudo-device bpfilter 16 # Berkeley Packet Filter 166#pseudo-device vnd 4 # disk-like interface to files 167#pseudo-device ccd 4 # concatenated and striped disks 168#pseudo-device cgd 4 # cryptographic disks 169#pseudo-device raid 8 # RAIDframe disk driver 170# Options to enable various other RAIDframe RAID types. 171# options RF_INCLUDE_EVENODD=1 172# options RF_INCLUDE_RAID5_RS=1 173# options RF_INCLUDE_PARITYLOGGING=1 174# options RF_INCLUDE_CHAINDECLUSTER=1 175# options RF_INCLUDE_INTERDECLUSTER=1 176# options RF_INCLUDE_PARITY_DECLUSTERING=1 177# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 178#pseudo-device strip 1 # radio clock 179#pseudo-device ipfilter # ip filter 180pseudo-device vlan # IEEE 802.1q encapsulation 181pseudo-device bridge # simple inter-network bridging 182#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 183pseudo-device clockctl # user control of clock subsystem 184 185# random number generator pseudo-device 186pseudo-device rnd # /dev/random and in-kernel generator 187#options RND_COM # use "com" randomness as well (BROKEN) 188pseudo-device ksyms # /dev/ksyms 189#pseudo-device pf # PF packet filter 190#pseudo-device pflog # PF log if 191