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