GENERIC revision 1.72 1 1.72 rin # $NetBSD: GENERIC,v 1.72 2017/02/26 12:03:15 rin 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.51 tsutsui options CPU_XSCALE_PXA250 # Support the XScale PXA25x core
31 1.50 tsutsui 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.46 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.35 nonaka #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.42 nonaka 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.66 nonaka file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
64 1.2 peter file-system PROCFS # /proc
65 1.1 ober #file-system UMAPFS # NULLFS + uid and gid remapping
66 1.1 ober #file-system UNION # union file system
67 1.1 ober #file-system CODA # Coda File System; also needs vcoda (below)
68 1.2 peter file-system PTYFS # /dev/pts/N support
69 1.1 ober file-system TMPFS # Efficient memory file-system
70 1.1 ober #file-system UDF # experimental - OSTA UDF CD/DVD file-system
71 1.1 ober
72 1.1 ober # File system options
73 1.34 bouyer #options QUOTA # legacy UFS quotas
74 1.34 bouyer #options QUOTA2 # new, in-filesystem UFS quotas
75 1.71 rin #options DISKLABEL_EI # disklabel Endian Independent support
76 1.44 wiz #options FFS_EI # FFS Endian Independent support
77 1.1 ober #options NFSSERVER
78 1.48 dholland options WAPBL # File system journaling support
79 1.1 ober #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
80 1.1 ober options FFS_NO_SNAPSHOT # No FFS snapshot support
81 1.64 manu #options UFS_EXTATTR # Extended attribute support for UFS1
82 1.1 ober #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
83 1.1 ober # immutable) behave as system flags.
84 1.1 ober
85 1.1 ober # Networking options
86 1.1 ober #options GATEWAY # packet forwarding
87 1.1 ober options INET # IP + ICMP + TCP + UDP
88 1.2 peter options INET6 # IPv6
89 1.1 ober
90 1.1 ober # Compatibility options
91 1.57 martin options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries
92 1.37 tsutsui #options COMPAT_09 # NetBSD 0.9,
93 1.37 tsutsui #options COMPAT_10 # NetBSD 1.0,
94 1.37 tsutsui #options COMPAT_11 # NetBSD 1.1,
95 1.37 tsutsui #options COMPAT_12 # NetBSD 1.2,
96 1.2 peter options COMPAT_13 # NetBSD 1.3,
97 1.2 peter options COMPAT_14 # NetBSD 1.4,
98 1.2 peter options COMPAT_15 # NetBSD 1.5,
99 1.2 peter options COMPAT_16 # NetBSD 1.6,
100 1.2 peter options COMPAT_20 # NetBSD 2.0,
101 1.6 nonaka options COMPAT_30 # NetBSD 3.0,
102 1.20 nonaka options COMPAT_40 # NetBSD 4.0,
103 1.61 dholland options COMPAT_50 # NetBSD 5.0,
104 1.61 dholland options COMPAT_60 # NetBSD 6.0, and
105 1.61 dholland options COMPAT_70 # NetBSD 7.0 binary compatibility.
106 1.1 ober options COMPAT_43 # and 4.3BSD
107 1.1 ober #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
108 1.2 peter
109 1.1 ober options COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
110 1.1 ober options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
111 1.1 ober
112 1.35 nonaka # Wedge support
113 1.35 nonaka options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances
114 1.60 christos options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges
115 1.63 christos #options DKWEDGE_METHOD_BSDLABEL # Support disklabel entries as wedges
116 1.63 christos #options DKWEDGE_METHOD_MBR # Support MBR partitions as wedges
117 1.60 christos options DKWEDGE_METHOD_APPLE # Support Apple partitions as wedges
118 1.72 rin #options DKWEDGE_METHOD_RDB # Support RDB partitions as wedges
119 1.35 nonaka
120 1.1 ober # Shared memory options
121 1.1 ober
122 1.1 ober options SYSVMSG # System V-like message queues
123 1.1 ober options SYSVSEM # System V-like semaphores
124 1.1 ober options SYSVSHM # System V-like memory sharing
125 1.1 ober
126 1.41 tsutsui # Loadable kernel module support
127 1.41 tsutsui #options MODULAR # new style module(7) framework
128 1.62 jnemeth #options MODULAR_DEFAULT_AUTOLOAD
129 1.41 tsutsui
130 1.1 ober # Device options
131 1.1 ober
132 1.1 ober # Miscellaneous kernel options
133 1.50 tsutsui #options KTRACE # system call tracing via ktrace(1)
134 1.50 tsutsui #options SCSIVERBOSE # Verbose SCSI errors
135 1.50 tsutsui #options MIIVERBOSE # Verbose MII autoconfuration messages
136 1.50 tsutsui #options USBVERBOSE # verbose USB device autoconfig messages
137 1.50 tsutsui #options USERCONF # userconf(4) support
138 1.1 ober #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
139 1.50 tsutsui #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
140 1.69 christos options NOPORTALGO
141 1.1 ober
142 1.1 ober #
143 1.1 ober # wscons options
144 1.1 ober #
145 1.1 ober # builtin terminal emulations
146 1.2 peter options WSEMUL_VT100
147 1.1 ober # allocate a number of virtual screens at autoconfiguration time
148 1.2 peter #options WSDISPLAY_DEFAULTSCREENS=2
149 1.1 ober
150 1.1 ober # customization of console and kernel output - see dev/wscons/wsdisplayvar.h
151 1.1 ober #options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8)
152 1.1 ober #options WS_DEFAULT_FG=WSCOL_WHITE
153 1.1 ober #options WS_DEFAULT_BG=WSCOL_BLACK
154 1.1 ober #options WS_DEFAULT_COLATTR="(0)"
155 1.1 ober #options WS_DEFAULT_MONOATTR="(0)"
156 1.19 nonaka options WS_KERNEL_FG=WSCOL_GREEN
157 1.2 peter #options WS_KERNEL_BG=WSCOL_BLACK
158 1.1 ober #options WS_KERNEL_COLATTR=""
159 1.1 ober #options WS_KERNEL_MONOATTR=""
160 1.1 ober
161 1.1 ober # compatibility to other console drivers
162 1.2 peter options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
163 1.54 abs options WSDISPLAY_COMPAT_USL # wsconscfg VT handling
164 1.27 nonaka options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
165 1.1 ober
166 1.1 ober # Development and Debugging options
167 1.1 ober
168 1.50 tsutsui options DIAGNOSTIC # internal consistency checks
169 1.2 peter #options DEBUG
170 1.50 tsutsui #options VERBOSE_INIT_ARM # verbose bootstraping messages
171 1.50 tsutsui options DDB # in-kernel debugger
172 1.50 tsutsui options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
173 1.1 ober #options KGDB
174 1.50 tsutsui #makeoptions DEBUG="-g" # compile full symbol table
175 1.59 joerg makeoptions COPY_SYMTAB=1
176 1.1 ober
177 1.1 ober
178 1.1 ober # Kernel root file system and dump configuration.
179 1.1 ober config netbsd root on ? type ?
180 1.1 ober
181 1.1 ober
182 1.1 ober # The main bus device
183 1.1 ober mainbus0 at root
184 1.1 ober
185 1.1 ober # The boot cpu
186 1.1 ober cpu0 at mainbus?
187 1.1 ober
188 1.1 ober # integrated peripherals
189 1.1 ober pxaip0 at mainbus?
190 1.1 ober
191 1.36 nonaka pxaintc0 at pxaip? # interrupt controller
192 1.36 nonaka pxagpio0 at pxaip? # GPIO
193 1.36 nonaka pxartc0 at pxaip? addr 0x40900000 size 0x10 # RTC
194 1.1 ober
195 1.18 nonaka # DMAC support
196 1.18 nonaka pxadmac0 at pxaip? addr 0x40000000 intr 25
197 1.50 tsutsui options PXA2X0_DMAC_DMOVER_CONCURRENCY=4 # Enable dmover(9) backend
198 1.50 tsutsui #options PXA2X0_DMAC_FIXED_PRIORITY # Don't want multiple priority
199 1.18 nonaka
200 1.43 nonaka # I2C support
201 1.43 nonaka ziic0 at pxaip?
202 1.43 nonaka iic0 at ziic?
203 1.43 nonaka
204 1.7 nonaka # Power management
205 1.7 nonaka zapm0 at pxaip? # power management
206 1.7 nonaka apmdev0 at zapm0 # APM
207 1.7 nonaka
208 1.1 ober # PCMCIA/CF socket and GPIO controllers
209 1.1 ober scoop0 at pxaip?
210 1.1 ober scoop1 at pxaip?
211 1.1 ober
212 1.43 nonaka # alternate GPIO contoller for SL-C1000
213 1.43 nonaka ioexp0 at iic? addr 0x18
214 1.43 nonaka
215 1.2 peter # ADC, touchpad, backlight
216 1.2 peter zssp0 at pxaip?
217 1.1 ober
218 1.2 peter # touchpad
219 1.49 tsutsui ztp0 at zssp?
220 1.2 peter wsmouse* at ztp? mux 0
221 1.1 ober
222 1.1 ober # keyboard
223 1.2 peter zkbd0 at pxaip?
224 1.2 peter wskbd* at zkbd? mux 1
225 1.1 ober
226 1.2 peter # remote controller
227 1.2 peter zrc0 at pxaip?
228 1.2 peter wskbd* at zrc? mux 1
229 1.1 ober
230 1.1 ober # LCD
231 1.50 tsutsui lcd0 at pxaip? # PXA2x0 integrated LCD Controller
232 1.33 tsutsui options PXA2X0_LCD_WRITETHROUGH
233 1.2 peter wsdisplay* at lcd? console ?
234 1.51 tsutsui w100lcd0 at pxaip? # ATI Imageon100 LCDcontroller
235 1.51 tsutsui wsdisplay* at w100lcd? console ?
236 1.49 tsutsui lcdctl0 at zssp0
237 1.1 ober
238 1.43 nonaka # WM8750 Audio
239 1.43 nonaka zaudio0 at iic? addr 0x1b
240 1.23 nonaka audio* at zaudio?
241 1.43 nonaka #options ZAUDIO_VOLUME_STRIDE=8
242 1.1 ober
243 1.2 peter # Audio support
244 1.23 nonaka audio* at audiobus?
245 1.2 peter
246 1.70 christos spkr* at audio? # PC speaker (synthesized)
247 1.68 nat
248 1.2 peter # integrated 16550 UARTs
249 1.1 ober options COM_PXA2X0
250 1.32 nonaka #options FFUARTCONSOLE
251 1.1 ober com0 at pxaip? addr 0x40100000 intr 22 # Full Function UART
252 1.1 ober com1 at pxaip? addr 0x40200000 intr 21 # Bluetooth UART
253 1.1 ober com2 at pxaip? addr 0x40700000 intr 20 # Standard UART (for IrDA)
254 1.1 ober
255 1.1 ober # integrated PCMCIA/CF controller
256 1.1 ober pxapcic0 at pxaip?
257 1.1 ober
258 1.1 ober # PCMCIA bus support
259 1.1 ober pcmcia* at pxapcic?
260 1.1 ober
261 1.1 ober # PCMCIA (CF) devices
262 1.1 ober com* at pcmcia? # PCMCIA modems/serial ports
263 1.1 ober wi* at pcmcia? # WaveLAN IEEE 802.11DS
264 1.1 ober ne* at pcmcia? # PCMCIA based NE2000 ethernet
265 1.1 ober wdc* at pcmcia? # hard disk controller
266 1.1 ober
267 1.1 ober atabus* at wdc? channel ?
268 1.1 ober
269 1.1 ober # IDE hard drives
270 1.1 ober wd* at atabus? drive ? flags 0x0000
271 1.1 ober
272 1.2 peter
273 1.2 peter # USB Controller and Devices
274 1.17 nonaka zusb* at pxaip?
275 1.25 kiyohara #pxaudc0 at pxaip? addr 0x40600000 # USB Device Controller
276 1.25 kiyohara ohci0 at pxaip? addr 0x4c000000 intr 3 # USB Host Controller
277 1.2 peter
278 1.8 kiyohara # PCMCIA USB controllers
279 1.8 kiyohara #slhci* at pcmcia? function ? # ScanLogic SL811HS
280 1.8 kiyohara
281 1.2 peter # USB bus support
282 1.17 nonaka usb* at ohci?
283 1.8 kiyohara #usb* at slhci?
284 1.2 peter
285 1.2 peter # USB Hubs
286 1.17 nonaka uhub* at usb?
287 1.17 nonaka uhub* at uhub? port ?
288 1.2 peter
289 1.2 peter # USB HID device
290 1.17 nonaka uhidev* at uhub? port ? configuration ? interface ?
291 1.2 peter
292 1.2 peter # USB Mice
293 1.17 nonaka ums* at uhidev? reportid ?
294 1.17 nonaka wsmouse* at ums? mux 0
295 1.2 peter
296 1.2 peter # USB Keyboards
297 1.17 nonaka ukbd* at uhidev? reportid ?
298 1.17 nonaka wskbd* at ukbd? console ? mux 1
299 1.2 peter
300 1.2 peter # USB Generic HID devices
301 1.17 nonaka uhid* at uhidev? reportid ?
302 1.2 peter
303 1.2 peter # USB Mass Storage
304 1.17 nonaka umass* at uhub? port ? configuration ? interface ?
305 1.17 nonaka wd* at umass?
306 1.2 peter
307 1.21 nonaka # SCSI bus support
308 1.21 nonaka scsibus* at scsi?
309 1.21 nonaka
310 1.21 nonaka # SCSI devices
311 1.21 nonaka sd* at scsibus? target ? lun ? # SCSI disk drives
312 1.21 nonaka cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
313 1.21 nonaka uk* at scsibus? target ? lun ? # SCSI unknown
314 1.21 nonaka
315 1.38 tsutsui # ATAPI bus support
316 1.38 tsutsui atapibus* at atapi?
317 1.38 tsutsui
318 1.38 tsutsui # ATAPI devices
319 1.38 tsutsui cd* at atapibus? drive ? # ATAPI CD-ROM drives
320 1.38 tsutsui #sd* at atapibus? drive ? # ATAPI disk drives
321 1.38 tsutsui #st* at atapibus? drive ? # ATAPI tape drives
322 1.38 tsutsui #uk* at atapibus? drive ? # ATAPI unknown
323 1.38 tsutsui
324 1.2 peter # USB audio
325 1.2 peter #uaudio* at uhub? port ? configuration ?
326 1.2 peter
327 1.17 nonaka # USB Ethernet adapters
328 1.50 tsutsui aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
329 1.50 tsutsui axe* at uhub? port ? # ASIX AX88172 based adapters
330 1.50 tsutsui cdce* at uhub? port ? # CDC, Ethernet Networking Control Model
331 1.50 tsutsui cue* at uhub? port ? # CATC USB-EL1201A based adapters
332 1.50 tsutsui kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
333 1.50 tsutsui udav* at uhub? port ? # Davicom DM9601 based adapters
334 1.50 tsutsui url* at uhub? port ? # Realtek RTL8150L based adapters
335 1.17 nonaka
336 1.2 peter # Kyocera AIR-EDGE PHONE
337 1.2 peter #ukyopon* at uhub? port ?
338 1.2 peter #ucom* at ukyopon? portno ?
339 1.2 peter
340 1.2 peter # USB Generic driver
341 1.50 tsutsui ugen* at uhub? port ?
342 1.17 nonaka
343 1.17 nonaka # MII/PHY support
344 1.50 tsutsui acphy* at mii? phy ? # DAltima AC101 and AMD Am79c874 PHYs
345 1.50 tsutsui amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs
346 1.50 tsutsui bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs
347 1.50 tsutsui brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs
348 1.50 tsutsui dmphy* at mii? phy ? # Davicom DM9101 PHYs
349 1.50 tsutsui exphy* at mii? phy ? # 3Com internal PHYs
350 1.50 tsutsui glxtphy* at mii? phy ? # Level One LXT-1000 PHYs
351 1.50 tsutsui gphyter* at mii? phy ? # NS83861 Gig-E PHY
352 1.50 tsutsui icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
353 1.50 tsutsui inphy* at mii? phy ? # Intel 82555 PHYs
354 1.50 tsutsui iophy* at mii? phy ? # Intel 82553 PHYs
355 1.50 tsutsui lxtphy* at mii? phy ? # Level One LXT-970 PHYs
356 1.50 tsutsui makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
357 1.50 tsutsui nsphy* at mii? phy ? # NS83840 PHYs
358 1.50 tsutsui nsphyter* at mii? phy ? # NS83843 PHYs
359 1.50 tsutsui pnaphy* at mii? phy ? # generic HomePNA PHYs
360 1.50 tsutsui qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
361 1.50 tsutsui sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
362 1.50 tsutsui tlphy* at mii? phy ? # ThunderLAN PHYs
363 1.50 tsutsui tqphy* at mii? phy ? # TDK Semiconductor PHYs
364 1.50 tsutsui ukphy* at mii? phy ? # generic unknown PHYs
365 1.50 tsutsui urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs
366 1.17 nonaka
367 1.2 peter
368 1.2 peter # integrated MMC/SD contoller
369 1.24 nonaka pxamci0 at pxaip? addr 0x41100000 size 0x48
370 1.24 nonaka sdmmc* at pxamci?
371 1.2 peter #options PXAMCI_DEBUG
372 1.2 peter #options SDMMC_DEBUG
373 1.2 peter #options SDMMC_DUMP_CSD
374 1.2 peter
375 1.24 nonaka ld* at sdmmc? # MMC/SD/SDHC card
376 1.2 peter
377 1.45 nonaka # Pull in optional local configuration
378 1.45 nonaka cinclude "arch/zaurus/conf/GENERIC.local"
379 1.45 nonaka
380 1.2 peter
381 1.1 ober # Pseudo-Devices
382 1.1 ober
383 1.1 ober # disk/mass storage pseudo-devices
384 1.31 hannken pseudo-device md # memory disk device (ramdisk)
385 1.40 tsutsui pseudo-device vnd # disk-like interface to files
386 1.2 peter options VND_COMPRESSION # compressed vnd(4)
387 1.1 ober
388 1.1 ober # network pseudo-devices
389 1.50 tsutsui pseudo-device bpfilter # Berkeley packet filter
390 1.1 ober pseudo-device loop # network loopback
391 1.1 ober
392 1.13 tls # accept filters
393 1.17 nonaka pseudo-device accf_data # "dataready" accept filter
394 1.17 nonaka pseudo-device accf_http # "httpready" accept filter
395 1.13 tls
396 1.1 ober # miscellaneous pseudo-devices
397 1.1 ober pseudo-device pty # pseudo-terminals
398 1.1 ober #pseudo-device sequencer # MIDI sequencer
399 1.1 ober pseudo-device clockctl # user control of clock subsystem
400 1.66 nonaka pseudo-device drvctl # user control of drive subsystem
401 1.1 ober pseudo-device ksyms # /dev/ksyms
402 1.66 nonaka pseudo-device putter # for puffs and pud
403 1.1 ober
404 1.1 ober # a pseudo device needed for Coda # also needs CODA (above)
405 1.56 christos #pseudo-device vcoda # coda minicache <-> venus comm.
406 1.1 ober
407 1.1 ober # a pseudo device needed for SMBFS
408 1.1 ober #pseudo-device nsmb # experimental - SMB requester
409 1.1 ober
410 1.1 ober # wscons pseudo-devices
411 1.2 peter pseudo-device wsmux # mouse & keyboard multiplexor
412 1.2 peter pseudo-device wsfont
413