1 1.79 joerg # $NetBSD: GENERIC,v 1.79 2012/03/10 21:51:54 joerg Exp $ 2 1.1 wdk # 3 1.13 gmcgarry # GENERIC machine description file 4 1.13 gmcgarry # 5 1.13 gmcgarry # This machine description file is used to generate the default NetBSD 6 1.13 gmcgarry # kernel. The generic kernel does not include all options, subsystems 7 1.13 gmcgarry # and device drivers, but should be useful for most applications. 8 1.1 wdk # 9 1.13 gmcgarry # The machine description file can be customised for your specific 10 1.13 gmcgarry # machine to reduce the kernel size and improve its performance. 11 1.13 gmcgarry # 12 1.13 gmcgarry # For further information on compiling NetBSD kernels, see the config(8) 13 1.13 gmcgarry # man page. 14 1.13 gmcgarry # 15 1.13 gmcgarry # For further information on hardware support for this architecture, see 16 1.13 gmcgarry # the intro(4) man page. For further information about kernel options 17 1.13 gmcgarry # for this architecture, see the options(4) man page. For an explanation 18 1.13 gmcgarry # of each device driver in this file see the section 4 man page for the 19 1.13 gmcgarry # device. 20 1.13 gmcgarry 21 1.1 wdk include "arch/mipsco/conf/std.mipsco" 22 1.18 atatat 23 1.18 atatat options INCLUDE_CONFIG_FILE # embed config file in kernel binary 24 1.1 wdk 25 1.1 wdk maxusers 16 26 1.1 wdk 27 1.1 wdk options MIPS1 # R2000/R3000 support 28 1.1 wdk 29 1.1 wdk # Standard system options 30 1.1 wdk options KTRACE # system call tracing support 31 1.1 wdk options SYSVMSG # System V message queues 32 1.1 wdk options SYSVSEM # System V semaphores 33 1.1 wdk options SYSVSHM # System V shared memory 34 1.1 wdk #options NTP # network time protocol 35 1.11 lukem options HZ=25 36 1.20 lukem options USERCONF # userconf(4) support 37 1.16 jdolecek #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 38 1.37 atatat options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 39 1.25 junyoung 40 1.26 wiz # Enable experimental buffer queue strategy for better responsiveness under 41 1.25 junyoung # high disk I/O load. Use it with caution - it's not proven to be stable yet. 42 1.45 tsutsui #options BUFQ_READPRIO 43 1.45 tsutsui #options BUFQ_PRIOCSCAN 44 1.1 wdk 45 1.1 wdk # Debugging options 46 1.1 wdk options DDB # kernel dynamic debugger 47 1.1 wdk options DDB_HISTORY_SIZE=100 # enable history editing in DDB 48 1.1 wdk #options DEBUG # extra kernel debugging support 49 1.53 chs #options DIAGNOSTIC # extra kernel sanity checking 50 1.1 wdk options SCSIVERBOSE # Verbose SCSI errors 51 1.5 wdk 52 1.11 lukem #options KGDB # Remote kernel debug using gdb 53 1.11 lukem #options KGDB_DEV=0x0100 # KGDB port (this is serial0) 54 1.11 lukem #options KGDB_DEVRATE=19200 # KGDB Baud Rate (default=19200) 55 1.5 wdk #makeoptions DEBUG="-g" # Build kernel with debug symbols 56 1.1 wdk 57 1.1 wdk # Compatibility options 58 1.1 wdk options COMPAT_43 # compatibility with 4.3BSD binaries 59 1.1 wdk #options COMPAT_10 # NetBSD 1.0 binary compatibility 60 1.1 wdk #options COMPAT_11 # NetBSD 1.1 binary compatibility 61 1.1 wdk #options COMPAT_12 # NetBSD 1.2 binary compatibility 62 1.1 wdk options COMPAT_13 # NetBSD 1.3 binary compatibility 63 1.1 wdk options COMPAT_14 # NetBSD 1.4 binary compatibility 64 1.63 manu options COMPAT_15 # NetBSD 1.5 binary compatibility 65 1.31 simonb options COMPAT_16 # NetBSD 1.6 binary compatibility 66 1.44 simonb options COMPAT_20 # NetBSD 2.0 binary compatibility 67 1.50 christos options COMPAT_30 # NetBSD 3.0 compatibility. 68 1.69 tsutsui options COMPAT_40 # NetBSD 4.0 compatibility. 69 1.72 mrg options COMPAT_50 # NetBSD 5.0 compatibility. 70 1.1 wdk #options EXEC_AOUT # exec a.out binaries 71 1.1 wdk #options EXEC_ECOFF # exec ecoff binaries 72 1.7 abs #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 73 1.39 christos options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 74 1.1 wdk 75 1.1 wdk # Filesystem options 76 1.1 wdk file-system FFS # Berkeley Fast Filesystem 77 1.1 wdk file-system NFS # Sun NFS-compatible filesystem client 78 1.1 wdk file-system KERNFS # kernel data-structure filesystem 79 1.1 wdk #file-system NULLFS # NULL layered filesystem 80 1.1 wdk #file-system MFS # memory-based filesystem 81 1.1 wdk #file-system FDESC # user file descriptor filesystem 82 1.1 wdk #file-system UMAPFS # uid/gid remapping filesystem 83 1.1 wdk #file-system LFS # Log-based filesystem (still experimental) 84 1.1 wdk file-system PROCFS # /proc 85 1.1 wdk file-system CD9660 # ISO 9660 + Rock Ridge file system 86 1.1 wdk #file-system UNION # union file system 87 1.1 wdk #file-system MSDOSFS # MS-DOS FAT filesystem(s). 88 1.51 christos file-system PTYFS # /dev/pts/N support 89 1.75 chs file-system TMPFS # Efficient memory file-system 90 1.56 reinoud #file-system UDF # experimental - OSTA UDF CD/DVD file-system 91 1.1 wdk # 92 1.1 wdk options NFSSERVER # Sun NFS-compatible filesystem server 93 1.76 bouyer options QUOTA # legacy UFS quotas 94 1.76 bouyer options QUOTA2 # new, in-filesystem UFS quotas 95 1.77 wiz #options FFS_EI # FFS Endian Independent support 96 1.54 tsutsui #options FFS_NO_SNAPSHOT # No FFS snapshot support 97 1.1 wdk 98 1.1 wdk # Networking options 99 1.1 wdk options INET # Internet protocols 100 1.1 wdk #options GATEWAY # IP packet forwarding 101 1.1 wdk #options MROUTING # packet forwarding of multicast packets 102 1.38 manu #options PIM # Protocol Independent Multicast 103 1.1 wdk #options ISO,TPIP # OSI networking 104 1.1 wdk #options EON # OSI tunneling over IP 105 1.1 wdk #options NETATALK # AppleTalk (over Ethernet) protocol 106 1.1 wdk #options PPP_BSDCOMP # BSD-Compress compression support for PPP 107 1.1 wdk #options PPP_DEFLATE # Deflate compression support for PPP 108 1.1 wdk #options PPP_FILTER # Active filter support for PPP (requires bpf) 109 1.1 wdk #options PFIL_HOOKS # pfil(9) packet filter hooks 110 1.1 wdk #options IPFILTER_LOG # ipmon(8) log support 111 1.62 christos #options IPFILTER_LOOKUP # ippool(8) support 112 1.22 martti #options IPFILTER_DEFAULT_BLOCK # block all packets by default 113 1.7 abs #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 114 1.1 wdk 115 1.35 abs #options ALTQ # Manipulate network interfaces' output queues 116 1.35 abs #options ALTQ_BLUE # Stochastic Fair Blue 117 1.35 abs #options ALTQ_CBQ # Class-Based Queueing 118 1.35 abs #options ALTQ_CDNR # Diffserv Traffic Conditioner 119 1.35 abs #options ALTQ_FIFOQ # First-In First-Out Queue 120 1.35 abs #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 121 1.35 abs #options ALTQ_HFSC # Hierarchical Fair Service Curve 122 1.35 abs #options ALTQ_LOCALQ # Local queueing discipline 123 1.35 abs #options ALTQ_PRIQ # Priority Queueing 124 1.35 abs #options ALTQ_RED # Random Early Detection 125 1.35 abs #options ALTQ_RIO # RED with IN/OUT 126 1.35 abs #options ALTQ_WFQ # Weighted Fair Queueing 127 1.35 abs 128 1.1 wdk config netbsd root on ? type ? 129 1.1 wdk 130 1.1 wdk mainbus0 at root 131 1.1 wdk 132 1.1 wdk cpu0 at mainbus0 133 1.1 wdk obio0 at mainbus0 134 1.1 wdk 135 1.1 wdk mkclock0 at obio0 addr 0xbd000000 # MK48T02 realtime clock 136 1.1 wdk 137 1.30 wiz rambo0 at obio0 addr 0xbc000000 # RAMBO DMA & timer asic 138 1.1 wdk 139 1.1 wdk le0 at obio0 addr 0xba000000 # onboard LANCE ethernet 140 1.1 wdk 141 1.1 wdk # Not currently implemented 142 1.1 wdk #kb0 at obio0 addr 0xbfd00000 # keyboard 143 1.1 wdk #fb0 at obio0 addr 0x88000000 # framebuffer 144 1.1 wdk 145 1.1 wdk fd0 at obio0 addr 0xbe000000 # i82072 floppy disk controller 146 1.1 wdk 147 1.1 wdk zsc0 at obio0 addr 0xbb000000 # Base address for Z8530 SCC 148 1.1 wdk zstty0 at zsc0 channel 0 # tty00 149 1.1 wdk zstty1 at zsc0 channel 1 # tty01 150 1.1 wdk 151 1.1 wdk asc0 at obio0 addr 0xb8000000 # onboard NCR 53c94 SCSI controller 152 1.1 wdk 153 1.1 wdk scsibus0 at asc0 154 1.1 wdk 155 1.1 wdk sd* at scsibus? target ? lun ? # SCSI disks 156 1.1 wdk st* at scsibus? target ? lun ? # SCSI tapes 157 1.1 wdk cd* at scsibus? target ? lun ? # SCSI CD-ROMs 158 1.1 wdk ch* at scsibus? target ? lun ? # SCSI changer devices 159 1.1 wdk 160 1.70 tls # 161 1.70 tls # accept filters 162 1.70 tls pseudo-device accf_data # "dataready" accept filter 163 1.70 tls pseudo-device accf_http # "httpready" accept filter 164 1.70 tls 165 1.1 wdk pseudo-device loop # loopback interface; required 166 1.2 jdolecek pseudo-device pty # pseudo-terminals 167 1.58 cube #pseudo-device sl # SLIP interfaces 168 1.58 cube #pseudo-device ppp # PPP interfaces 169 1.14 martin #pseudo-device pppoe # PPP over Ethernet (RFC 2516) 170 1.58 cube pseudo-device tun # Network "tunnel" device 171 1.40 cube pseudo-device tap # virtual Ethernet 172 1.58 cube #pseudo-device gre # generic L3 over IP tunnel 173 1.57 rpaulo pseudo-device bpfilter # Berkeley Packet Filter 174 1.59 liamjfoy #pseudo-device carp # Common Address Redundancy Protocol 175 1.58 cube #pseudo-device vnd # disk-like interface to files 176 1.47 hubertf #options VND_COMPRESSION # compressed vnd(4) 177 1.1 wdk #pseudo-device ccd 4 # concatenated and striped disks 178 1.24 elric #pseudo-device cgd 4 # cryptographic disks 179 1.15 oster #pseudo-device raid 8 # RAIDframe disk driver 180 1.15 oster # Options to enable various other RAIDframe RAID types. 181 1.15 oster # options RF_INCLUDE_EVENODD=1 182 1.15 oster # options RF_INCLUDE_RAID5_RS=1 183 1.15 oster # options RF_INCLUDE_PARITYLOGGING=1 184 1.15 oster # options RF_INCLUDE_CHAINDECLUSTER=1 185 1.15 oster # options RF_INCLUDE_INTERDECLUSTER=1 186 1.15 oster # options RF_INCLUDE_PARITY_DECLUSTERING=1 187 1.15 oster # options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 188 1.74 pooka pseudo-device fss # file system snapshot device 189 1.58 cube #pseudo-device strip # radio clock 190 1.1 wdk #pseudo-device ipfilter # ip filter 191 1.4 bouyer pseudo-device vlan # IEEE 802.1q encapsulation 192 1.12 atatat pseudo-device bridge # simple inter-network bridging 193 1.27 perseant #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 194 1.65 martin pseudo-device agr # IEEE 802.3ad link aggregation 195 1.19 lukem pseudo-device clockctl # user control of clock subsystem 196 1.3 itojun 197 1.3 itojun # random number generator pseudo-device 198 1.3 itojun #options RND_COM # use "com" randomness as well (BROKEN) 199 1.29 ragge pseudo-device ksyms # /dev/ksyms 200 1.34 itojun #pseudo-device pf # PF packet filter 201 1.34 itojun #pseudo-device pflog # PF log if 202 1.55 elad 203 1.55 elad # Veriexec 204 1.55 elad # 205 1.55 elad # a pseudo device needed for veriexec 206 1.55 elad #pseudo-device veriexec 1 207 1.55 elad # 208 1.55 elad # Uncomment the fingerprint methods below that are desired. Note that 209 1.55 elad # removing fingerprint methods will have almost no impact on the kernel 210 1.55 elad # code size. 211 1.55 elad # 212 1.55 elad #options VERIFIED_EXEC_FP_RMD160 213 1.55 elad #options VERIFIED_EXEC_FP_SHA256 214 1.55 elad #options VERIFIED_EXEC_FP_SHA384 215 1.55 elad #options VERIFIED_EXEC_FP_SHA512 216 1.55 elad #options VERIFIED_EXEC_FP_SHA1 217 1.55 elad #options VERIFIED_EXEC_FP_MD5 218