TS7200 revision 1.14 1 # $NetBSD: TS7200,v 1.14 2005/04/15 17:27:21 itohy Exp $
2 #
3 # GENERIC -- Generic kernel
4 #
5
6 include "arch/evbarm/conf/std.tsarm"
7
8 #options INCLUDE_CONFIG_FILE # embed config file in kernel binary
9 options MSGBUFSIZE=65536
10 #options KSTACK_CHECK_MAGIC
11
12 # estimated number of users
13 maxusers 32
14
15 # Standard system options
16
17 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
18 options NTP # NTP phase/frequency locked loop
19
20 # CPU options
21
22 options CPU_ARM9 # Support the ARM9TDMI core
23
24 # File systems
25
26 file-system FFS # UFS
27 #file-system LFS # log-structured file system
28 file-system MFS # memory file system
29 file-system NFS # Network file system
30 #file-system ADOSFS # AmigaDOS-compatible file system
31 file-system EXT2FS # second extended file system (linux)
32 #file-system CD9660 # ISO 9660 + Rock Ridge file system
33 file-system MSDOSFS # MS-DOS file system
34 #file-system FDESC # /dev/fd
35 #file-system FILECORE # Acorn filecore file system
36 file-system KERNFS # /kern
37 file-system NULLFS # loopback file system
38 #file-system PORTAL # portal filesystem (still experimental)
39 file-system PROCFS # /proc
40 #file-system UMAPFS # NULLFS + uid and gid remapping
41 file-system UNION # union file system
42
43 # File system options
44 #options QUOTA # UFS quotas
45 #options FFS_EI # FFS Endian Independant support
46 options NFSSERVER
47 options SOFTDEP
48 #options FFS_NO_SNAPSHOT # ffs snapshots
49
50 # Networking options
51
52 #options GATEWAY # packet forwarding
53 options INET # IP + ICMP + TCP + UDP
54 options INET6 # IPV6
55 #options IPSEC # IP security
56 #options IPSEC_ESP # IP security (encryption part; define w/ IPSEC)
57 #options IPSEC_DEBUG # debug for IP security
58 #options MROUTING # IP multicast routing
59 #options NS # XNS
60 #options NSIP # XNS tunneling over IP
61 #options ISO,TPIP # OSI
62 #options EON # OSI tunneling over IP
63 #options CCITT,LLC,HDLC # X.25
64 #options NETATALK # AppleTalk networking
65 #options PFIL_HOOKS # pfil(9) packet filter hooks
66 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
67 #options PPP_DEFLATE # Deflate compression support for PPP
68 #options PPP_FILTER # Active filter support for PPP (requires bpf)
69 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
70
71 options NFS_BOOT_BOOTP
72 options NFS_BOOT_DHCP
73 #options NFS_BOOT_BOOTPARAM
74
75 # Compatibility options
76
77 #options COMPAT_LINUX
78 options COMPAT_16 # NetBSD 1.6
79 options COMPAT_20 # NetBSD 2.0
80 #options COMPAT_43 # 4.3BSD compatibility.
81 #options COMPAT_16 # NetBSD 1.6 compatibility.
82 #options COMPAT_15 # NetBSD 1.5 compatibility.
83 #options COMPAT_14 # NetBSD 1.4 compatibility.
84 #options COMPAT_13 # NetBSD 1.3 compatibility.
85 #options COMPAT_12 # NetBSD 1.2 compatibility.
86 #options COMPAT_11 # NetBSD 1.1 compatibility.
87 #options COMPAT_10 # NetBSD 1.0 compatibility.
88 #options COMPAT_09 # NetBSD 0.9 compatibility.
89 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
90
91 # Shared memory options
92
93 options SYSVMSG # System V-like message queues
94 options SYSVSEM # System V-like semaphores
95 options SEMMNI=10 # number of semaphore identifiers
96 options SEMMNS=60 # number of semaphores in system
97 options SEMUME=10 # max number of undo entries per process
98 options SEMMNU=30 # number of undo structures in system
99 options SYSVSHM # System V-like memory sharing
100 options SHMMAXPGS=1024 # 1024 pages is the default
101
102 # Device options
103
104 #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
105 #options MEMORY_DISK_ROOT_SIZE=3400 # Size in blocks
106 #options MEMORY_DISK_IS_ROOT # use memory disk as root
107
108 # Console options. The default console is speed is 115200 baud.
109 #options CONSPEED=9600 # Console speed
110
111 # Miscellaneous kernel options
112 options KTRACE # system call tracing, a la ktrace(1)
113 options IRQSTATS # manage IRQ statistics
114 #options LKM # loadable kernel modules
115 #options KMEMSTATS # kernel memory statistics
116 #options SCSIVERBOSE # Verbose SCSI errors
117 #options PCIVERBOSE # Verbose PCI descriptions
118 #options MIIVERBOSE # Verbose MII autoconfuration messages
119 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
120 #options DDB_KEYCODE=0x40
121 #options USERCONF # userconf(4) support
122 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
123
124 # Development and Debugging options
125
126 #options PERFCTRS # performance counters
127 options DIAGNOSTIC # internally consistency checks
128 #options DEBUG
129 #options PMAP_DEBUG # Enable pmap_debug_level code
130 #options IPKDB # remote kernel debugging
131 #options VERBOSE_INIT_ARM # verbose bootstraping messages
132 options DDB # in-kernel debugger
133 options DDB_ONPANIC=1
134 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
135 #makeoptions DEBUG="-g" # compile full symbol table
136 options SYMTAB_SPACE=450000
137
138 ##options PMAP_INCLUDE_PTE_SYNC
139 ##options LOCKDEBUG
140
141 config netbsd root on ? type ?
142 config netbsd-epe0 root on epe0 type nfs
143 config netbsd-wd0 root on wd0 type ffs
144 config netbsd-sd0 root on sd0 type ffs
145
146 # The main bus device
147 mainbus0 at root
148
149 # The boot cpu
150 cpu0 at mainbus?
151
152 # Cirrus Logic EP93xx System-on-chip
153 epsoc0 at mainbus?
154 # On-chip timers
155 epclk0 at epsoc? addr 0x80810000 size 0x90 intr 35
156 # On-chip serial UARTS
157 epcom0 at epsoc? addr 0x808c0000 size 0x1000 intr 52
158 epcom1 at epsoc? addr 0x808d0000 size 0x1000 intr 54
159 # On-chip USB 1.1
160 ohci* at epsoc? addr 0x80020000 size 0x1000 intr 56
161 # On-chip 10/100 Ethernet
162 epe0 at epsoc? addr 0x80010000 size 0x10000 intr 39
163 # On-board TS-7200 CPLD
164 tspld0 at mainbus?
165 # PC/104 bus
166 isa0 at tspld?
167 # CompactFlash interface
168 wdc0 at tspld?
169 # TS-5620 battery-backed real-time clock
170 tsrtc* at tspld?
171 # HD44780 LCD on LCD header
172 tslcd* at tspld?
173 wsdisplay* at tslcd? console ?
174 # 4x4 Matrix Keypad on DIO header
175 tskp* at tspld?
176 wskbd* at tskp? console ? mux 1
177
178 # TS-SER[1,2,4] multiport serial PC/104 cards
179 com0 at isa? port 0x3f8 irq 6 # Standard PC serial ports
180 com1 at isa? port 0x2f8 irq 6
181 com2 at isa? port 0x3e8 irq 6
182 com3 at isa? port 0x2e8 irq 6
183
184 wdc1 at isa? port 0x1f0 irq 7 flags 0x00
185 wdc2 at isa? port 0x170 irq 7 flags 0x00
186 tscs0 at isa? port 0x300 iomem ? irq ? drq ? # TS-ETH10 PC/104 ethernet
187 tscs1 at isa? port 0x310 iomem ? irq ? drq ?
188 tscs2 at isa? port 0x320 iomem ? irq ? drq ?
189 tscs3 at isa? port 0x330 iomem ? irq ? drq ?
190
191 # PCMCIA bus support
192 pcmcia* at pcic? controller ? socket ?
193
194 options PCIC_ISA_INTR_ALLOC_MASK=0xe0
195 # ISA PCMCIA controllers
196 pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000
197 pcic1 at isa? port 0x3e2 iomem 0xe0000 iosiz 0x4000
198 pcic2 at isa? port 0x3e4 iomem 0xe0000 iosiz 0x4000
199
200 # ATA (IDE) bus support
201 atabus* at ata?
202
203 # IDE drives
204 # Flags are used only with controllers that support DMA operations
205 # and mode settings (e.g. some pciide controllers)
206 # The lowest order four bits (rightmost digit) of the flags define the PIO
207 # mode to use, the next set of four bits the DMA mode and the third set the
208 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
209 # to use, and the last bit must be 1 for this setting to be used.
210 # For DMA and UDMA, 0xf (1111) means 'disable'.
211 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
212 # (0xc=1100, 0xa=1010, 0xf=1111)
213 # 0x0000 means "use whatever the drive claims to support".
214 wd* at atabus? drive ? flags 0x00ff
215
216 # ATAPI bus support
217 #atapibus* at atapi?
218
219 # ATAPI devices
220 # flags have the same meaning as for IDE drives.
221 # XXX No DMA on IDE devices for now
222 #cd* at atapibus? drive ? flags 0x0ff0 # ATAPI CD-ROM drives
223 #sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
224 #st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives
225 #uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
226
227 # MII/PHY support
228 #acphy* at mii? phy ? # Altima AC101 and AMD Am79c874 PHYs
229 #amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs
230 #bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs
231 #brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs
232 #dmphy* at mii? phy ? # Davicom DM9101 PHYs
233 #exphy* at mii? phy ? # 3Com internal PHYs
234 #gentbi* at mii? phy ? # Generic Ten-Bit 1000BASE-[CLS]X PHYs
235 #glxtphy* at mii? phy ? # Level One LXT-1000 PHYs
236 #gphyter* at mii? phy ? # NS83861 Gig-E PHY
237 #icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
238 #igphy* at mii? phy ? # Intel IGP01E1000
239 #inphy* at mii? phy ? # Intel 82555 PHYs
240 #iophy* at mii? phy ? # Intel 82553 PHYs
241 #lxtphy* at mii? phy ? # Level One LXT-970 PHYs
242 #makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
243 #nsphy* at mii? phy ? # NS83840 PHYs
244 #nsphyter* at mii? phy ? # NS83843 PHYs
245 #pnaphy* at mii? phy ? # generic HomePNA PHYs
246 #qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
247 #sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
248 #tlphy* at mii? phy ? # ThunderLAN PHYs
249 #tqphy* at mii? phy ? # TDK Semiconductor PHYs
250 ukphy* at mii? phy ? # generic unknown PHYs
251 #urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs
252
253 # USB Controller and Devices
254
255 # USB bus support
256 #usb* at ehci?
257 usb* at ohci?
258 #usb* at uhci?
259 #usb* at slhci?
260
261 # USB Hubs
262 uhub* at usb?
263 uhub* at uhub? port ? configuration ? interface ?
264
265 # USB HID device
266 uhidev* at uhub? port ? configuration ? interface ?
267
268 # USB Mice
269 # ums* at uhidev? reportid ?
270 # wsmouse* at ums? mux 0
271
272 # USB eGalax touch-panel
273 # uep* at uhub? port ?
274 # wsmouse* at uep? mux 0
275
276 # USB Keyboards
277 ukbd* at uhidev? reportid ?
278 wskbd* at ukbd? console ? mux 1
279
280 # USB Generic HID devices
281 uhid* at uhidev? reportid ?
282
283 # USB Printer
284 ulpt* at uhub? port ? configuration ? interface ?
285
286 # USB Modem
287 umodem* at uhub? port ? configuration ?
288 ucom* at umodem?
289
290 # USB Mass Storage
291 umass* at uhub? port ? configuration ? interface ?
292 scsibus* at umass?
293 # SCSI devices
294 sd* at scsibus? target ? lun ? # SCSI disk drives
295 #st* at scsibus? target ? lun ? # SCSI tape drives
296 #cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
297 #ch* at scsibus? target ? lun ? # SCSI autochangers
298 #ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices
299 #ss* at scsibus? target ? lun ? # SCSI scanners
300 #uk* at scsibus? target ? lun ? # SCSI unknown
301
302 # wd* at umass?
303
304 # USB audio
305 uaudio* at uhub? port ? configuration ?
306
307 # USB MIDI
308 umidi* at uhub? port ? configuration ?
309
310 # USB IrDA
311 # USB-IrDA bridge spec
312 uirda* at uhub? port ? configuration ? interface ?
313 irframe* at uirda?
314
315 # SigmaTel STIr4200 USB/IrDA Bridge
316 ustir* at uhub? port ?
317 irframe* at ustir?
318
319 # USB Ethernet adapters
320 aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
321 axe* at uhub? port ? # ASIX AX88172 based adapters
322 cue* at uhub? port ? # CATC USB-EL1201A based adapters
323 kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
324 udav* at uhub? port ? # Davicom DM9601 based adapters
325 url* at uhub? port ? # Realtek RTL8150L based adapters
326
327 # Prolific PL2301/PL2302 host-to-host adapter
328 upl* at uhub? port ?
329
330 # Serial adapters
331 ubsa* at uhub? port ? # Belkin serial adapter
332 ucom* at ubsa? portno ?
333
334 uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter
335 ucom* at uftdi? portno ?
336
337 umct* at uhub? port ? # MCT USB-RS232 serial adapter
338 ucom* at umct? portno ?
339
340 uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter
341 ucom* at uplcom? portno ?
342
343 uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter
344 ucom* at uvscom? portno ?
345 atu* at uhub? port ? # Atmel AT76C50XX 802.11b adapter
346
347 # Diamond Multimedia Rio 500
348 # urio* at uhub? port ?
349
350 # USB Handspring Visor
351 # uvisor* at uhub? port ?
352 # ucom* at uvisor?
353
354 # Kyocera AIR-EDGE PHONE
355 #ukyopon* at uhub? port ?
356 #ucom* at ukyopon? portno ?
357
358 # USB scanners
359 # uscanner* at uhub? port ?
360
361 # USB scanners that use SCSI emulation, e.g., HP5300
362 # usscanner* at uhub? port ?
363
364 # Y@P firmware loader
365 # uyap* at uhub? port ?
366
367 # D-Link DSB-R100 USB radio
368 # udsbr* at uhub? port ?
369 # radio* at udsbr?
370
371 # USB Generic driver
372 ugen* at uhub? port ?
373
374 # IrDA and Consumer Ir devices
375
376 # Toshiba Oboe
377 # oboe* at pci? dev ? function ?
378 # irframe* at oboe?
379
380 # CardBus IEEE1394 controllers
381 #fwohci* at cardbus? dev ? function ? # IEEE1394 Open Host Controller
382
383 #fw* at fwbus? # IP over 1394
384
385 # IEEE1394 nodes
386 #fwnode* at fwbus? idhi ? idlo ?
387 #sbpscsi* at fwnode?
388 #scsibus* at sbpscsi?
389
390 # Audio Devices
391
392 # OPL[23] FM synthesizers
393 #opl* at cmpci? flags 1
394 #opl* at eso?
395 #opl* at fms?
396 #opl* at sv?
397 #opl* at yds?
398
399 # Audio support
400 audio* at audiobus?
401
402 # MPU 401 UARTs
403 #mpu* at cmpci?
404 #mpu* at eso?
405 #mpu* at fms?
406 #mpu* at yds?
407
408 # MIDI support
409 #midi* at midibus?
410
411 # Pseudo-Devices
412
413 # disk/mass storage pseudo-devices
414 #pseudo-device md 1 # memory disk device (ramdisk)
415 pseudo-device vnd 4 # disk-like interface to files
416 #pseudo-device fss 4 # file system snapshot device
417
418 # network pseudo-devices
419 pseudo-device bpfilter 4 # Berkeley packet filter
420 pseudo-device loop # network loopback
421 pseudo-device kttcp # network loopback
422
423 # miscellaneous pseudo-devices
424 pseudo-device pty # pseudo-terminals
425 pseudo-device rnd # /dev/random and in-kernel generator
426 #options RND_COM
427 pseudo-device clockctl # user control of clock subsystem
428 pseudo-device ksyms # /dev/ksyms
429
430 # data mover pseudo-devices
431 #pseudo-device swdmover # softare dmover(9) back-end
432 #pseudo-device dmoverio # /dev/dmover dmover(9) interface
433
434 #
435 # wscons options
436 #
437 # builtin terminal emulations
438 #options WSEMUL_SUN # sun terminal emulation
439 options WSEMUL_VT100 # VT100 / VT220 emulation
440 # customization of console and kernel output - see dev/wscons/wsdisplayvar.h
441 #options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8)
442 #options WS_DEFAULT_FG=WSCOL_WHITE
443 #options WS_DEFAULT_BG=WSCOL_BLACK
444 #options WS_DEFAULT_COLATTR="(0)"
445 #options WS_DEFAULT_MONOATTR="(0)"
446 #options WS_KERNEL_FG=WSCOL_GREEN
447 #options WS_KERNEL_BG=WSCOL_BLACK
448 #options WS_KERNEL_COLATTR=""
449 #options WS_KERNEL_MONOATTR=""
450 # customization of console border color
451 #options WSDISPLAY_CUSTOM_BORDER # border customization from wsconsctl(8)
452 #options WSDISPLAY_BORDER_COLOR=WSCOL_BLUE # default color
453 # compatibility to other console drivers
454 #options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
455 #options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls
456 #options WSDISPLAY_COMPAT_USL # VT handling
457 #options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
458 # see dev/pckbc/wskbdmap_mfii.c for implemented layouts
459 #options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
460 # allocate a number of virtual screens at autoconfiguration time
461 #options WSDISPLAY_DEFAULTSCREENS=4
462 # use a large software cursor that doesn't blink
463 #options PCDISPLAY_SOFTCURSOR
464 # modify the screen type of the console; defaults to "80x25"
465 #options VGA_CONSOLE_SCREENTYPE="\"80x24\""
466 # work around a hardware bug that loaded fonts don't work; found on ATI cards
467 #options VGA_CONSOLE_ATI_BROKEN_FONTSEL
468 # the following enables some functions to get mouse console support.
469 # if you want a really secure system, it may be better not to enable them,
470 # see wsmoused(8), section SECURITY CONSIDERATIONS for more info.
471 #options WSDISPLAY_CHARFUNCS # mouse console support
472 # console scrolling support.
473 #options WSDISPLAY_SCROLLSUPPORT
474 # enable VGA raster mode capable of displaying multilingual text on console
475 #options VGA_RASTERCONSOLE
476
477 # wscons pseudo-devices
478 pseudo-device wsmux # mouse & keyboard multiplexor
479 #pseudo-device wsfont
480
481