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