GENERIC64 revision 1.7 1 1.7 wiz # $NetBSD: GENERIC64,v 1.7 2011/06/30 20:09:34 wiz Exp $
2 1.2 matt #
3 1.2 matt # GENERIC machine description file
4 1.2 matt #
5 1.2 matt # This machine description file is used to generate the default NetBSD
6 1.2 matt # kernel. The generic kernel does not include all options, subsystems
7 1.2 matt # and device drivers, but should be useful for most applications.
8 1.2 matt #
9 1.2 matt # The machine description file can be customised for your specific
10 1.2 matt # machine to reduce the kernel size and improve its performance.
11 1.2 matt #
12 1.2 matt # For further information on compiling NetBSD kernels, see the config(8)
13 1.2 matt # man page.
14 1.2 matt #
15 1.2 matt # For further information on hardware support for this architecture, see
16 1.2 matt # the intro(4) man page. For further information about kernel options
17 1.2 matt # for this architecture, see the options(4) man page. For an explanation
18 1.2 matt # of each device driver in this file see the section 4 man page for the
19 1.2 matt # device.
20 1.2 matt
21 1.2 matt include "arch/pmax/conf/std.pmax64"
22 1.2 matt
23 1.2 matt options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24 1.2 matt
25 1.7 wiz #ident "GENERIC-$Revision: 1.7 $"
26 1.2 matt
27 1.2 matt maxusers 64
28 1.2 matt
29 1.2 matt options MIPS3 # R4000/R4400 CPUs
30 1.2 matt
31 1.2 matt # Support for specific models of DECstation
32 1.5 matt options DEC_3MAX # DECstation 5000/200 (kn02)
33 1.2 matt options DEC_3MIN # DECstation 5000/1xx (kn02ba), 5000/150 (kn04)
34 1.2 matt options DEC_MAXINE # Personal DECstation 5000/xx (kn02ca)
35 1.2 matt options DEC_3MAXPLUS # DECstation 5000/240 (kn03), 5000/260 (kn05)
36 1.2 matt
37 1.2 matt # Standard system options
38 1.2 matt options DDB # in-kernel debugger
39 1.2 matt #options DDB_HISTORY_SIZE=100 # enable history editing in DDB
40 1.2 matt options DDB_ONPANIC=0 # don't enter debugger on panic
41 1.2 matt #options DIAGNOSTIC # extra kernel debugging checks
42 1.2 matt #options DEBUG # extra kernel debugging support
43 1.2 matt options COMPAT_43 # compatibility with 4.3BSD binaries
44 1.2 matt options KTRACE # system call tracing support
45 1.2 matt
46 1.2 matt options SYSVMSG # System V-like message queues
47 1.2 matt options SYSVSEM # System V-like semaphores
48 1.2 matt options SYSVSHM # System V-like memory sharing
49 1.2 matt options P1003_1B_SEMAPHORE # p1003.1b semaphore support
50 1.2 matt
51 1.2 matt options LKM # loadable kernel modules
52 1.2 matt
53 1.2 matt options USERCONF # userconf(4) support
54 1.2 matt #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
55 1.2 matt options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
56 1.2 matt
57 1.2 matt # Enable experimental buffer queue strategy for better responsiveness under
58 1.2 matt # high disk I/O load. Use it with caution - it's not proven to be stable yet.
59 1.2 matt #options BUFQ_READPRIO
60 1.2 matt #options BUFQ_PRIOCSCAN
61 1.2 matt
62 1.2 matt #options SCSIVERBOSE # Verbose SCSI errors
63 1.2 matt #options TCVERBOSE # recognize "unknown" TC devices
64 1.2 matt
65 1.2 matt # Old 4.4BSD/pmax kgdb options
66 1.2 matt #options KGDB # support for kernel gdb
67 1.2 matt #options KGDB_DEVRATE=19200 # kernel gdb port rate (default 9600)
68 1.2 matt #options KGDB_DEV="15*256+0" # device for kernel gdb
69 1.2 matt
70 1.2 matt options NTP # network time protocol
71 1.2 matt
72 1.2 matt
73 1.2 matt # Filesystem options
74 1.2 matt file-system FFS # fast filesystem with user and group quotas
75 1.2 matt file-system MFS # memory-based filesystem
76 1.2 matt file-system NFS # Sun NFS-compatible filesystem (client)
77 1.2 matt file-system LFS # Log-based filesystem (still experimental)
78 1.2 matt file-system CD9660 # ISO 9660 + Rock Ridge file system
79 1.2 matt file-system FDESC # /dev/fd
80 1.2 matt file-system KERNFS # /kern (kernel informational filesystem)
81 1.2 matt file-system NULLFS # loopback file system
82 1.2 matt file-system OVERLAY # overlay file system
83 1.2 matt file-system PROCFS # /proc
84 1.2 matt file-system UMAPFS # NULLFS + uid and gid remapping
85 1.2 matt file-system UNION
86 1.2 matt file-system PTYFS # /dev/pts/N support
87 1.4 chs file-system TMPFS # Efficient memory file-system
88 1.2 matt #file-system UDF # experimental - OSTA UDF CD/DVD file-system
89 1.2 matt
90 1.2 matt options NFSSERVER # Sun NFS-compatible filesystem (server)
91 1.6 bouyer options QUOTA # legacy UFS quotas
92 1.6 bouyer options QUOTA2 # new, in-filesystem UFS quotas
93 1.7 wiz #options FFS_EI # FFS Endian Independent support
94 1.2 matt options SOFTDEP # FFS soft updates support.
95 1.2 matt options WAPBL # File system journaling support - Experimental
96 1.2 matt #options FFS_NO_SNAPSHOT # No FFS snapshot support
97 1.2 matt #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
98 1.2 matt
99 1.2 matt # Networking options
100 1.2 matt options INET # Internet protocols
101 1.2 matt options INET6 # IPV6
102 1.2 matt #options IPSEC # IP security
103 1.2 matt #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
104 1.2 matt #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
105 1.2 matt #options IPSEC_DEBUG # debug for IP security
106 1.2 matt options GATEWAY # IP packet forwarding
107 1.2 matt #options MROUTING # Multicast routing support
108 1.2 matt #options PIM # Protocol Independent Multicast
109 1.2 matt #options ISO # OSI networking
110 1.2 matt #options TPIP # TPIP
111 1.2 matt #options EON # OSI tunneling over IP
112 1.2 matt options NETATALK # AppleTalk networking protocols
113 1.2 matt options PPP_BSDCOMP # BSD-Compress compression support for PPP
114 1.2 matt options PPP_DEFLATE # Deflate compression support for PPP
115 1.2 matt options PPP_FILTER # Active filter support for PPP (requires bpf)
116 1.2 matt options PFIL_HOOKS # pfil(9) packet filter hooks
117 1.2 matt options IPFILTER_LOG # ipmon(8) log support
118 1.2 matt options IPFILTER_LOOKUP # ippool(8) support
119 1.2 matt #options IPFILTER_DEFAULT_BLOCK # block all packets by default
120 1.2 matt #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
121 1.2 matt
122 1.2 matt #options ALTQ # Manipulate network interfaces' output queues
123 1.2 matt #options ALTQ_BLUE # Stochastic Fair Blue
124 1.2 matt #options ALTQ_CBQ # Class-Based Queueing
125 1.2 matt #options ALTQ_CDNR # Diffserv Traffic Conditioner
126 1.2 matt #options ALTQ_FIFOQ # First-In First-Out Queue
127 1.2 matt #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
128 1.2 matt #options ALTQ_HFSC # Hierarchical Fair Service Curve
129 1.2 matt #options ALTQ_LOCALQ # Local queueing discipline
130 1.2 matt #options ALTQ_PRIQ # Priority Queueing
131 1.2 matt #options ALTQ_RED # Random Early Detection
132 1.2 matt #options ALTQ_RIO # RED with IN/OUT
133 1.2 matt #options ALTQ_WFQ # Weighted Fair Queueing
134 1.2 matt
135 1.2 matt # NetBSD backwards compatibility
136 1.2 matt #options COMPAT_10 # NetBSD 1.0, (needed for X on 386?)
137 1.2 matt #options COMPAT_11 # NetBSD 1.1, EXEC_ELF_NOTELESS
138 1.2 matt options COMPAT_12 # NetBSD 1.2 reboot(), EXEC_ELF_NOTELESS
139 1.2 matt options COMPAT_13 # NetBSD 1.3
140 1.2 matt options COMPAT_14 # NetBSD 1.4
141 1.2 matt options COMPAT_15 # NetBSD 1.5
142 1.2 matt options COMPAT_16 # NetBSD 1.6
143 1.2 matt options COMPAT_20 # NetBSD 2.0
144 1.2 matt options COMPAT_30 # NetBSD 3.0
145 1.2 matt options COMPAT_40 # NetBSD 4.0 compatibility.
146 1.2 matt #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
147 1.2 matt options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
148 1.2 matt
149 1.2 matt # Workstation console options
150 1.2 matt options FONT_BOLD8x16
151 1.2 matt options FONT_GALLANT12x22
152 1.2 matt
153 1.2 matt options WSEMUL_VT100
154 1.2 matt options WS_KERNEL_FG=WSCOL_GREEN
155 1.2 matt options WS_KERNEL_BG=WSCOL_BLACK
156 1.2 matt
157 1.2 matt # Disable kernel security levels. Needed for X with a PX or PXG.
158 1.2 matt #options INSECURE
159 1.2 matt
160 1.2 matt # pmax specific
161 1.2 matt #options COMPAT_ULTRIX # Ultrix compatibility
162 1.2 matt #options EXEC_AOUT # Old NetBSD/pmax a.out compatibility
163 1.2 matt #options EXEC_ECOFF # Ultrix RISC binaries are ECOFF format
164 1.2 matt options HZ=256 # RTC rate required
165 1.2 matt
166 1.2 matt options NFS_BOOT_DHCP # superset of BOOTP
167 1.2 matt
168 1.2 matt config netbsd root on ? type ?
169 1.2 matt #config nfsnetbsd root on ? type nfs
170 1.2 matt
171 1.2 matt
172 1.2 matt mainbus0 at root
173 1.2 matt cpu* at mainbus0
174 1.2 matt
175 1.2 matt ## Peripheral Bus Support (for devices to attach to)
176 1.2 matt ## ----------------------------------------------------------------------------
177 1.2 matt
178 1.2 matt # TURBOchannel bus support
179 1.2 matt tc* at mainbus0
180 1.2 matt
181 1.5 matt # 3MAX has TURBOchannel but no IOASIC
182 1.5 matt ibus0 at tc? slot ? offset ? # 3MAX system slot
183 1.5 matt
184 1.5 matt # PMAX, 3MAX and MIPSMATE common devices
185 1.5 matt mcclock* at ibus0 addr ? # DS1287 RTC
186 1.5 matt dz* at ibus0 addr ? # DC7085 quad line serial device
187 1.5 matt lkkbd* at dz? line 0 # Keyboard
188 1.5 matt vsms* at dz? line 1 # Mouse
189 1.5 matt sii* at ibus0 addr ? # DC7061 onboard SCSI`
190 1.5 matt
191 1.2 matt # 3MIN, 3MAX+ and MAXINE have IOASIC in system slot
192 1.2 matt ioasic0 at tc?
193 1.2 matt mcclock* at ioasic? offset ? # DS1287 RTC
194 1.2 matt le* at ioasic? offset ? # LANCE
195 1.2 matt dt* at ioasic? offset ? # MAXINE kbd and mouse
196 1.2 matt bba* at ioasic? offset ? # MAXINE baseboard audio
197 1.2 matt #fdc at ioasic? offset ? # MAXINE floppy disk (not supported)
198 1.2 matt zsc0 at ioasic? offset 0x100000 # Z85C30
199 1.2 matt zsc1 at ioasic? offset 0x180000 # Z85C30
200 1.2 matt asc* at ioasic? offset ? # NCR53C94 SCSI with IOASIC
201 1.2 matt
202 1.2 matt zstty* at zsc? channel ? # serial ports on B/A channels
203 1.2 matt lkkbd* at zsc1 channel ? # keyboard port on A channels
204 1.2 matt vsms* at zsc0 channel ? # mouse port on A channels
205 1.2 matt
206 1.2 matt audio* at bba?
207 1.2 matt
208 1.2 matt dtkbd* at dt? addr ?
209 1.2 matt dtms* at dt? addr ?
210 1.2 matt
211 1.2 matt # TURBOchannel devices
212 1.2 matt mfb* at tc? slot ? offset ? # PMAG-A MX Monochrome Framebuffer
213 1.2 matt cfb* at tc? slot ? offset ? # PMAG-B CX Color Framebuffer
214 1.2 matt tfb* at tc? slot ? offset ? # PMAG-RO TX True Color Framebuffer
215 1.2 matt sfb* at tc? slot ? offset ? # PMAGB-B HX Smart Framebuffer
216 1.2 matt px* at tc? slot ? offset ? # PMAG-C 2D accelerator
217 1.2 matt pxg* at tc? slot ? offset ? # PMAG-D,E,F 3D accelerator
218 1.2 matt #sfbp* at tc? slot ? offset ? # PMAGD HX+ Smart Framebuffer
219 1.2 matt xcfb* at tc? slot ? offset ? # PMAG-DV Color Framebuffer at MAXINE
220 1.2 matt asc* at tc? slot ? offset ? # PMAZ-A single channel SCSI
221 1.2 matt le* at tc? slot ? offset ? # PMAD-A LANCE
222 1.2 matt fta* at tc? slot ? offset ? # PMAF-F FDDI
223 1.2 matt tcds* at tc? slot ? offset ? # PMAZB/PMAZC dual channel SCSI
224 1.2 matt asc* at tcds? chip ?
225 1.2 matt
226 1.2 matt # Workstation console
227 1.2 matt
228 1.2 matt wskbd* at lkkbd? console ?
229 1.2 matt wskbd* at dtkbd? console ?
230 1.2 matt wsmouse* at vsms?
231 1.2 matt wsmouse* at dtms?
232 1.2 matt
233 1.2 matt wsdisplay* at mfb?
234 1.2 matt wsdisplay* at cfb?
235 1.2 matt wsdisplay* at px?
236 1.2 matt wsdisplay* at pxg?
237 1.2 matt wsdisplay* at sfb?
238 1.2 matt #wsdisplay* at sfbp?
239 1.2 matt wsdisplay* at tfb?
240 1.2 matt wsdisplay* at xcfb?
241 1.2 matt
242 1.2 matt
243 1.2 matt #########################################################################
244 1.2 matt # SCSI configuration #
245 1.2 matt #########################################################################
246 1.2 matt
247 1.5 matt scsibus* at sii?
248 1.2 matt scsibus* at asc?
249 1.2 matt
250 1.2 matt sd* at scsibus? target ? lun ? # SCSI disks
251 1.2 matt st* at scsibus? target ? lun ? # SCSI tapes
252 1.2 matt cd* at scsibus? target ? lun ? # SCSI CD-ROMs
253 1.2 matt ch* at scsibus? target ? lun ? # SCSI changer devices
254 1.2 matt ss* at scsibus? target ? lun ? # SCSI scanners
255 1.2 matt uk* at scsibus? target ? lun ? # unknown SCSI
256 1.2 matt
257 1.2 matt #########################################################################
258 1.2 matt # Pseudo-devices #
259 1.2 matt #########################################################################
260 1.2 matt
261 1.2 matt #
262 1.2 matt # accept filters
263 1.2 matt pseudo-device accf_data # "dataready" accept filter
264 1.2 matt pseudo-device accf_http # "httpready" accept filter
265 1.2 matt
266 1.2 matt pseudo-device loop 1 # network loopback
267 1.2 matt pseudo-device sl # serial-line IP ports
268 1.2 matt pseudo-device ppp # serial-line IP ports
269 1.2 matt pseudo-device pppoe # PPP over Ethernet (RFC 2516)
270 1.2 matt pseudo-device pty # pseudo-terminals
271 1.2 matt pseudo-device bpfilter # packet filter ports
272 1.2 matt #pseudo-device carp # Common Address Redundancy Protocol
273 1.2 matt pseudo-device ipfilter # IP filter, NAT
274 1.2 matt #pseudo-device gre # generic L3 over IP tunnel
275 1.2 matt pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
276 1.2 matt #pseudo-device faith # IPv[46] tcp relay translation i/f
277 1.2 matt pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
278 1.2 matt pseudo-device vlan # IEEE 802.1q encapsulation
279 1.2 matt pseudo-device bridge # simple inter-network bridging
280 1.2 matt #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
281 1.2 matt pseudo-device agr # IEEE 802.3ad link aggregation
282 1.2 matt
283 1.2 matt pseudo-device vnd # virtual disk ick
284 1.2 matt #options VND_COMPRESSION # compressed vnd(4)
285 1.2 matt pseudo-device ccd 4 # concatenated disks
286 1.2 matt #pseudo-device cgd 4 # cryptographic disk devices
287 1.2 matt pseudo-device raid 8 # RAIDframe disk driver
288 1.2 matt options RAID_AUTOCONFIG # auto-configuration of RAID components
289 1.2 matt # Options to enable various other RAIDframe RAID types.
290 1.2 matt #options RF_INCLUDE_EVENODD=1
291 1.2 matt #options RF_INCLUDE_RAID5_RS=1
292 1.2 matt #options RF_INCLUDE_PARITYLOGGING=1
293 1.2 matt #options RF_INCLUDE_CHAINDECLUSTER=1
294 1.2 matt #options RF_INCLUDE_INTERDECLUSTER=1
295 1.2 matt #options RF_INCLUDE_PARITY_DECLUSTERING=1
296 1.2 matt #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
297 1.3 pooka pseudo-device fss # file system snapshot device
298 1.2 matt
299 1.2 matt pseudo-device rnd # /dev/random and in-kernel generator
300 1.2 matt pseudo-device clockctl # user control of clock subsystem
301 1.2 matt pseudo-device ksyms # /dev/ksyms
302 1.2 matt #pseudo-device pf # PF packet filter
303 1.2 matt #pseudo-device pflog # PF log if
304 1.2 matt pseudo-device wsfont # wsfont control device
305 1.2 matt pseudo-device wsmux # wsmux control device
306 1.2 matt
307 1.2 matt # Veriexec
308 1.2 matt #
309 1.2 matt # a pseudo device needed for veriexec
310 1.2 matt #pseudo-device veriexec 1
311 1.2 matt #
312 1.2 matt # Uncomment the fingerprint methods below that are desired. Note that
313 1.2 matt # removing fingerprint methods will have almost no impact on the kernel
314 1.2 matt # code size.
315 1.2 matt #
316 1.2 matt #options VERIFIED_EXEC_FP_RMD160
317 1.2 matt #options VERIFIED_EXEC_FP_SHA256
318 1.2 matt #options VERIFIED_EXEC_FP_SHA384
319 1.2 matt #options VERIFIED_EXEC_FP_SHA512
320 1.2 matt #options VERIFIED_EXEC_FP_SHA1
321 1.2 matt #options VERIFIED_EXEC_FP_MD5
322