GENERIC revision 1.51
1# $NetBSD: GENERIC,v 1.51 2002/09/25 11:49:53 martti 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/newsmips/conf/std.newsmips" 22 23options INCLUDE_CONFIG_FILE # embed config file in kernel binary 24 25#ident "GENERIC-$Revision: 1.51 $" 26 27maxusers 16 28 29options news3400 30options news5000 31options MIPS1 # R2000/R3000 support 32options MIPS3 # R4000 support 33options CPU_SINGLE # no I/O processor 34 35# Standard system options 36options KTRACE # system call tracing support 37options SYSVMSG # System V message queues 38options SYSVSEM # System V semaphores 39#options SEMMNI=10 # number of semaphore identifiers 40#options SEMMNS=60 # number of semaphores in system 41#options SEMUME=10 # max number of undo entries per process 42#options SEMMNU=30 # number of undo structures in system 43options SYSVSHM # System V shared memory 44#options SHMMAXPGS=1024 # 1024 pages is the default 45options LKM # loadable kernel modules 46#options NTP # network time protocol 47#options UCONSOLE # users can redirect console (unsafe) 48options USERCONF # userconf(4) support 49#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 50 51# Debugging options 52#options DDB # kernel dynamic debugger 53#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 54#options DEBUG # extra kernel debugging support 55#options DIAGNOSTIC # extra kernel sanity checking 56#options SCSIVERBOSE # Verbose SCSI errors 57 58# Compatibility options 59options COMPAT_43 # compatibility with 4.3BSD binaries 60options COMPAT_10 # NetBSD 1.0 binary compatibility 61options COMPAT_11 # NetBSD 1.1 binary compatibility 62options 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 TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 66#options EXEC_AOUT # exec a.out binaries 67#options EXEC_ECOFF # exec ecoff binaries 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 73file-system NULLFS # NULL layered filesystem 74file-system OVERLAY # overlay file system 75file-system MFS # memory-based filesystem 76file-system FDESC # user file descriptor filesystem 77file-system UMAPFS # uid/gid remapping filesystem 78file-system LFS # Log-based filesystem (still experimental) 79file-system PORTAL # portal filesystem (still experimental) 80file-system PROCFS # /proc 81file-system CD9660 # ISO 9660 + Rock Ridge file system 82file-system UNION # union file system 83file-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 88options SOFTDEP # FFS soft updates support. 89 90# Networking options 91options INET # Internet protocols 92options INET6 # IPV6 93#options IPSEC # IP security 94#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 95#options IPSEC_DEBUG # debug for IP security 96#options GATEWAY # IP packet forwarding 97#options MROUTING # packet forwarding of multicast packets 98options NS # Xerox NS networking 99#options NSIP # Xerox NS tunneling over IP 100#options ISO,TPIP # OSI networking 101#options EON # OSI tunneling over IP 102#options CCITT,LLC,HDLC # X.25 103options NETATALK # AppleTalk (over Ethernet) protocol 104options PPP_BSDCOMP # BSD-Compress compression support for PPP 105options PPP_DEFLATE # Deflate compression support for PPP 106options PPP_FILTER # Active filter support for PPP (requires bpf) 107options PFIL_HOOKS # pfil(9) packet filter hooks 108options IPFILTER_LOG # ipmon(8) log support 109#options IPFILTER_DEFAULT_BLOCK # block all packets by default 110#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 111 112options NFS_BOOT_BOOTPARAM 113 114# wscons options 115options WSEMUL_VT100 # VT100 / VT220 emulation 116options FONT_GALLANT12x22 117 118config netbsd root on ? type ? 119 120mainbus0 at root 121 122cpu0 at mainbus0 123hb0 at mainbus0 # Hyper-bus 124ap0 at mainbus0 # APbus 125 126mkclock0 at hb0 addr 0xbff407f8 # MK48T02 realtime clock 127mkclock0 at ap? 128 129le0 at hb0 addr 0xbff80000 level 1 # built-in LANCE ethernet 130le1 at hb0 addr 0xb8c30000 level 0 131 132sn* at ap? # SONIC Ethernet 133tlp* at ap? 134 135kb0 at hb0 addr 0xbfd00000 level 2 # keyboard 136ms0 at hb0 addr 0xbfd00004 level 2 # mouse 137 138zsc0 at hb0 addr 0xbfec0000 level 1 flags 0x0 # on-board 139zsc1 at hb0 addr 0xb8c40100 level 1 flags 0x1 # expansion board 140zsc2 at hb0 addr 0xb8c40104 level 1 flags 0x1 141zsc0 at ap? 142 143zstty0 at zsc0 channel 0 # tty00 144zstty1 at zsc0 channel 1 # tty01 145zstty2 at zsc1 channel 0 # tty02 146zstty3 at zsc1 channel 1 # tty03 147zstty4 at zsc2 channel 0 # tty04 148zstty5 at zsc2 channel 1 # tty05 149 150fb0 at hb0 addr 0x88000000 # frame buffer 151 152sc0 at hb0 addr 0xbfe00100 level 0 # on-board cxd1185 SCSI controller 153scsibus0 at sc0 154 155dmac* at ap? # dmac3 156spifi* at ap? # SPIFI SCSI 157scsibus* at spifi? 158 159xafb* at ap? 160kb0 at ap? 161ms0 at ap? 162 163sd* at scsibus? target ? lun ? # SCSI disks 164st* at scsibus? target ? lun ? # SCSI tapes 165cd* at scsibus? target ? lun ? # SCSI CD-ROMs 166ch* at scsibus? target ? lun ? # SCSI changer devices 167 168wsdisplay0 at fb? console ? 169wsdisplay0 at xafb? console ? 170wskbd0 at kb? console ? 171wsmouse0 at ms? 172 173pseudo-device loop # loopback interface; required 174pseudo-device pty # pseudo-terminals 175pseudo-device sl 2 # SLIP interfaces 176pseudo-device ppp 2 # PPP interfaces 177pseudo-device pppoe # PPP over Ethernet (RFC 2516) 178pseudo-device tun 4 # Network "tunnel" device 179#pseudo-device gre 2 # generic L3 over IP tunnel 180pseudo-device bpfilter 16 # Berkeley Packet Filter 181pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 182#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 183#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 184pseudo-device vlan # IEEE 802.1q encapsulation 185pseudo-device bridge # simple inter-network bridging 186pseudo-device vnd 4 # disk-like interface to files 187pseudo-device ccd 4 # concatenated and striped disks 188#pseudo-device raid 8 # RAIDframe disk driver 189#options RAID_AUTOCONFIG # auto-configuration of RAID components 190# Options to enable various other RAIDframe RAID types. 191# options RF_INCLUDE_EVENODD=1 192# options RF_INCLUDE_RAID5_RS=1 193# options RF_INCLUDE_PARITYLOGGING=1 194# options RF_INCLUDE_CHAINDECLUSTER=1 195# options RF_INCLUDE_INTERDECLUSTER=1 196# options RF_INCLUDE_PARITY_DECLUSTERING=1 197# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 198#pseudo-device strip 1 # radio clock 199#pseudo-device ipfilter # ip filter 200pseudo-device rnd # /dev/random and in-kernel generator 201pseudo-device clockctl # user control of clock subsystem 202