GENERIC revision 1.124 1 1.124 manu # $NetBSD: GENERIC,v 1.124 2014/11/12 10:47:23 manu Exp $
2 1.26 gmcgarry #
3 1.26 gmcgarry # GENERIC machine description file
4 1.105 tsutsui #
5 1.26 gmcgarry # This machine description file is used to generate the default NetBSD
6 1.26 gmcgarry # kernel. The generic kernel does not include all options, subsystems
7 1.26 gmcgarry # and device drivers, but should be useful for most applications.
8 1.26 gmcgarry #
9 1.26 gmcgarry # The machine description file can be customised for your specific
10 1.26 gmcgarry # machine to reduce the kernel size and improve its performance.
11 1.26 gmcgarry #
12 1.26 gmcgarry # For further information on compiling NetBSD kernels, see the config(8)
13 1.26 gmcgarry # man page.
14 1.26 gmcgarry #
15 1.26 gmcgarry # For further information on hardware support for this architecture, see
16 1.26 gmcgarry # the intro(4) man page. For further information about kernel options
17 1.26 gmcgarry # for this architecture, see the options(4) man page. For an explanation
18 1.26 gmcgarry # of each device driver in this file see the section 4 man page for the
19 1.26 gmcgarry # device.
20 1.1 tsutsui
21 1.1 tsutsui include "arch/news68k/conf/std.news68k"
22 1.3 hubertf
23 1.33 atatat options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24 1.33 atatat
25 1.124 manu #ident "GENERIC-$Revision: 1.124 $"
26 1.119 tsutsui
27 1.119 tsutsui makeoptions COPTS="-O2 -fno-reorder-blocks" # see share/mk/sys.mk
28 1.1 tsutsui
29 1.1 tsutsui maxusers 8
30 1.1 tsutsui
31 1.24 lukem options news1200 # news1200 support
32 1.4 tsutsui options news1700 # news1[4567]00 support
33 1.1 tsutsui options CPU_SINGLE # Will IOP be supported eventually?
34 1.1 tsutsui #options FPU_EMULATE
35 1.1 tsutsui
36 1.1 tsutsui # Standard system options
37 1.1 tsutsui options NTP # NTP phase/frequency locked loop
38 1.1 tsutsui options KTRACE # system call tracing support
39 1.1 tsutsui options SYSVMSG # System V message queues
40 1.1 tsutsui options SYSVSEM # System V semaphores
41 1.1 tsutsui options SYSVSHM # System V shared memory
42 1.102 tsutsui
43 1.120 tsutsui options MODULAR # new style module(7) framework
44 1.123 jnemeth options MODULAR_DEFAULT_AUTOLOAD
45 1.102 tsutsui
46 1.35 lukem options USERCONF # userconf(4) support
47 1.57 tsutsui #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
48 1.53 atatat options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
49 1.40 junyoung
50 1.42 tsutsui # Enable experimental buffer queue strategy for better responsiveness under
51 1.40 junyoung # high disk I/O load. Use it with caution - it's not proven to be stable yet.
52 1.63 tsutsui #options BUFQ_READPRIO
53 1.63 tsutsui #options BUFQ_PRIOCSCAN
54 1.1 tsutsui
55 1.1 tsutsui # Debugging options
56 1.45 tsutsui #options DIAGNOSTIC # extra kernel sanity checking
57 1.1 tsutsui #options DEBUG # extra kernel debugging support
58 1.1 tsutsui #options KMEMSTATS # kernel memory statistics (vmstat -m)
59 1.1 tsutsui options DDB # kernel dynamic debugger
60 1.1 tsutsui #options DDB_HISTORY_SIZE=100 # enable history editing in DDB
61 1.118 szptvlfn #options DDB_ONPANIC=1 # see also sysctl(7): `ddb.onpanic'
62 1.1 tsutsui options SCSIVERBOSE # Verbose SCSI errors
63 1.1 tsutsui #options SCSIDEBUG # extra SCSI debugging support
64 1.1 tsutsui #makeoptions DEBUG="-g" # compile full symbol table
65 1.1 tsutsui
66 1.1 tsutsui # Compatibility options
67 1.1 tsutsui options COMPAT_43 # compatibility with 4.3BSD binaries
68 1.122 dholland options COMPAT_12 # NetBSD 1.2,
69 1.122 dholland options COMPAT_13 # NetBSD 1.3,
70 1.122 dholland options COMPAT_14 # NetBSD 1.4,
71 1.122 dholland options COMPAT_15 # NetBSD 1.5,
72 1.122 dholland options COMPAT_16 # NetBSD 1.6,
73 1.122 dholland options COMPAT_20 # NetBSD 2.0,
74 1.122 dholland options COMPAT_30 # NetBSD 3.0,
75 1.122 dholland options COMPAT_40 # NetBSD 4.0,
76 1.122 dholland options COMPAT_50 # NetBSD 5.0,
77 1.122 dholland options COMPAT_60 # NetBSD 6.0, and
78 1.122 dholland options COMPAT_70 # NetBSD 7.0 binary compatibility.
79 1.18 tsutsui options COMPAT_AOUT_M68K # compatibility with NetBSD/m68k a.out
80 1.1 tsutsui
81 1.1 tsutsui #options COMPAT_SVR4 # binary compatibility with SVR4
82 1.15 tsutsui options COMPAT_SUNOS # binary compatibility with SunOS
83 1.1 tsutsui #options COMPAT_LINUX # binary compatibllity with Linux/m68k
84 1.57 tsutsui options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
85 1.1 tsutsui
86 1.21 abs #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
87 1.1 tsutsui
88 1.1 tsutsui # Filesystem options
89 1.1 tsutsui file-system FFS # Berkeley Fast Filesystem
90 1.120 tsutsui #file-system LFS # log-structured file system
91 1.1 tsutsui file-system NFS # Sun NFS-compatible filesystem client
92 1.1 tsutsui file-system MFS # memory-based filesystem
93 1.1 tsutsui file-system CD9660 # ISO 9660 + Rock Ridge file system
94 1.1 tsutsui file-system MSDOSFS # MS-DOS FAT file system
95 1.1 tsutsui file-system KERNFS # /kern
96 1.1 tsutsui file-system PROCFS # /proc
97 1.1 tsutsui file-system FDESC # /dev/fd/*
98 1.1 tsutsui file-system NULLFS # loopback file system
99 1.120 tsutsui #file-system OVERLAY # overlay file system
100 1.120 tsutsui #file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
101 1.120 tsutsui #file-system UMAPFS # NULLFS + uid and gid remapping
102 1.120 tsutsui #file-system UNION # union file system
103 1.1 tsutsui #file-system CODA # Coda File System; also needs vcode (below)
104 1.70 christos file-system PTYFS # /dev/pts/N support
105 1.100 chs file-system TMPFS # Efficient memory file-system
106 1.75 reinoud #file-system UDF # experimental - OSTA UDF CD/DVD file-system
107 1.1 tsutsui
108 1.1 tsutsui options NFSSERVER # nfs server support
109 1.106 bouyer options QUOTA # legacy UFS quotas
110 1.106 bouyer options QUOTA2 # new, in-filesystem UFS quotas
111 1.86 wiz #options FFS_EI # ffs endian independent support
112 1.109 dholland options WAPBL # File system journaling support
113 1.120 tsutsui options FFS_NO_SNAPSHOT # No FFS snapshot support
114 1.124 manu options UFS_EXTATTR # Extended attribute support for UFS1
115 1.124 manu options UFS_EXTATTR_AUTOSTART
116 1.124 manu options UFS_EXTATTR_AUTOCREATE=1024
117 1.71 tsutsui #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
118 1.1 tsutsui
119 1.1 tsutsui # Networking options
120 1.1 tsutsui options INET # Internet protocols
121 1.1 tsutsui options INET6 # IPV6
122 1.1 tsutsui #options IPSEC # IP security
123 1.1 tsutsui #options IPSEC_DEBUG # debug for IP security
124 1.1 tsutsui #options GATEWAY # IP packet forwarding
125 1.1 tsutsui #options MROUTING # IP multicast routing
126 1.55 manu #options PIM # Protocol Independent Multicast
127 1.1 tsutsui #options NETATALK # AppleTalk networking protocols
128 1.120 tsutsui #options PPP_BSDCOMP # BSD-Compress compression support for PPP
129 1.120 tsutsui #options PPP_DEFLATE # Deflate compression support for PPP
130 1.1 tsutsui options PPP_FILTER # Active filter support for PPP (requires bpf)
131 1.1 tsutsui options IPFILTER_LOG # ipmon(8) log support
132 1.84 christos options IPFILTER_LOOKUP # ippool(8) support
133 1.101 mrg options IPFILTER_COMPAT # Compat for IP-Filter
134 1.37 martti #options IPFILTER_DEFAULT_BLOCK # block all packets by default
135 1.21 abs #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
136 1.1 tsutsui
137 1.51 abs #options ALTQ # Manipulate network interfaces' output queues
138 1.51 abs #options ALTQ_BLUE # Stochastic Fair Blue
139 1.51 abs #options ALTQ_CBQ # Class-Based Queueing
140 1.51 abs #options ALTQ_CDNR # Diffserv Traffic Conditioner
141 1.51 abs #options ALTQ_FIFOQ # First-In First-Out Queue
142 1.51 abs #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
143 1.51 abs #options ALTQ_HFSC # Hierarchical Fair Service Curve
144 1.51 abs #options ALTQ_LOCALQ # Local queueing discipline
145 1.51 abs #options ALTQ_PRIQ # Priority Queueing
146 1.51 abs #options ALTQ_RED # Random Early Detection
147 1.51 abs #options ALTQ_RIO # RED with IN/OUT
148 1.51 abs #options ALTQ_WFQ # Weighted Fair Queueing
149 1.51 abs
150 1.1 tsutsui options NFS_BOOT_BOOTPARAM
151 1.1 tsutsui options NFS_BOOT_DHCP
152 1.1 tsutsui
153 1.1 tsutsui config netbsd root on ? type ?
154 1.1 tsutsui #config netbsd root on ? type nfs
155 1.1 tsutsui
156 1.1 tsutsui #
157 1.1 tsutsui # device declarations
158 1.1 tsutsui #
159 1.1 tsutsui
160 1.1 tsutsui mainbus0 at root
161 1.1 tsutsui
162 1.1 tsutsui # NEWS HYPER-BUS
163 1.4 tsutsui hb0 at mainbus0 systype NEWS1700
164 1.4 tsutsui hb1 at mainbus0 systype NEWS1200
165 1.1 tsutsui
166 1.20 tsutsui # interval timer
167 1.20 tsutsui timer0 at hb0 addr 0xe1000000 ipl 6 # news1700
168 1.20 tsutsui timer0 at hb1 addr 0xe1140000 ipl 6 # news1200
169 1.20 tsutsui
170 1.20 tsutsui # MK48T02 TOD clock
171 1.20 tsutsui mkclock0 at hb0 addr 0xe0d80000 # news1700
172 1.20 tsutsui mkclock0 at hb1 addr 0xe1420000 # news1200
173 1.1 tsutsui
174 1.1 tsutsui # onboard LANCE ethernet
175 1.4 tsutsui le0 at hb0 addr 0xe0f00000 ipl 4 # news1700
176 1.4 tsutsui le0 at hb1 addr 0xe1a40000 ipl 4 # news1200
177 1.1 tsutsui
178 1.17 tsutsui # keyboard/mouse
179 1.17 tsutsui kbc0 at hb0 addr 0xe0d00000 ipl 5 # news1700
180 1.17 tsutsui kb0 at kbc0 # news1700
181 1.17 tsutsui ms0 at kbc0 # news1700
182 1.17 tsutsui
183 1.17 tsutsui kb0 at hb1 addr 0xe1240000 ipl 5 # news1200
184 1.17 tsutsui ms0 at hb1 addr 0xe1280000 ipl 5 # news1200
185 1.17 tsutsui
186 1.17 tsutsui wskbd* at kb?
187 1.17 tsutsui wsmouse* at ms?
188 1.1 tsutsui
189 1.1 tsutsui # onboard z8530 SCC
190 1.4 tsutsui zsc0 at hb0 addr 0xe0d40000 ipl 5 vect 64 flags 0x0 # news1700
191 1.4 tsutsui zsc0 at hb1 addr 0xe1780000 ipl 5 vect 64 flags 0x1 # news1200
192 1.1 tsutsui zstty0 at zsc0 channel 0
193 1.24 lukem zstty1 at zsc0 channel 1
194 1.1 tsutsui
195 1.1 tsutsui # Frame buffer devices; not yet
196 1.1 tsutsui #fb0 at hb0 addr 0xf0700000 # NWB225
197 1.1 tsutsui #fb1 at hb0 addr 0xf0f00000 # NWB512
198 1.1 tsutsui
199 1.1 tsutsui # onboard uPD72067 FDC; not yet
200 1.1 tsutsui #fdc0 at hb0 addr 0xe0c80000 ipl 3
201 1.1 tsutsui #fd* at fdc0
202 1.1 tsutsui
203 1.1 tsutsui # onboard CXD1180 SCSI controller
204 1.1 tsutsui #
205 1.1 tsutsui # This driver has several flags which may be enabled using
206 1.1 tsutsui # the "flags" directive. Valid flags are:
207 1.1 tsutsui #
208 1.1 tsutsui # 0x000ff Set (1<<target) to disable disconnect/reselect
209 1.1 tsutsui # 0x0ff00 Set (1<<(target+8)) to disable parity checking
210 1.1 tsutsui # 0x10000 Set this bit to disable DMA interrupts (poll)
211 1.1 tsutsui # 0x20000 Set this bit to disable DMA entirely (use PIO)
212 1.1 tsutsui #
213 1.1 tsutsui # For example: "flags 0x1000f" would disable DMA interrupts,
214 1.1 tsutsui # and disable disconnect/reselect for targets 0-3
215 1.1 tsutsui #
216 1.87 tsutsui si0 at hb0 addr 0xe0cc0000 ipl 4 flags 0x0
217 1.24 lukem scsibus* at si0
218 1.1 tsutsui
219 1.1 tsutsui sd* at scsibus? target ? lun ? # SCSI disks
220 1.1 tsutsui st* at scsibus? target ? lun ? # SCSI tapes
221 1.1 tsutsui cd* at scsibus? target ? lun ? # SCSI CD-ROMs
222 1.1 tsutsui ch* at scsibus? target ? lun ? # SCSI changer devices
223 1.1 tsutsui ss* at scsibus? target ? lun ? # SCSI scanners
224 1.1 tsutsui uk* at scsibus? target ? lun ? # unknown SCSI devices
225 1.1 tsutsui
226 1.107 tsutsui # PROM console support
227 1.107 tsutsui #romcons0 at mainbus0
228 1.107 tsutsui
229 1.94 tls #
230 1.94 tls # accept filters
231 1.120 tsutsui #pseudo-device accf_data # "dataready" accept filter
232 1.120 tsutsui #pseudo-device accf_http # "httpready" accept filter
233 1.94 tls
234 1.1 tsutsui # Misc.
235 1.1 tsutsui pseudo-device loop # loopback interface; required
236 1.13 jdolecek pseudo-device pty # pseudo-terminals
237 1.103 hannken pseudo-device md # memory disk device
238 1.77 cube pseudo-device vnd # disk-like interface to files
239 1.66 hubertf #options VND_COMPRESSION # compressed vnd(4)
240 1.114 christos pseudo-device ccd # concatenated and striped disks
241 1.114 christos #pseudo-device cgd # cryptographic disk devices
242 1.115 christos pseudo-device raid # RAIDframe disk driver
243 1.42 tsutsui #options RAID_AUTOCONFIG # auto-configuration of RAID components
244 1.28 oster # Options to enable various other RAIDframe RAID types.
245 1.57 tsutsui #options RF_INCLUDE_EVENODD=1
246 1.57 tsutsui #options RF_INCLUDE_RAID5_RS=1
247 1.57 tsutsui #options RF_INCLUDE_PARITYLOGGING=1
248 1.57 tsutsui #options RF_INCLUDE_CHAINDECLUSTER=1
249 1.57 tsutsui #options RF_INCLUDE_INTERDECLUSTER=1
250 1.57 tsutsui #options RF_INCLUDE_PARITY_DECLUSTERING=1
251 1.57 tsutsui #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
252 1.120 tsutsui #pseudo-device fss # file system snapshot device
253 1.77 cube pseudo-device sl # SLIP interfaces
254 1.77 cube pseudo-device ppp # PPP interfaces
255 1.27 martin pseudo-device pppoe # PPP over Ethernet (RFC 2516)
256 1.77 cube pseudo-device tun # Network "tunnel" device
257 1.58 cube pseudo-device tap # virtual Ethernet
258 1.77 cube pseudo-device gre # generic L3 over IP tunnel
259 1.76 rpaulo pseudo-device bpfilter # Berkeley Packet Filter
260 1.79 liamjfoy #pseudo-device carp # Common Address Redundancy Protocol
261 1.1 tsutsui pseudo-device ipfilter # ip filter
262 1.77 cube pseudo-device strip # Starmode Radio IP (Metricom)
263 1.77 cube pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
264 1.77 cube #pseudo-device faith # IPv[46] tcp relay translation i/f
265 1.78 pavel pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
266 1.16 bouyer pseudo-device vlan # IEEE 802.1q encapsulation
267 1.25 atatat pseudo-device bridge # simple inter-network bridging
268 1.57 tsutsui #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
269 1.88 martin pseudo-device agr # IEEE 802.3ad link aggregation
270 1.115 christos #pseudo-device vcoda # coda minicache <-> venus comm.
271 1.34 lukem pseudo-device clockctl # user control of clock subsystem
272 1.46 ragge pseudo-device ksyms # /dev/ksyms
273 1.50 itojun #pseudo-device pf # PF packet filter
274 1.50 itojun #pseudo-device pflog # PF log if
275 1.98 pooka pseudo-device putter # for puffs and pud
276 1.74 elad
277 1.74 elad # Veriexec
278 1.74 elad #
279 1.74 elad # a pseudo device needed for veriexec
280 1.115 christos #pseudo-device veriexec
281 1.74 elad #
282 1.74 elad # Uncomment the fingerprint methods below that are desired. Note that
283 1.74 elad # removing fingerprint methods will have almost no impact on the kernel
284 1.74 elad # code size.
285 1.74 elad #
286 1.83 tsutsui #options VERIFIED_EXEC_FP_RMD160
287 1.83 tsutsui #options VERIFIED_EXEC_FP_SHA256
288 1.83 tsutsui #options VERIFIED_EXEC_FP_SHA384
289 1.83 tsutsui #options VERIFIED_EXEC_FP_SHA512
290 1.83 tsutsui #options VERIFIED_EXEC_FP_SHA1
291 1.83 tsutsui #options VERIFIED_EXEC_FP_MD5
292