GENERIC revision 1.73 1 1.73 christos # $NetBSD: GENERIC,v 1.73 2006/08/12 15:29:53 christos Exp $
2 1.1 nisimura #
3 1.24 gmcgarry # GENERIC machine description file
4 1.24 gmcgarry #
5 1.24 gmcgarry # This machine description file is used to generate the default NetBSD
6 1.24 gmcgarry # kernel. The generic kernel does not include all options, subsystems
7 1.24 gmcgarry # and device drivers, but should be useful for most applications.
8 1.1 nisimura #
9 1.24 gmcgarry # The machine description file can be customised for your specific
10 1.24 gmcgarry # machine to reduce the kernel size and improve its performance.
11 1.24 gmcgarry #
12 1.24 gmcgarry # For further information on compiling NetBSD kernels, see the config(8)
13 1.24 gmcgarry # man page.
14 1.24 gmcgarry #
15 1.24 gmcgarry # For further information on hardware support for this architecture, see
16 1.24 gmcgarry # the intro(4) man page. For further information about kernel options
17 1.24 gmcgarry # for this architecture, see the options(4) man page. For an explanation
18 1.24 gmcgarry # of each device driver in this file see the section 4 man page for the
19 1.24 gmcgarry # device.
20 1.24 gmcgarry
21 1.1 nisimura include "arch/luna68k/conf/std.luna68k"
22 1.3 hubertf
23 1.30 atatat options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24 1.30 atatat
25 1.73 christos #ident "GENERIC-$Revision: 1.73 $"
26 1.1 nisimura
27 1.1 nisimura maxusers 8
28 1.1 nisimura
29 1.22 lukem options M68030
30 1.22 lukem #options M68040
31 1.1 nisimura #options FPSP # on m68040 to emulate some missing FP instructions
32 1.1 nisimura
33 1.1 nisimura # Needs to be set per system. i.e change these as you see fit
34 1.1 nisimura
35 1.1 nisimura # Standard system options
36 1.1 nisimura options NTP # NTP phase/frequency locked loop
37 1.1 nisimura options KTRACE
38 1.73 christos #options SYSTRACE # system call vetting via systrace(1)
39 1.1 nisimura #options SYSVMSG # System V message queues
40 1.1 nisimura #options SYSVSEM # System V semaphores
41 1.22 lukem #options SEMMNI=10 # number of semaphore identifiers
42 1.22 lukem #options SEMMNS=60 # number of semaphores in system
43 1.22 lukem #options SEMUME=10 # max number of undo entries per process
44 1.22 lukem #options SEMMNU=30 # number of undo structures in system
45 1.1 nisimura #options SYSVSHM # System V shared memory
46 1.1 nisimura #optoins SHMMAXPGS=1024 # 1024 pages is the default
47 1.47 bouyer #options P1003_1B_SEMAPHORE # p1003.1b semaphore support
48 1.1 nisimura #options LKM # loadable kernel modules
49 1.32 lukem options USERCONF # userconf(4) support
50 1.27 jdolecek #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
51 1.48 atatat options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
52 1.37 junyoung
53 1.38 wiz # Enable experimental buffer queue strategy for better responsiveness under
54 1.37 junyoung # high disk I/O load. Use it with caution - it's not proven to be stable yet.
55 1.57 tsutsui #options BUFQ_READPRIO
56 1.57 tsutsui #options BUFQ_PRIOCSCAN
57 1.1 nisimura
58 1.1 nisimura # Debugging options
59 1.1 nisimura options DDB
60 1.1 nisimura #options DDB_HISTORY_SIZE=100 # enable history editing in DDB
61 1.22 lukem #options SYMTAB_SPACE=72000 # place DDB symbols in data segment
62 1.2 nisimura #options DEBUG # extra kernel debugging support
63 1.2 nisimura #options DIAGNOSTIC # extra kernel sanity checking
64 1.2 nisimura #options SCSIVERBOSE # Verbose SCSI errors
65 1.2 nisimura #options SCSIDEBUG
66 1.1 nisimura #makeoptions DEBUG="-g" # compile full symbol table
67 1.1 nisimura
68 1.17 wiz # Compatibility options
69 1.1 nisimura options COMPAT_43 # and 4.3BSD and ...
70 1.1 nisimura options COMPAT_12 # NetBSD 1.2 binary compatibility
71 1.1 nisimura options COMPAT_13 # NetBSD 1.3 binary compatibility
72 1.1 nisimura options COMPAT_14 # NetBSD 1.4 binary compatibility
73 1.42 cl options COMPAT_15 # NetBSD 1.5 binary compatibility
74 1.42 cl options COMPAT_16 # NetBSD 1.6 binary compatibility
75 1.56 simonb options COMPAT_20 # NetBSD 2.0 binary compatibility
76 1.63 christos options COMPAT_30 # NetBSD 3.0 compatibility.
77 1.19 abs #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
78 1.25 chs options COMPAT_AOUT_M68K # support for NetBSD a.out executables
79 1.25 chs options EXEC_AOUT # support for a.out executables
80 1.50 christos options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
81 1.1 nisimura
82 1.1 nisimura # Filesystem options
83 1.1 nisimura file-system FFS # ufs file system
84 1.1 nisimura #file-system LFS # log-structured file system
85 1.1 nisimura file-system NFS # nfs client support
86 1.1 nisimura file-system MFS
87 1.1 nisimura #file-system CD9660 # ISO 9660 + Rock Ridge file system
88 1.1 nisimura #file-system MSDOSFS # MS-DOS FAT file system
89 1.1 nisimura file-system KERNFS # /kern
90 1.1 nisimura file-system PROCFS # /proc
91 1.1 nisimura #file-system FDESC # /dev/fd/*
92 1.1 nisimura file-system NULLFS # loopback file system
93 1.1 nisimura #file-system PORTAL # portal filesystem (still experimental)
94 1.1 nisimura #file-system UMAPFS # NULLFS + uid and gid remapping
95 1.1 nisimura #file-system UNION # union file system
96 1.1 nisimura #file-system CODA # Coda File System; also needs vcode (below)
97 1.64 christos file-system PTYFS # /dev/pts/N support
98 1.66 jmmv #file-system TMPFS # experimental - Efficient memory file-system
99 1.69 reinoud #file-system UDF # experimental - OSTA UDF CD/DVD file-system
100 1.1 nisimura
101 1.1 nisimura #options NFSSERVER # nfs server support
102 1.1 nisimura #options QUOTA # ffs quotas
103 1.1 nisimura #options FFS_EI # ffs endian independant support
104 1.22 lukem options SOFTDEP # ffs soft updates support
105 1.67 tsutsui #options FFS_NO_SNAPSHOT # No FFS snapshot support
106 1.52 rumble #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
107 1.1 nisimura
108 1.1 nisimura # Networking options
109 1.65 isaki options INET # IP protocol stack support
110 1.1 nisimura #options INET6 # IPV6
111 1.1 nisimura #options IPSEC # IP security
112 1.28 wiz #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
113 1.59 tron #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
114 1.1 nisimura #options IPSEC_DEBUG # debug for IP security
115 1.22 lukem #options GATEWAY # IP packet forwarding
116 1.1 nisimura #options MROUTING # IP multicast routing
117 1.49 manu #options PIM # Protocol Independent Multicast
118 1.1 nisimura #options NS # XNS
119 1.1 nisimura #options NSIP # XNS tunneling over IP
120 1.1 nisimura #options ISO,TPIP # OSI
121 1.1 nisimura #options EON # OSI tunneling over IP
122 1.1 nisimura #options CCITT,LLC,HDLC # X.25
123 1.1 nisimura #options NETATALK # AppleTalk networking protocols
124 1.1 nisimura #options PPP_BSDCOMP # BSD-Compress compression support for PPP
125 1.1 nisimura #options PPP_DEFLATE # Deflate compression support for PPP
126 1.1 nisimura #options PPP_FILTER # Active filter support for PPP (requires bpf)
127 1.1 nisimura #options PFIL_HOOKS # pfil(9) packet filter hooks
128 1.1 nisimura #options IPFILTER_LOG # ipmon(8) log support
129 1.34 martti #options IPFILTER_DEFAULT_BLOCK # block all packets by default
130 1.1 nisimura options NFS_BOOT_DHCP # superset of BOOTP
131 1.19 abs #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
132 1.1 nisimura
133 1.46 abs #options ALTQ # Manipulate network interfaces' output queues
134 1.46 abs #options ALTQ_BLUE # Stochastic Fair Blue
135 1.46 abs #options ALTQ_CBQ # Class-Based Queueing
136 1.46 abs #options ALTQ_CDNR # Diffserv Traffic Conditioner
137 1.46 abs #options ALTQ_FIFOQ # First-In First-Out Queue
138 1.46 abs #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
139 1.46 abs #options ALTQ_HFSC # Hierarchical Fair Service Curve
140 1.46 abs #options ALTQ_LOCALQ # Local queueing discipline
141 1.46 abs #options ALTQ_PRIQ # Priority Queueing
142 1.46 abs #options ALTQ_RED # Random Early Detection
143 1.46 abs #options ALTQ_RIO # RED with IN/OUT
144 1.46 abs #options ALTQ_WFQ # Weighted Fair Queueing
145 1.46 abs
146 1.1 nisimura # WS console uses SUN or VT100 terminal emulation
147 1.1 nisimura options WSEMUL_VT100
148 1.1 nisimura
149 1.12 nisimura config netbsd root on ? type ?
150 1.1 nisimura
151 1.1 nisimura mainbus0 at root
152 1.1 nisimura
153 1.1 nisimura clock0 at mainbus0
154 1.1 nisimura
155 1.1 nisimura # uPD7201 SIO
156 1.1 nisimura sio0 at mainbus0
157 1.1 nisimura siotty0 at sio0 # ttya
158 1.1 nisimura ws0 at sio0 # port for keyboard and mouse
159 1.1 nisimura # AM7990 LANCE
160 1.1 nisimura le0 at mainbus0
161 1.1 nisimura # MB89532 SPC
162 1.1 nisimura spc0 at mainbus0
163 1.1 nisimura #spc1 at mainbus0 # 2nd SCSI on LUNA-II
164 1.1 nisimura # framebuffer
165 1.1 nisimura fb0 at mainbus0 # 16 or 256 pseudo color
166 1.1 nisimura
167 1.1 nisimura # Workstation Console attachments
168 1.1 nisimura wsdisplay* at fb?
169 1.1 nisimura wskbd* at ws? console ?
170 1.13 nisimura wsmouse* at ws?
171 1.1 nisimura
172 1.1 nisimura # SCSI bus support
173 1.1 nisimura scsibus* at spc?
174 1.1 nisimura
175 1.1 nisimura # SCSI devices
176 1.1 nisimura sd* at scsibus? target ? lun ? # SCSI disks
177 1.1 nisimura st* at scsibus? target ? lun ? # SCSI tapes
178 1.1 nisimura #cd* at scsibus? target ? lun ? # SCSI CD-ROMs
179 1.1 nisimura #ch* at scsibus? target ? lun ? # SCSI changer devices
180 1.1 nisimura #ss* at scsibus? target ? lun ? # SCSI scanners
181 1.1 nisimura #uk* at scsibus? target ? lun ? # unknown SCSI devices
182 1.1 nisimura
183 1.70 rpaulo pseudo-device bpfilter # Berkeley Packet Filter
184 1.72 liamjfoy #pseudo-device carp # Common Address Redundancy Protocol
185 1.1 nisimura #pseudo-device ccd 2 # concatenated and striped disks
186 1.36 elric #pseudo-device cgd 2 # cryptographic disks
187 1.71 cube #pseudo-device gre # generic L3 over IP tunnel
188 1.1 nisimura #pseudo-device ipfilter 1 # ip filter
189 1.1 nisimura pseudo-device loop 1 # loopback interface; required
190 1.1 nisimura pseudo-device md 1 # memory disk device
191 1.71 cube #pseudo-device ppp # PPP interfaces
192 1.26 martin #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
193 1.10 jdolecek pseudo-device pty # pseudo-terminals
194 1.1 nisimura #pseudo-device raid 2 # RAIDframe disk driver
195 1.53 hannken pseudo-device fss 4 # file system snapshot device
196 1.71 cube #pseudo-device sl # SLIP interfaces
197 1.71 cube #pseudo-device tun # Network "tunnel" device
198 1.51 cube #pseudo-device tap # virtual Ethernet
199 1.14 bouyer pseudo-device vlan # IEEE 802.1q encapsulation
200 1.23 atatat pseudo-device bridge # simple inter-network bridging
201 1.39 perseant #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
202 1.71 cube #pseudo-device vnd # disk-like interface to files
203 1.60 hubertf #options VND_COMPRESSION # compressed vnd(4)
204 1.11 itojun pseudo-device rnd # /dev/random and in-kernel generator
205 1.31 lukem pseudo-device clockctl # user control of clock subsystem
206 1.41 ragge pseudo-device ksyms # /dev/ksyms
207 1.45 itojun #pseudo-device pf # PF packet filter
208 1.45 itojun #pseudo-device pflog # PF log if
209 1.68 elad
210 1.68 elad # Veriexec
211 1.68 elad #options VERIFIED_EXEC
212 1.68 elad #
213 1.68 elad # a pseudo device needed for veriexec
214 1.68 elad #pseudo-device veriexec 1
215 1.68 elad #
216 1.68 elad # Uncomment the fingerprint methods below that are desired. Note that
217 1.68 elad # removing fingerprint methods will have almost no impact on the kernel
218 1.68 elad # code size.
219 1.68 elad #
220 1.68 elad #options VERIFIED_EXEC_FP_RMD160
221 1.68 elad #options VERIFIED_EXEC_FP_SHA256
222 1.68 elad #options VERIFIED_EXEC_FP_SHA384
223 1.68 elad #options VERIFIED_EXEC_FP_SHA512
224 1.68 elad #options VERIFIED_EXEC_FP_SHA1
225 1.68 elad #options VERIFIED_EXEC_FP_MD5
226