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