GENERIC revision 1.29 1 1.29 nonaka # $NetBSD: GENERIC,v 1.29 2009/12/13 04:36:02 nonaka Exp $
2 1.1 ober #
3 1.1 ober # GENERIC machine description file
4 1.1 ober #
5 1.1 ober # This machine description file is used to generate the default NetBSD
6 1.1 ober # kernel. The generic kernel does not include all options, subsystems
7 1.1 ober # and device drivers, but should be useful for most applications.
8 1.1 ober #
9 1.1 ober # The machine description file can be customised for your specific
10 1.1 ober # machine to reduce the kernel size and improve its performance.
11 1.1 ober #
12 1.1 ober # For further information on compiling NetBSD kernels, see the config(8)
13 1.1 ober # man page.
14 1.1 ober #
15 1.1 ober # For further information on hardware support for this architecture, see
16 1.1 ober # the intro(4) man page. For further information about kernel options
17 1.1 ober # for this architecture, see the options(4) man page. For an explanation
18 1.1 ober # of each device driver in this file see the section 4 man page for the
19 1.1 ober # device.
20 1.1 ober
21 1.1 ober include "arch/zaurus/conf/std.zaurus"
22 1.1 ober
23 1.1 ober #options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24 1.1 ober
25 1.1 ober maxusers 32 # estimated number of users
26 1.1 ober
27 1.1 ober # CPU options
28 1.1 ober
29 1.1 ober # For XScale systems
30 1.1 ober #options CPU_XSCALE_PXA250 # Support the XScale PXA25x core
31 1.1 ober options CPU_XSCALE_PXA270 # Support the XScale PXA27x core
32 1.1 ober makeoptions CPUFLAGS="-mcpu=xscale"
33 1.1 ober
34 1.1 ober # Architecture options
35 1.1 ober options XSCALE_CACHE_READ_WRITE_ALLOCATE
36 1.1 ober options PXAGPIO_HAS_GPION_INTRS
37 1.1 ober
38 1.22 nonaka # in-kernel bootloader, see kloader(4)
39 1.29 nonaka #options KLOADER
40 1.22 nonaka #options KLOADER_KERNEL_PATH="\"/netbsd\""
41 1.22 nonaka #options KLOADER_DEBUG
42 1.22 nonaka
43 1.1 ober # Standard system options
44 1.2 peter options INSECURE # disable kernel security levels
45 1.1 ober
46 1.1 ober options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
47 1.1 ober #options HZ=512 # clock interrupt generates every 1/HZ sec
48 1.1 ober #options NTP # NTP phase/frequency locked loop
49 1.1 ober
50 1.1 ober # File systems
51 1.1 ober file-system FFS # UFS
52 1.1 ober #file-system EXT2FS # second extended file system (linux)
53 1.5 ober file-system LFS # log-structured file system
54 1.1 ober file-system MFS # memory file system
55 1.2 peter file-system NFS # Network File System client
56 1.1 ober #file-system NTFS # Windows/NT file system (experimental)
57 1.1 ober #file-system CD9660 # ISO 9660 + Rock Ridge file system
58 1.2 peter file-system MSDOSFS # MS-DOS file system
59 1.1 ober #file-system FDESC # /dev/fd
60 1.1 ober file-system KERNFS # /kern
61 1.2 peter file-system NULLFS # loopback file system
62 1.1 ober #file-system OVERLAY # overlay file system
63 1.2 peter file-system PROCFS # /proc
64 1.1 ober #file-system UMAPFS # NULLFS + uid and gid remapping
65 1.1 ober #file-system UNION # union file system
66 1.1 ober #file-system CODA # Coda File System; also needs vcoda (below)
67 1.2 peter file-system PTYFS # /dev/pts/N support
68 1.1 ober file-system TMPFS # Efficient memory file-system
69 1.1 ober #file-system UDF # experimental - OSTA UDF CD/DVD file-system
70 1.1 ober
71 1.1 ober # File system options
72 1.1 ober #options QUOTA # UFS quotas
73 1.1 ober #options FFS_EI # FFS Endian Independant support
74 1.1 ober #options NFSSERVER
75 1.12 simonb options WAPBL # File system journaling support - Experimental
76 1.1 ober #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
77 1.1 ober options FFS_NO_SNAPSHOT # No FFS snapshot support
78 1.1 ober #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
79 1.1 ober # immutable) behave as system flags.
80 1.1 ober
81 1.1 ober # Networking options
82 1.1 ober #options GATEWAY # packet forwarding
83 1.1 ober options INET # IP + ICMP + TCP + UDP
84 1.2 peter options INET6 # IPv6
85 1.1 ober
86 1.1 ober # Compatibility options
87 1.2 peter options COMPAT_09 # NetBSD 0.9,
88 1.2 peter options COMPAT_10 # NetBSD 1.0,
89 1.2 peter options COMPAT_11 # NetBSD 1.1,
90 1.2 peter options COMPAT_12 # NetBSD 1.2,
91 1.2 peter options COMPAT_13 # NetBSD 1.3,
92 1.2 peter options COMPAT_14 # NetBSD 1.4,
93 1.2 peter options COMPAT_15 # NetBSD 1.5,
94 1.2 peter options COMPAT_16 # NetBSD 1.6,
95 1.2 peter options COMPAT_20 # NetBSD 2.0,
96 1.6 nonaka options COMPAT_30 # NetBSD 3.0,
97 1.20 nonaka options COMPAT_40 # NetBSD 4.0,
98 1.16 mrg options COMPAT_50 # NetBSD 5.0 compatibility.
99 1.1 ober options COMPAT_43 # and 4.3BSD
100 1.1 ober #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
101 1.2 peter
102 1.1 ober options COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
103 1.1 ober options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
104 1.1 ober
105 1.1 ober # Shared memory options
106 1.1 ober
107 1.1 ober options SYSVMSG # System V-like message queues
108 1.1 ober options SYSVSEM # System V-like semaphores
109 1.1 ober options SYSVSHM # System V-like memory sharing
110 1.1 ober options P1003_1B_SEMAPHORE # p1003.1b semaphore support
111 1.1 ober
112 1.1 ober # Device options
113 1.1 ober
114 1.1 ober # Miscellaneous kernel options
115 1.1 ober #options KTRACE # system call tracing via ktrace(1)
116 1.1 ober #options KMEMSTATS # kernel memory statistics
117 1.1 ober #options SCSIVERBOSE # Verbose SCSI errors
118 1.1 ober #options MIIVERBOSE # Verbose MII autoconfuration messages
119 1.1 ober #options USBVERBOSE # verbose USB device autoconfig messages
120 1.1 ober #options USERCONF # userconf(4) support
121 1.1 ober #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
122 1.1 ober #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
123 1.1 ober
124 1.1 ober #
125 1.1 ober # wscons options
126 1.1 ober #
127 1.1 ober # builtin terminal emulations
128 1.2 peter options WSEMUL_VT100
129 1.1 ober # allocate a number of virtual screens at autoconfiguration time
130 1.2 peter #options WSDISPLAY_DEFAULTSCREENS=2
131 1.1 ober
132 1.1 ober # customization of console and kernel output - see dev/wscons/wsdisplayvar.h
133 1.1 ober #options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8)
134 1.1 ober #options WS_DEFAULT_FG=WSCOL_WHITE
135 1.1 ober #options WS_DEFAULT_BG=WSCOL_BLACK
136 1.1 ober #options WS_DEFAULT_COLATTR="(0)"
137 1.1 ober #options WS_DEFAULT_MONOATTR="(0)"
138 1.19 nonaka options WS_KERNEL_FG=WSCOL_GREEN
139 1.2 peter #options WS_KERNEL_BG=WSCOL_BLACK
140 1.1 ober #options WS_KERNEL_COLATTR=""
141 1.1 ober #options WS_KERNEL_MONOATTR=""
142 1.1 ober
143 1.1 ober # compatibility to other console drivers
144 1.2 peter options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
145 1.2 peter options WSDISPLAY_COMPAT_USL # VT handling
146 1.27 nonaka options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
147 1.1 ober
148 1.1 ober # Development and Debugging options
149 1.1 ober
150 1.1 ober options DIAGNOSTIC # internally consistency checks
151 1.2 peter #options DEBUG
152 1.1 ober #options VERBOSE_INIT_ARM # verbose bootstraping messages
153 1.1 ober options DDB # in-kernel debugger
154 1.1 ober options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
155 1.1 ober #options KGDB
156 1.1 ober #makeoptions DEBUG="-g" # compile full symbol table
157 1.19 nonaka options SYMTAB_SPACE=512000
158 1.1 ober
159 1.1 ober
160 1.1 ober # Kernel root file system and dump configuration.
161 1.1 ober config netbsd root on ? type ?
162 1.1 ober
163 1.1 ober
164 1.1 ober # The main bus device
165 1.1 ober mainbus0 at root
166 1.1 ober
167 1.1 ober # The boot cpu
168 1.1 ober cpu0 at mainbus?
169 1.1 ober
170 1.1 ober # integrated peripherals
171 1.1 ober pxaip0 at mainbus?
172 1.1 ober
173 1.26 nonaka pxaintc0 at pxaip? # interrupt controller
174 1.26 nonaka pxagpio0 at pxaip? # GPIO
175 1.26 nonaka pxartc0 at pxaip? addr 0x40900000 # RTC
176 1.1 ober
177 1.18 nonaka # DMAC support
178 1.18 nonaka pxadmac0 at pxaip? addr 0x40000000 intr 25
179 1.18 nonaka options PXA2X0_DMAC_DMOVER_CONCURRENCY=4 # Enable dmover(9) backend
180 1.18 nonaka #options PXA2X0_DMAC_FIXED_PRIORITY # Don't want multiple priority
181 1.18 nonaka
182 1.7 nonaka # Power management
183 1.7 nonaka zapm0 at pxaip? # power management
184 1.7 nonaka apmdev0 at zapm0 # APM
185 1.7 nonaka
186 1.1 ober # PCMCIA/CF socket and GPIO controllers
187 1.1 ober scoop0 at pxaip?
188 1.1 ober scoop1 at pxaip?
189 1.1 ober
190 1.2 peter # ADC, touchpad, backlight
191 1.2 peter zssp0 at pxaip?
192 1.1 ober
193 1.2 peter # touchpad
194 1.2 peter ztp0 at pxaip?
195 1.2 peter wsmouse* at ztp? mux 0
196 1.1 ober
197 1.1 ober # keyboard
198 1.2 peter zkbd0 at pxaip?
199 1.2 peter wskbd* at zkbd? mux 1
200 1.1 ober
201 1.2 peter # remote controller
202 1.2 peter zrc0 at pxaip?
203 1.2 peter wskbd* at zrc? mux 1
204 1.1 ober
205 1.1 ober # LCD
206 1.2 peter lcd0 at pxaip?
207 1.2 peter wsdisplay* at lcd? console ?
208 1.1 ober
209 1.2 peter # Audio
210 1.23 nonaka zaudio0 at pxaip?
211 1.23 nonaka audio* at zaudio?
212 1.1 ober
213 1.2 peter # Audio support
214 1.23 nonaka audio* at audiobus?
215 1.2 peter
216 1.2 peter # integrated 16550 UARTs
217 1.1 ober options COM_PXA2X0
218 1.1 ober com0 at pxaip? addr 0x40100000 intr 22 # Full Function UART
219 1.1 ober com1 at pxaip? addr 0x40200000 intr 21 # Bluetooth UART
220 1.1 ober com2 at pxaip? addr 0x40700000 intr 20 # Standard UART (for IrDA)
221 1.1 ober
222 1.1 ober # integrated PCMCIA/CF controller
223 1.1 ober pxapcic0 at pxaip?
224 1.1 ober
225 1.1 ober # PCMCIA bus support
226 1.1 ober pcmcia* at pxapcic?
227 1.1 ober
228 1.1 ober # PCMCIA (CF) devices
229 1.1 ober com* at pcmcia? # PCMCIA modems/serial ports
230 1.1 ober wi* at pcmcia? # WaveLAN IEEE 802.11DS
231 1.1 ober ne* at pcmcia? # PCMCIA based NE2000 ethernet
232 1.1 ober wdc* at pcmcia? # hard disk controller
233 1.1 ober
234 1.1 ober atabus* at wdc? channel ?
235 1.1 ober
236 1.1 ober # IDE hard drives
237 1.1 ober wd* at atabus? drive ? flags 0x0000
238 1.1 ober
239 1.2 peter
240 1.2 peter # USB Controller and Devices
241 1.17 nonaka zusb* at pxaip?
242 1.25 kiyohara #pxaudc0 at pxaip? addr 0x40600000 # USB Device Controller
243 1.25 kiyohara ohci0 at pxaip? addr 0x4c000000 intr 3 # USB Host Controller
244 1.2 peter
245 1.8 kiyohara # PCMCIA USB controllers
246 1.8 kiyohara #slhci* at pcmcia? function ? # ScanLogic SL811HS
247 1.8 kiyohara
248 1.2 peter # USB bus support
249 1.17 nonaka usb* at ohci?
250 1.8 kiyohara #usb* at slhci?
251 1.2 peter
252 1.2 peter # USB Hubs
253 1.17 nonaka uhub* at usb?
254 1.17 nonaka uhub* at uhub? port ?
255 1.2 peter
256 1.2 peter # USB HID device
257 1.17 nonaka uhidev* at uhub? port ? configuration ? interface ?
258 1.2 peter
259 1.2 peter # USB Mice
260 1.17 nonaka ums* at uhidev? reportid ?
261 1.17 nonaka wsmouse* at ums? mux 0
262 1.2 peter
263 1.2 peter # USB Keyboards
264 1.17 nonaka ukbd* at uhidev? reportid ?
265 1.17 nonaka wskbd* at ukbd? console ? mux 1
266 1.2 peter
267 1.2 peter # USB Generic HID devices
268 1.17 nonaka uhid* at uhidev? reportid ?
269 1.2 peter
270 1.2 peter # USB Mass Storage
271 1.17 nonaka umass* at uhub? port ? configuration ? interface ?
272 1.17 nonaka wd* at umass?
273 1.2 peter
274 1.21 nonaka # SCSI bus support
275 1.21 nonaka scsibus* at scsi?
276 1.21 nonaka
277 1.21 nonaka # SCSI devices
278 1.21 nonaka sd* at scsibus? target ? lun ? # SCSI disk drives
279 1.21 nonaka cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
280 1.21 nonaka uk* at scsibus? target ? lun ? # SCSI unknown
281 1.21 nonaka
282 1.2 peter # USB audio
283 1.2 peter #uaudio* at uhub? port ? configuration ?
284 1.2 peter
285 1.17 nonaka # USB Ethernet adapters
286 1.17 nonaka aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
287 1.17 nonaka axe* at uhub? port ? # ASIX AX88172 based adapters
288 1.17 nonaka cdce* at uhub? port ? # CDC, Ethernet Networking Control Model
289 1.17 nonaka cue* at uhub? port ? # CATC USB-EL1201A based adapters
290 1.17 nonaka kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
291 1.17 nonaka udav* at uhub? port ? # Davicom DM9601 based adapters
292 1.17 nonaka url* at uhub? port ? # Realtek RTL8150L based adapters
293 1.17 nonaka
294 1.2 peter # Kyocera AIR-EDGE PHONE
295 1.2 peter #ukyopon* at uhub? port ?
296 1.2 peter #ucom* at ukyopon? portno ?
297 1.2 peter
298 1.2 peter # USB Generic driver
299 1.17 nonaka ugen* at uhub? port ?
300 1.17 nonaka
301 1.17 nonaka # MII/PHY support
302 1.17 nonaka acphy* at mii? phy ? # DAltima AC101 and AMD Am79c874 PHYs
303 1.17 nonaka amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs
304 1.17 nonaka bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs
305 1.17 nonaka brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs
306 1.17 nonaka dmphy* at mii? phy ? # Davicom DM9101 PHYs
307 1.17 nonaka exphy* at mii? phy ? # 3Com internal PHYs
308 1.17 nonaka glxtphy* at mii? phy ? # Level One LXT-1000 PHYs
309 1.17 nonaka gphyter* at mii? phy ? # NS83861 Gig-E PHY
310 1.17 nonaka icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
311 1.17 nonaka inphy* at mii? phy ? # Intel 82555 PHYs
312 1.17 nonaka iophy* at mii? phy ? # Intel 82553 PHYs
313 1.17 nonaka lxtphy* at mii? phy ? # Level One LXT-970 PHYs
314 1.17 nonaka makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
315 1.17 nonaka nsphy* at mii? phy ? # NS83840 PHYs
316 1.17 nonaka nsphyter* at mii? phy ? # NS83843 PHYs
317 1.17 nonaka pnaphy* at mii? phy ? # generic HomePNA PHYs
318 1.17 nonaka qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
319 1.17 nonaka sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
320 1.17 nonaka tlphy* at mii? phy ? # ThunderLAN PHYs
321 1.17 nonaka tqphy* at mii? phy ? # TDK Semiconductor PHYs
322 1.17 nonaka ukphy* at mii? phy ? # generic unknown PHYs
323 1.17 nonaka urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs
324 1.17 nonaka
325 1.2 peter
326 1.2 peter # integrated MMC/SD contoller
327 1.24 nonaka pxamci0 at pxaip? addr 0x41100000 size 0x48
328 1.24 nonaka sdmmc* at pxamci?
329 1.2 peter #options PXAMCI_DEBUG
330 1.2 peter #options SDMMC_DEBUG
331 1.2 peter #options SDMMC_DUMP_CSD
332 1.2 peter
333 1.24 nonaka ld* at sdmmc? # MMC/SD/SDHC card
334 1.2 peter
335 1.2 peter
336 1.1 ober # Pseudo-Devices
337 1.1 ober
338 1.1 ober # disk/mass storage pseudo-devices
339 1.2 peter pseudo-device md 1 # memory disk device (ramdisk)
340 1.2 peter pseudo-device vnd 4 # disk-like interface to files
341 1.2 peter options VND_COMPRESSION # compressed vnd(4)
342 1.1 ober
343 1.1 ober # network pseudo-devices
344 1.1 ober pseudo-device loop # network loopback
345 1.1 ober
346 1.13 tls #
347 1.13 tls # accept filters
348 1.17 nonaka pseudo-device accf_data # "dataready" accept filter
349 1.17 nonaka pseudo-device accf_http # "httpready" accept filter
350 1.13 tls
351 1.1 ober # miscellaneous pseudo-devices
352 1.1 ober pseudo-device pty # pseudo-terminals
353 1.1 ober #pseudo-device sequencer # MIDI sequencer
354 1.1 ober pseudo-device rnd # /dev/random and in-kernel generator
355 1.1 ober pseudo-device clockctl # user control of clock subsystem
356 1.1 ober pseudo-device ksyms # /dev/ksyms
357 1.1 ober
358 1.1 ober # a pseudo device needed for Coda # also needs CODA (above)
359 1.1 ober #pseudo-device vcoda 4 # coda minicache <-> venus comm.
360 1.1 ober
361 1.1 ober # a pseudo device needed for SMBFS
362 1.1 ober #pseudo-device nsmb # experimental - SMB requester
363 1.1 ober
364 1.1 ober # a pseudo device needed for verified exec
365 1.1 ober #pseudo-device veriexec 1
366 1.1 ober
367 1.1 ober # wscons pseudo-devices
368 1.2 peter pseudo-device wsmux # mouse & keyboard multiplexor
369 1.2 peter pseudo-device wsfont
370 1.7 nonaka pseudo-device bpfilter # Berkeley packet filter
371