GENERIC revision 1.24
1# $NetBSD: GENERIC,v 1.24 2002/10/14 18:39:34 elric 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 40#options LKM # loadable kernel modules 41#options NTP # network time protocol 42#options UCONSOLE # users can redirect console (unsafe) 43options HZ=25 44options USERCONF # userconf(4) support 45#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 46 47# Debugging options 48options DDB # kernel dynamic debugger 49options DDB_HISTORY_SIZE=100 # enable history editing in DDB 50#options DEBUG # extra kernel debugging support 51options DIAGNOSTIC # extra kernel sanity checking 52options SCSIVERBOSE # Verbose SCSI errors 53 54#options KGDB # Remote kernel debug using gdb 55#options KGDB_DEV=0x0100 # KGDB port (this is serial0) 56#options KGDB_DEVRATE=19200 # KGDB Baud Rate (default=19200) 57#makeoptions DEBUG="-g" # Build kernel with debug symbols 58 59# Compatibility options 60options COMPAT_43 # compatibility with 4.3BSD binaries 61#options COMPAT_10 # NetBSD 1.0 binary compatibility 62#options COMPAT_11 # NetBSD 1.1 binary compatibility 63#options COMPAT_12 # NetBSD 1.2 binary compatibility 64options COMPAT_13 # NetBSD 1.3 binary compatibility 65options COMPAT_14 # NetBSD 1.4 binary compatibility 66#options EXEC_AOUT # exec a.out binaries 67#options EXEC_ECOFF # exec ecoff binaries 68#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 69 70# Filesystem options 71file-system FFS # Berkeley Fast Filesystem 72file-system NFS # Sun NFS-compatible filesystem client 73file-system KERNFS # kernel data-structure filesystem 74#file-system NULLFS # NULL layered filesystem 75#file-system MFS # memory-based filesystem 76#file-system FDESC # user file descriptor filesystem 77#file-system UMAPFS # uid/gid remapping filesystem 78#file-system LFS # Log-based filesystem (still experimental) 79#file-system PORTAL # portal filesystem (still experimental) 80file-system PROCFS # /proc 81file-system CD9660 # ISO 9660 + Rock Ridge file system 82#file-system UNION # union file system 83#file-system MSDOSFS # MS-DOS FAT filesystem(s). 84# 85options NFSSERVER # Sun NFS-compatible filesystem server 86options QUOTA # FFS quotas 87#options FFS_EI # FFS Endian Independant support 88 89# Networking options 90options INET # Internet protocols 91#options GATEWAY # IP packet forwarding 92#options MROUTING # packet forwarding of multicast packets 93#options NS # Xerox NS networking 94#options NSIP # Xerox NS tunneling over IP 95#options ISO,TPIP # OSI networking 96#options EON # OSI tunneling over IP 97#options CCITT,LLC,HDLC # X.25 98#options NETATALK # AppleTalk (over Ethernet) protocol 99#options PPP_BSDCOMP # BSD-Compress compression support for PPP 100#options PPP_DEFLATE # Deflate compression support for PPP 101#options PPP_FILTER # Active filter support for PPP (requires bpf) 102#options PFIL_HOOKS # pfil(9) packet filter hooks 103#options IPFILTER_LOG # ipmon(8) log support 104#options IPFILTER_DEFAULT_BLOCK # block all packets by default 105#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 106 107config netbsd root on ? type ? 108 109mainbus0 at root 110 111cpu0 at mainbus0 112obio0 at mainbus0 113 114mkclock0 at obio0 addr 0xbd000000 # MK48T02 realtime clock 115 116rambo0 at obio0 addr 0xbc000000 # RAMBO dma & timer asic 117 118le0 at obio0 addr 0xba000000 # onboard LANCE ethernet 119 120# Not currently implemented 121#kb0 at obio0 addr 0xbfd00000 # keyboard 122#fb0 at obio0 addr 0x88000000 # framebuffer 123 124fd0 at obio0 addr 0xbe000000 # i82072 floppy disk controller 125 126zsc0 at obio0 addr 0xbb000000 # Base address for Z8530 SCC 127zstty0 at zsc0 channel 0 # tty00 128zstty1 at zsc0 channel 1 # tty01 129 130asc0 at obio0 addr 0xb8000000 # onboard NCR 53c94 SCSI controller 131 132scsibus0 at asc0 133 134sd* at scsibus? target ? lun ? # SCSI disks 135st* at scsibus? target ? lun ? # SCSI tapes 136cd* at scsibus? target ? lun ? # SCSI CD-ROMs 137ch* at scsibus? target ? lun ? # SCSI changer devices 138 139pseudo-device loop # loopback interface; required 140pseudo-device pty # pseudo-terminals 141#pseudo-device sl 2 # SLIP interfaces 142#pseudo-device ppp 2 # PPP interfaces 143#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 144pseudo-device tun 4 # Network "tunnel" device 145#pseudo-device gre 2 # generic L3 over IP tunnel 146pseudo-device bpfilter 16 # Berkeley Packet Filter 147#pseudo-device vnd 4 # disk-like interface to files 148#pseudo-device ccd 4 # concatenated and striped disks 149#pseudo-device cgd 4 # cryptographic disks 150#pseudo-device raid 8 # RAIDframe disk driver 151# Options to enable various other RAIDframe RAID types. 152# options RF_INCLUDE_EVENODD=1 153# options RF_INCLUDE_RAID5_RS=1 154# options RF_INCLUDE_PARITYLOGGING=1 155# options RF_INCLUDE_CHAINDECLUSTER=1 156# options RF_INCLUDE_INTERDECLUSTER=1 157# options RF_INCLUDE_PARITY_DECLUSTERING=1 158# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 159#pseudo-device strip 1 # radio clock 160#pseudo-device ipfilter # ip filter 161pseudo-device vlan # IEEE 802.1q encapsulation 162pseudo-device bridge # simple inter-network bridging 163pseudo-device clockctl # user control of clock subsystem 164 165# random number generator pseudo-device 166pseudo-device rnd # /dev/random and in-kernel generator 167#options RND_COM # use "com" randomness as well (BROKEN) 168