GENERIC revision 1.51 1 1.51 nisimura # $NetBSD: GENERIC,v 1.51 2011/01/11 13:29:09 nisimura Exp $
2 1.37 garbled #
3 1.48 phx # machine description file for GENERIC NAS
4 1.37 garbled #
5 1.37 garbled # This machine description file is used to generate the default NetBSD
6 1.37 garbled # kernel. The generic kernel does not include all options, subsystems
7 1.37 garbled # and device drivers, but should be useful for most applications.
8 1.37 garbled #
9 1.37 garbled # The machine description file can be customised for your specific
10 1.37 garbled # machine to reduce the kernel size and improve its performance.
11 1.37 garbled #
12 1.37 garbled # For further information on compiling NetBSD kernels, see the config(8)
13 1.37 garbled # man page.
14 1.37 garbled #
15 1.37 garbled # For further information on hardware support for this architecture, see
16 1.37 garbled # the intro(4) man page. For further information about kernel options
17 1.37 garbled # for this architecture, see the options(4) man page. For an explanation
18 1.37 garbled # of each device driver in this file see the section 4 man page for the
19 1.37 garbled # device.
20 1.37 garbled
21 1.37 garbled include "arch/sandpoint/conf/std.sandpoint"
22 1.37 garbled
23 1.37 garbled options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24 1.37 garbled
25 1.51 nisimura #ident "GENERIC-$Revision: 1.51 $"
26 1.37 garbled
27 1.37 garbled maxusers 32
28 1.37 garbled
29 1.48 phx #options ALTIVEC # Include AltiVec support
30 1.37 garbled
31 1.37 garbled #options IPKDBUSERHACK # Allow access to mapped memory via kgdb
32 1.37 garbled #options DEBUG_BY_TOOLS # Allow debugging from toolsnet
33 1.37 garbled # HMAC key to be used for debugging sessions
34 1.37 garbled #options IPKDBKEY="\"HMAC pass phrase text\""
35 1.37 garbled #options IPKDBSECURE # Allow debugging even when securelevel > 0
36 1.37 garbled #makeoptions DEBUG="-g"
37 1.37 garbled
38 1.51 nisimura #options MODULAR # module(7) support
39 1.51 nisimura
40 1.37 garbled #options DEBUG
41 1.37 garbled options DIAGNOSTIC
42 1.37 garbled options TRAP_PANICWAIT
43 1.37 garbled options DDB
44 1.37 garbled #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
45 1.37 garbled options KTRACE
46 1.37 garbled #options PMAPCHECK
47 1.37 garbled #options PMAPDEBUG
48 1.37 garbled #options SYMTAB_SPACE=300000
49 1.37 garbled #options USERCONF # userconf(4) support
50 1.37 garbled #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
51 1.37 garbled options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
52 1.37 garbled
53 1.37 garbled # Compatibility options
54 1.37 garbled options COMPAT_NOMID # NetBSD 0.8, 386BSD, and BSDI
55 1.37 garbled options COMPAT_09 # NetBSD 0.9
56 1.37 garbled options COMPAT_10 # NetBSD 1.0
57 1.37 garbled options COMPAT_11 # NetBSD 1.1
58 1.37 garbled options COMPAT_12 # NetBSD 1.2, 386BSD, and BSDI
59 1.37 garbled options COMPAT_13 # NetBSD 1.3, 386BSD, and BSDI
60 1.37 garbled options COMPAT_14 # NetBSD 1.4
61 1.37 garbled options COMPAT_15 # NetBSD 1.5
62 1.37 garbled options COMPAT_16 # NetBSD 1.6
63 1.37 garbled options COMPAT_20 # NetBSD 2.0
64 1.37 garbled options COMPAT_30 # NetBSD 3.0
65 1.39 nisimura options COMPAT_40 # NetBSD 4.0
66 1.43 mrg options COMPAT_50 # NetBSD 5.0 compatibility.
67 1.37 garbled options COMPAT_43 # 4.3BSD, 386BSD, and BSDI
68 1.37 garbled #options COMPAT_386BSD_MBRPART # recognize old partition ID
69 1.37 garbled #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
70 1.37 garbled
71 1.37 garbled options COMPAT_LINUX # binary compatibility with Linux
72 1.37 garbled options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
73 1.37 garbled
74 1.37 garbled options MSGBUFSIZE=65536
75 1.37 garbled
76 1.37 garbled file-system FFS # UFS
77 1.37 garbled file-system EXT2FS # second extended file system (linux)
78 1.37 garbled #file-system LFS # log-structured file system
79 1.37 garbled file-system MFS # memory file system
80 1.37 garbled file-system NFS # Network File System client
81 1.37 garbled #file-system NTFS # Windows/NT file system (experimental)
82 1.37 garbled #file-system CD9660 # ISO 9660 + Rock Ridge file system
83 1.48 phx file-system MSDOSFS # MS-DOS file system
84 1.37 garbled file-system FDESC # /dev/fd
85 1.37 garbled file-system KERNFS # /kern
86 1.37 garbled file-system NULLFS # loopback file system
87 1.37 garbled #file-system OVERLAY # overlay file system
88 1.48 phx file-system PROCFS # /proc
89 1.37 garbled #file-system UMAPFS # NULLFS + uid and gid remapping
90 1.37 garbled #file-system UNION # union file system
91 1.37 garbled #file-system CODA # Coda File System; also needs vcoda (below)
92 1.37 garbled #file-system SMBFS # experimental - CIFS; also needs nsmb (below)
93 1.37 garbled file-system PTYFS # /dev/ptm support
94 1.37 garbled file-system TMPFS # Efficient memory file-system
95 1.37 garbled
96 1.37 garbled # File system options
97 1.37 garbled options QUOTA # UFS quotas
98 1.37 garbled #options FFS_EI # FFS Endian Independent support
99 1.40 simonb options WAPBL # File system journaling support - Experimental
100 1.37 garbled options NFSSERVER # Network File System server
101 1.37 garbled #options FFS_NO_SNAPSHOT # No FFS snapshot support
102 1.37 garbled #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
103 1.37 garbled
104 1.37 garbled options INET
105 1.47 phx options INET6 # IPV6
106 1.37 garbled #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
107 1.37 garbled
108 1.37 garbled #options ALTQ # Manipulate network interfaces' output queues
109 1.37 garbled #options ALTQ_BLUE # Stochastic Fair Blue
110 1.37 garbled #options ALTQ_CBQ # Class-Based Queueing
111 1.37 garbled #options ALTQ_CDNR # Diffserv Traffic Conditioner
112 1.37 garbled #options ALTQ_FIFOQ # First-In First-Out Queue
113 1.37 garbled #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
114 1.37 garbled #options ALTQ_HFSC # Hierarchical Fair Service Curve
115 1.37 garbled #options ALTQ_LOCALQ # Local queueing discipline
116 1.37 garbled #options ALTQ_PRIQ # Priority Queueing
117 1.37 garbled #options ALTQ_RED # Random Early Detection
118 1.37 garbled #options ALTQ_RIO # RED with IN/OUT
119 1.37 garbled #options ALTQ_WFQ # Weighted Fair Queueing
120 1.37 garbled
121 1.37 garbled options NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTP
122 1.37 garbled
123 1.37 garbled config netbsd root on ? type ?
124 1.37 garbled
125 1.50 phx # network pseudo-devices
126 1.37 garbled pseudo-device bpfilter # packet filter
127 1.37 garbled pseudo-device vlan # IEEE 802.1q encapsulation
128 1.37 garbled #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
129 1.37 garbled #pseudo-device bridge # simple inter-network bridging
130 1.37 garbled #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
131 1.37 garbled #pseudo-device ipfilter
132 1.37 garbled pseudo-device loop
133 1.37 garbled
134 1.37 garbled # miscellaneous pseudo-devices
135 1.37 garbled pseudo-device rnd # /dev/random and in-kernel generator
136 1.37 garbled pseudo-device vnd
137 1.37 garbled #options VND_COMPRESSION # compressed vnd(4)
138 1.37 garbled #pseudo-device cgd 4 # cryptographic disk devices
139 1.37 garbled pseudo-device pty
140 1.37 garbled pseudo-device clockctl # user control of clock subsystem
141 1.37 garbled pseudo-device ksyms # /dev/ksyms
142 1.37 garbled #pseudo-device pf # PF packet filter
143 1.37 garbled #pseudo-device pflog # PF log if
144 1.49 phx pseudo-device fss # file system snapshot device
145 1.37 garbled
146 1.37 garbled #
147 1.37 garbled # device
148 1.37 garbled #
149 1.37 garbled options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
150 1.37 garbled
151 1.48 phx #options PCIVERBOSE # verbose PCI device messages
152 1.37 garbled #options PCI_CONFIG_DUMP # verbosely dump PCI config space
153 1.48 phx #options PCI_NETBSD_CONFIGURE # Have NetBSD configure PCI I/O & Mem
154 1.37 garbled
155 1.37 garbled mainbus0 at root
156 1.37 garbled
157 1.37 garbled cpu* at mainbus0
158 1.37 garbled pci* at mainbus0 bus ?
159 1.37 garbled
160 1.37 garbled pchb* at pci? dev ? function ? # PCI host bridge
161 1.37 garbled
162 1.37 garbled eumb* at mainbus0
163 1.48 phx com0 at eumb? unit 0 # console at 0x4500
164 1.48 phx #com1 at eumb? unit 1
165 1.48 phx satmgr0 at eumb? unit 1 # satmgr at 0x4600
166 1.37 garbled ociic* at eumb?
167 1.37 garbled iic* at ociic?
168 1.48 phx rs5c372rtc* at iic? addr 0x32
169 1.37 garbled
170 1.37 garbled # PCI IDE controllers - see pciide(4) for supported hardware.
171 1.37 garbled cmdide* at pci? dev ? function ? # CMD tech IDE controllers
172 1.37 garbled iteide* at pci? dev ? function ? # IT Express IDE controllers
173 1.37 garbled satalink* at pci? dev ? function ? # SiI SATALink controllers
174 1.37 garbled
175 1.37 garbled # ATA (IDE) bus support
176 1.37 garbled atabus* at ata?
177 1.37 garbled
178 1.37 garbled # IDE drives
179 1.37 garbled wd* at atabus? drive ? flags 0x0000 # the drives themselves
180 1.37 garbled
181 1.37 garbled # PCI network interfaces
182 1.37 garbled tlp* at pci? dev ? function ? # DEC Tulip and similar
183 1.37 garbled re* at pci? dev ? function ? # Realtek 8139C+/8169/8169S/8110S
184 1.46 phx skc* at pci? dev ? function ? # Marvell Yukon Gigabit Ethernet
185 1.46 phx sk* at skc? # Marvell Yukon Gigabit Ethernet
186 1.37 garbled wm* at pci? dev ? function ? # Intel 8254x gigabit
187 1.48 phx fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
188 1.37 garbled
189 1.37 garbled inphy* at mii? phy ? # Intel 82555 PHYs
190 1.37 garbled nsphy* at mii? phy ? # NS83840 PHYs
191 1.37 garbled rgephy* at mii? phy ? # Realtek 8169S/8110S internal PHYs
192 1.37 garbled makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
193 1.37 garbled ukphy* at mii? phy ? # generic unknown PHYs
194 1.37 garbled
195 1.37 garbled # USB Controller and Devices
196 1.37 garbled ehci* at pci? dev ? function ? # Enhanced Host Controller
197 1.37 garbled ohci* at pci? dev ? function ? # Open Host Controller
198 1.37 garbled
199 1.37 garbled # USB bus support
200 1.37 garbled usb* at ehci?
201 1.37 garbled usb* at ohci?
202 1.37 garbled
203 1.37 garbled # USB Hubs
204 1.37 garbled uhub* at usb?
205 1.37 garbled uhub* at uhub? port ?
206 1.37 garbled
207 1.37 garbled # USB Mass Storage
208 1.37 garbled umass* at uhub? port ? configuration ? interface ?
209 1.37 garbled wd* at umass?
210 1.37 garbled
211 1.37 garbled scsibus* at umass?
212 1.37 garbled sd* at scsibus? target ? lun ? # SCSI disk drives
213 1.35 elad
214 1.35 elad # Veriexec
215 1.35 elad #
216 1.35 elad # a pseudo device needed for veriexec
217 1.35 elad #pseudo-device veriexec 1
218 1.35 elad #
219 1.35 elad # Uncomment the fingerprint methods below that are desired. Note that
220 1.35 elad # removing fingerprint methods will have almost no impact on the kernel
221 1.35 elad # code size.
222 1.35 elad #
223 1.35 elad #options VERIFIED_EXEC_FP_RMD160
224 1.35 elad #options VERIFIED_EXEC_FP_SHA256
225 1.35 elad #options VERIFIED_EXEC_FP_SHA384
226 1.35 elad #options VERIFIED_EXEC_FP_SHA512
227 1.35 elad #options VERIFIED_EXEC_FP_SHA1
228 1.35 elad #options VERIFIED_EXEC_FP_MD5
229