GDIUM revision 1.27.6.1 1 1.27.6.1 martin # $NetBSD: GDIUM,v 1.27.6.1 2019/01/07 13:46:57 martin Exp $
2 1.1 matt #
3 1.1 matt # GENERIC machine description file
4 1.1 matt #
5 1.1 matt # This machine description file is used to generate the default NetBSD
6 1.1 matt # kernel. The generic kernel does not include all options, subsystems
7 1.1 matt # and device drivers, but should be useful for most applications.
8 1.1 matt #
9 1.1 matt # The machine description file can be customised for your specific
10 1.1 matt # machine to reduce the kernel size and improve its performance.
11 1.1 matt #
12 1.1 matt # For further information on compiling NetBSD kernels, see the config(8)
13 1.1 matt # man page.
14 1.1 matt #
15 1.1 matt # For further information on hardware support for this architecture, see
16 1.1 matt # the intro(4) man page. For further information about kernel options
17 1.1 matt # for this architecture, see the options(4) man page. For an explanation
18 1.1 matt # of each device driver in this file see the section 4 man page for the
19 1.1 matt # device.
20 1.1 matt
21 1.1 matt include "arch/evbmips/conf/std.gdium"
22 1.1 matt
23 1.1 matt options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24 1.1 matt
25 1.27.6.1 martin #ident "GDIUM-$Revision: 1.27.6.1 $"
26 1.1 matt
27 1.1 matt maxusers 16
28 1.1 matt
29 1.1 matt makeoptions CPUFLAGS="-mips3 -mdivide-breaks" # CPU codegen options
30 1.1 matt options LOONGSON2 # IDT LOONGSON2
31 1.1 matt # Standard system options
32 1.1 matt options DDB # in-kernel debugger
33 1.1 matt #options DDB_ONPANIC=0 # don't enter debugger on panic
34 1.1 matt options DDB_HISTORY_SIZE=512 # enable history editing in DDB
35 1.1 matt #options KGDB # remote debugger
36 1.5 matt options DIAGNOSTIC # extra kernel debugging checks
37 1.1 matt #options DEBUG # extra kernel debugging support
38 1.4 matt makeoptions DEBUG="-g"
39 1.1 matt options KTRACE # system call tracing support
40 1.1 matt options MSGBUFSIZE=8192 # dmesg buffer size
41 1.1 matt
42 1.1 matt ## UVM options.
43 1.1 matt #options UVM_PAGE_TRKOWN
44 1.1 matt #options UVMHIST
45 1.1 matt #options UVMHIST_PRINT # Loud!
46 1.1 matt
47 1.1 matt #options SCSIVERBOSE # human readable SCSI error messages
48 1.1 matt #options PCMCIAVERBOSE # verbose PCMCIA configuration messages
49 1.1 matt #options PCMCIADEBUG
50 1.1 matt #options PCMCIACISDEBUG
51 1.1 matt
52 1.1 matt #options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
53 1.1 matt #options RTC_OFFSET=-540 # JST-9
54 1.1 matt #options RTC_OFFSET=480 # PST8
55 1.1 matt # In NO RTC_OFFSET , inherit RTC_OFFSET
56 1.1 matt # from Windows CE.
57 1.1 matt options NTP # network time protocol
58 1.1 matt
59 1.1 matt #options WINCE_DEFAULT_SETTING # Debugging use
60 1.1 matt
61 1.1 matt #options SYSCALL_DEBUG # for debug
62 1.1 matt #options HPCMIPS_L1CACHE_DISABLE # disable L1 cache for debug
63 1.1 matt options USERCONF # userconf(4) support
64 1.1 matt #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
65 1.1 matt options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
66 1.1 matt
67 1.1 matt # Filesystem options
68 1.1 matt file-system FFS # fast filesystem with user and group quotas
69 1.1 matt file-system MFS # memory-based filesystem
70 1.1 matt file-system NFS # Sun NFS-compatible filesystem (client)
71 1.1 matt #file-system LFS # Log-based filesystem (still experimental)
72 1.1 matt file-system CD9660 # ISO 9660 + Rock Ridge file system
73 1.1 matt file-system MSDOSFS # MS-DOS file system
74 1.1 matt #file-system FDESC # /dev/fd
75 1.1 matt file-system KERNFS # /kern (kernel informational filesystem)
76 1.1 matt #file-system NULLFS # loopback file system
77 1.1 matt #file-system OVERLAY # overlay file system
78 1.1 matt file-system PROCFS # /proc
79 1.1 matt #file-system UMAPFS # NULLFS + uid and gid remapping
80 1.1 matt file-system UNION
81 1.1 matt file-system PTYFS # /dev/pts/N support
82 1.1 matt #file-system TMPFS # Efficient memory file-system
83 1.1 matt #file-system UDF # experimental - OSTA UDF CD/DVD file-system
84 1.1 matt
85 1.1 matt options NFSSERVER # Sun NFS-compatible filesystem (server)
86 1.15 dholland options WAPBL # File system journaling support
87 1.1 matt #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
88 1.12 bouyer #options QUOTA # legacy UFS quotas
89 1.12 bouyer #options QUOTA2 # new, in-filesystem UFS quotas
90 1.27 rin #options DISKLABEL_EI # disklabel Endian Independent support
91 1.27 rin #options FFS_EI # FFS Endian Independent support
92 1.1 matt #options FFS_NO_SNAPSHOT # No FFS snapshot support
93 1.1 matt
94 1.27.6.1 martin # Alternate buffer queue strategies for better responsiveness under high
95 1.27.6.1 martin # disk I/O load.
96 1.27.6.1 martin #options BUFQ_READPRIO
97 1.27.6.1 martin options BUFQ_PRIOCSCAN
98 1.27.6.1 martin
99 1.1 matt # Networking options
100 1.1 matt #options GATEWAY # IP packet forwarding
101 1.1 matt options INET # IP + ICMP + TCP + UDP
102 1.1 matt options INET6 # IPV6
103 1.1 matt #options IPSEC # IP security
104 1.1 matt #options IPSEC_DEBUG # debug for IP security
105 1.1 matt #options MROUTING # Multicast routing support
106 1.1 matt #options PIM # Protocol Independent Multicast
107 1.10 mrg options IPFILTER_LOG # ipmon(8) log support
108 1.10 mrg options IPFILTER_LOOKUP # ippool(8) support
109 1.10 mrg options IPFILTER_COMPAT # Compat for IP-Filter
110 1.10 mrg #options IPFILTER_DEFAULT_BLOCK # block all packets by default
111 1.1 matt
112 1.24 alnsn # JIT compiler for bpfilter
113 1.24 alnsn #options SLJIT
114 1.24 alnsn #options BPFJIT
115 1.24 alnsn
116 1.1 matt #options ALTQ # Manipulate network interfaces' output queues
117 1.1 matt #options ALTQ_BLUE # Stochastic Fair Blue
118 1.1 matt #options ALTQ_CBQ # Class-Based Queueing
119 1.1 matt #options ALTQ_CDNR # Diffserv Traffic Conditioner
120 1.1 matt #options ALTQ_FIFOQ # First-In First-Out Queue
121 1.1 matt #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
122 1.1 matt #options ALTQ_HFSC # Hierarchical Fair Service Curve
123 1.1 matt #options ALTQ_LOCALQ # Local queueing discipline
124 1.1 matt #options ALTQ_PRIQ # Priority Queueing
125 1.1 matt #options ALTQ_RED # Random Early Detection
126 1.1 matt #options ALTQ_RIO # RED with IN/OUT
127 1.1 matt #options ALTQ_WFQ # Weighted Fair Queueing
128 1.1 matt
129 1.1 matt # NetBSD backwards compatibility
130 1.26 dholland options COMPAT_43 # 4.3BSD binary compatibility.
131 1.26 dholland options COMPAT_16 # NetBSD 1.6,
132 1.26 dholland options COMPAT_20 # NetBSD 2.0,
133 1.26 dholland options COMPAT_30 # NetBSD 3.0,
134 1.26 dholland options COMPAT_40 # NetBSD 4.0,
135 1.26 dholland options COMPAT_50 # NetBSD 5.0,
136 1.26 dholland options COMPAT_60 # NetBSD 6.0, and
137 1.26 dholland options COMPAT_70 # NetBSD 7.0 binary compatibility.
138 1.1 matt options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
139 1.1 matt
140 1.1 matt
141 1.1 matt #options NFS_BOOT_DHCP
142 1.1 matt options NFS_BOOT_BOOTP
143 1.1 matt #options NFS_BOOT_BOOTPARAM
144 1.1 matt
145 1.1 matt # compile options
146 1.1 matt #makeoptions DEFGP="-G 10"
147 1.1 matt
148 1.1 matt config netbsd root on ? type ?
149 1.1 matt
150 1.1 matt # WS console uses SUN or VT100 terminal emulation
151 1.1 matt options WSEMUL_VT100
152 1.16 abs options WSDISPLAY_COMPAT_USL # wsconscfg VT handling
153 1.1 matt #options WSDISPLAY_DEFAULTSCREENS=4
154 1.1 matt options FONT_GALLANT12x22
155 1.1 matt # compatibility to other console drivers
156 1.1 matt options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
157 1.1 matt #
158 1.1 matt # Hpckbd will set key board layout appropriately. You can use option
159 1.1 matt # 'PCKBD_LAYOUT' to overrite the default layout.
160 1.1 matt #
161 1.1 matt #options PCKBD_LAYOUT="(KB_US | KB_SWAPCTRLCAPS | KB_MACHDEP)"
162 1.1 matt
163 1.1 matt mainbus0 at root
164 1.5 matt cpu0 at mainbus0
165 1.1 matt bonito0 at mainbus0
166 1.1 matt pci0 at bonito0
167 1.13 macallan voyager0 at pci0 dev ? function ?
168 1.13 macallan voyagerfb0 at voyager0
169 1.13 macallan iic* at voyager0
170 1.13 macallan strtc* at iic? addr 0x68
171 1.13 macallan options STRTC_NO_USERRAM
172 1.13 macallan lmtemp* at iic? addr 0x48
173 1.13 macallan #stvii* at iic? addr 0x40
174 1.6 macallan #genfb0 at pci0 dev ? function ?
175 1.6 macallan wsdisplay0 at wsemuldisplaydev?
176 1.1 matt ehci* at pci0 dev ? function ?
177 1.5 matt #options EHCI_DEBUG
178 1.1 matt ohci* at pci0 dev ? function ?
179 1.1 matt #options OHCI_DEBUG, USB_DEBUG, UHUB_DEBUG
180 1.1 matt
181 1.3 matt ral* at pci0 dev ? function ? # RL2561S 802.11b/g
182 1.3 matt rtk* at pci0 dev ? function ? # RTL8139 100/10 Ethernet
183 1.1 matt # MII/PHY support
184 1.1 matt ukphy* at mii? phy ? # generic unknown PHYs
185 1.1 matt
186 1.1 matt # USB Hubs
187 1.1 matt usb* at ehci?
188 1.1 matt usb* at ohci?
189 1.1 matt uhub* at usb?
190 1.1 matt uhub* at uhub? port ?
191 1.1 matt
192 1.1 matt # USB HID device
193 1.1 matt uhidev* at uhub? port ? configuration ? interface ?
194 1.1 matt
195 1.1 matt # USB Mice
196 1.1 matt ums* at uhidev? reportid ?
197 1.1 matt wsmouse* at ums? mux 0
198 1.1 matt
199 1.1 matt # USB Keyboards
200 1.1 matt ukbd* at uhidev? reportid ?
201 1.1 matt wskbd* at ukbd? console ? mux 1
202 1.1 matt
203 1.1 matt # USB Generic HID devices
204 1.1 matt uhid* at uhidev? reportid ?
205 1.1 matt
206 1.1 matt # USB serial adapter
207 1.1 matt uftdi* at uhub? port ? configuration ?
208 1.1 matt
209 1.1 matt # USB Printer
210 1.1 matt ulpt* at uhub? port ? configuration ? interface ?
211 1.1 matt
212 1.1 matt # USB Modem
213 1.1 matt umodem* at uhub? port ? configuration ?
214 1.1 matt ucom* at umodem?
215 1.1 matt
216 1.8 plunky # Option N.V. Wireless WAN modems
217 1.8 plunky uhso* at uhub? port ? configuration ?
218 1.8 plunky
219 1.1 matt # USB Mass Storage
220 1.1 matt umass* at uhub? port ? configuration ? interface ?
221 1.1 matt scsibus* at umass? channel ?
222 1.1 matt sd* at scsibus? target ? lun ? # SCSI disk drives
223 1.1 matt cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
224 1.1 matt
225 1.1 matt # FTDI FT8U100AX serial adapter
226 1.1 matt uftdi* at uhub? port ?
227 1.1 matt ucom* at uftdi? portno ?
228 1.1 matt
229 1.1 matt uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter
230 1.1 matt ucom* at uplcom? portno ?
231 1.1 matt
232 1.1 matt umct* at uhub? port ? # MCT USB-RS232 serial adapter
233 1.1 matt ucom* at umct? portno ?
234 1.1 matt
235 1.1 matt # USB Generic driver
236 1.1 matt ugen* at uhub? port ?
237 1.1 matt
238 1.1 matt #
239 1.1 matt # accept filters
240 1.1 matt pseudo-device accf_data # "dataready" accept filter
241 1.1 matt pseudo-device accf_http # "httpready" accept filter
242 1.1 matt
243 1.20 christos pseudo-device loop # network loopback
244 1.1 matt pseudo-device ppp # serial-line IP ports
245 1.1 matt pseudo-device pppoe # PPP over Ethernet (RFC 2516)
246 1.1 matt pseudo-device pty # pseudo-terminals
247 1.1 matt pseudo-device bpfilter # packet filter ports
248 1.1 matt #pseudo-device carp # Common Address Redundancy Protocol
249 1.1 matt pseudo-device ipfilter # IP filter, NAT
250 1.1 matt
251 1.1 matt pseudo-device vnd # virtual disk ick
252 1.1 matt #options VND_COMPRESSION # compressed vnd(4)
253 1.20 christos #pseudo-device ccd # concatenated disks
254 1.9 pooka pseudo-device fss # file system snapshot device
255 1.20 christos #pseudo-device cgd # cryptographic disks
256 1.1 matt pseudo-device clockctl # user control of clock subsystem
257 1.1 matt
258 1.1 matt pseudo-device wsmux # mouse & keyboard multiplexor
259 1.11 hannken #pseudo-device md # memory disk device (ramdisk)
260 1.1 matt
261 1.21 christos #pseudo-device raid # RAIDframe disk driver
262 1.1 matt #options RAID_AUTOCONFIG # auto-configuration of RAID components
263 1.1 matt # Options to enable various other RAIDframe RAID types.
264 1.1 matt # options RF_INCLUDE_EVENODD=1
265 1.1 matt # options RF_INCLUDE_RAID5_RS=1
266 1.1 matt # options RF_INCLUDE_PARITYLOGGING=1
267 1.1 matt # options RF_INCLUDE_CHAINDECLUSTER=1
268 1.1 matt # options RF_INCLUDE_INTERDECLUSTER=1
269 1.1 matt # options RF_INCLUDE_PARITY_DECLUSTERING=1
270 1.1 matt # options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
271 1.1 matt
272 1.1 matt # for IPv6
273 1.1 matt pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
274 1.1 matt #pseudo-device faith # IPv[46] tcp relay translation i/f
275 1.1 matt pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
276 1.1 matt
277 1.1 matt ## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
278 1.1 matt pseudo-device vlan
279 1.1 matt
280 1.1 matt ## Simple inter-network traffic bridging
281 1.1 matt pseudo-device bridge
282 1.1 matt #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
283 1.1 matt pseudo-device agr # IEEE 802.3ad link aggregation
284 1.1 matt pseudo-device ksyms # /dev/ksyms
285 1.1 matt #pseudo-device pf # PF packet filter
286 1.1 matt #pseudo-device pflog # PF log if
287 1.1 matt
288 1.1 matt # Veriexec
289 1.1 matt #
290 1.1 matt # a pseudo device needed for veriexec
291 1.21 christos #pseudo-device veriexec
292 1.1 matt #
293 1.1 matt # Uncomment the fingerprint methods below that are desired. Note that
294 1.1 matt # removing fingerprint methods will have almost no impact on the kernel
295 1.1 matt # code size.
296 1.1 matt #
297 1.1 matt #options VERIFIED_EXEC_FP_RMD160
298 1.1 matt #options VERIFIED_EXEC_FP_SHA256
299 1.1 matt #options VERIFIED_EXEC_FP_SHA384
300 1.1 matt #options VERIFIED_EXEC_FP_SHA512
301 1.1 matt #options VERIFIED_EXEC_FP_SHA1
302 1.1 matt #options VERIFIED_EXEC_FP_MD5
303