TS7200 revision 1.32 1 # $NetBSD: TS7200,v 1.32 2008/05/30 20:10:01 tsutsui 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 file-system PTYFS # /dev/pts/N support
43
44 # File system options
45 #options QUOTA # UFS quotas
46 #options FFS_EI # FFS Endian Independant support
47 options NFSSERVER
48 options SOFTDEP
49 #options FFS_NO_SNAPSHOT # No FFS snapshot support
50
51 # Networking options
52
53 #options GATEWAY # packet forwarding
54 options INET # IP + ICMP + TCP + UDP
55 options INET6 # IPV6
56 #options IPSEC # IP security
57 #options IPSEC_ESP # IP security (encryption part; define w/ IPSEC)
58 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
59 #options IPSEC_DEBUG # debug for IP security
60 #options MROUTING # IP multicast routing
61 #options ISO,TPIP # OSI
62 #options EON # OSI tunneling over IP
63 #options NETATALK # AppleTalk networking
64 #options PFIL_HOOKS # pfil(9) packet filter hooks
65 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
66 #options PPP_DEFLATE # Deflate compression support for PPP
67 #options PPP_FILTER # Active filter support for PPP (requires bpf)
68 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
69
70 options NFS_BOOT_BOOTP
71 options NFS_BOOT_DHCP
72 #options NFS_BOOT_BOOTPARAM
73
74 # Compatibility options
75
76 #options COMPAT_LINUX
77 #options COMPAT_43 # 4.3BSD compatibility.
78 options COMPAT_40 # NetBSD 4.0 compatibility.
79 options COMPAT_30 # NetBSD 3.0 compatibility.
80 options COMPAT_20 # NetBSD 2.0 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 VERBOSE_INIT_ARM # verbose bootstraping messages
131 options DDB # in-kernel debugger
132 options DDB_ONPANIC=1
133 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
134 #makeoptions DEBUG="-g" # compile full symbol table
135 options SYMTAB_SPACE=450000
136
137 ##options PMAP_INCLUDE_PTE_SYNC
138 ##options LOCKDEBUG
139
140 config netbsd root on ? type ?
141 config netbsd-epe0 root on epe0 type nfs
142 config netbsd-wd0 root on wd0 type ffs
143 config netbsd-sd0 root on sd0 type ffs
144
145 # The main bus device
146 mainbus0 at root
147
148 # The boot cpu
149 cpu0 at mainbus?
150
151 # Cirrus Logic EP93xx System-on-chip
152 epsoc0 at mainbus?
153 # On-chip timers
154 epclk0 at epsoc? addr 0x80810000 size 0x90 intr 35
155 # On-chip serial UARTS
156 epcom0 at epsoc? addr 0x808c0000 size 0x1000 intr 52
157 epcom1 at epsoc? addr 0x808d0000 size 0x1000 intr 54
158 # On-chip USB 1.1
159 ohci* at epsoc? addr 0x80020000 size 0x1000 intr 56
160 # On-chip 10/100 Ethernet
161 epe0 at epsoc? addr 0x80010000 size 0x10000 intr 39
162 # On-board TS-7200 CPLD
163 tspld0 at mainbus?
164 # PC/104 bus
165 isa0 at tspld?
166 # CompactFlash interface
167 wdc0 at tspld?
168 # TS-5620 battery-backed real-time clock
169 tsrtc* at tspld?
170
171 # HD44780 LCD on LCD header
172 #tslcd* at tspld?
173 #wsdisplay* at tslcd? console ?
174
175 # 4x4 Matrix Keypad on DIO header
176 #tskp* at tspld?
177 #wskbd* at tskp? console ? mux 1
178
179 # TS-SER[1,2,4] multiport serial PC/104 cards
180 com0 at isa? port 0x3f8 irq 6 # Standard PC serial ports
181 com1 at isa? port 0x2f8 irq 6
182 com2 at isa? port 0x3e8 irq 6
183 com3 at isa? port 0x2e8 irq 6
184
185 wdc1 at isa? port 0x1f0 irq 7 flags 0x00
186 wdc2 at isa? port 0x170 irq 7 flags 0x00
187
188 tscs0 at isa? port 0x300 iomem ? irq ? drq ? # TS-ETH10 PC/104 ethernet
189 tscs1 at isa? port 0x310 iomem ? irq ? drq ?
190 tscs2 at isa? port 0x320 iomem ? irq ? drq ?
191 tscs3 at isa? port 0x330 iomem ? irq ? drq ?
192
193 tsdio0 at isa? port 0x100 # TS-DIO24 general-purpose I/O
194 tsdio1 at isa? port 0x108
195 tsdio2 at isa? port 0x110
196 tsdio3 at isa? port 0x118
197
198 # PCMCIA bus support
199 pcmcia* at pcic? controller ? socket ?
200
201 options PCIC_ISA_INTR_ALLOC_MASK=0xe0
202 # ISA PCMCIA controllers
203 pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000
204 pcic1 at isa? port 0x3e2 iomem 0xe0000 iosiz 0x4000
205 pcic2 at isa? port 0x3e4 iomem 0xe0000 iosiz 0x4000
206
207 # ATA (IDE) bus support
208 atabus* at ata?
209
210 # IDE drives
211 # Flags are used only with controllers that support DMA operations
212 # and mode settings (e.g. some pciide controllers)
213 # The lowest order four bits (rightmost digit) of the flags define the PIO
214 # mode to use, the next set of four bits the DMA mode and the third set the
215 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
216 # to use, and the last bit must be 1 for this setting to be used.
217 # For DMA and UDMA, 0xf (1111) means 'disable'.
218 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
219 # (0xc=1100, 0xa=1010, 0xf=1111)
220 # 0x0000 means "use whatever the drive claims to support".
221 wd* at atabus? drive ? flags 0x00ff
222
223 # ATAPI bus support
224 #atapibus* at atapi?
225
226 # ATAPI devices
227 # flags have the same meaning as for IDE drives.
228 # XXX No DMA on IDE devices for now
229 #cd* at atapibus? drive ? flags 0x0ff0 # ATAPI CD-ROM drives
230 #sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
231 #st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives
232 #uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
233
234 # MII/PHY support
235 #acphy* at mii? phy ? # Altima AC101 and AMD Am79c874 PHYs
236 #amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs
237 #bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs
238 #brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs
239 #dmphy* at mii? phy ? # Davicom DM9101 PHYs
240 #exphy* at mii? phy ? # 3Com internal PHYs
241 #gentbi* at mii? phy ? # Generic Ten-Bit 1000BASE-[CLS]X PHYs
242 #glxtphy* at mii? phy ? # Level One LXT-1000 PHYs
243 #gphyter* at mii? phy ? # NS83861 Gig-E PHY
244 #icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
245 #igphy* at mii? phy ? # Intel IGP01E1000
246 #inphy* at mii? phy ? # Intel 82555 PHYs
247 #iophy* at mii? phy ? # Intel 82553 PHYs
248 #lxtphy* at mii? phy ? # Level One LXT-970 PHYs
249 #makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
250 #nsphy* at mii? phy ? # NS83840 PHYs
251 #nsphyter* at mii? phy ? # NS83843 PHYs
252 #pnaphy* at mii? phy ? # generic HomePNA PHYs
253 #qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
254 #sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
255 #tlphy* at mii? phy ? # ThunderLAN PHYs
256 #tqphy* at mii? phy ? # TDK Semiconductor PHYs
257 ukphy* at mii? phy ? # generic unknown PHYs
258 #urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs
259
260 # USB Controller and Devices
261
262 # USB bus support
263 #usb* at ehci?
264 usb* at ohci?
265 #usb* at uhci?
266 #usb* at slhci?
267
268 # USB Hubs
269 uhub* at usb?
270 uhub* at uhub? port ?
271
272 # USB HID device
273 uhidev* at uhub? port ? configuration ? interface ?
274
275 # USB Mice
276 # ums* at uhidev? reportid ?
277 # wsmouse* at ums? mux 0
278
279 # USB eGalax touch-panel
280 # uep* at uhub? port ?
281 # wsmouse* at uep? mux 0
282
283 # USB Keyboards
284 ukbd* at uhidev? reportid ?
285 wskbd* at ukbd? console ? mux 1
286
287 # USB serial adapter
288 ucycom* at uhidev? reportid ?
289
290 # USB Generic HID devices
291 uhid* at uhidev? reportid ?
292
293 # USB Printer
294 ulpt* at uhub? port ? configuration ? interface ?
295
296 # USB Modem
297 umodem* at uhub? port ? configuration ?
298 ucom* at umodem?
299
300 # USB Mass Storage
301 umass* at uhub? port ? configuration ? interface ?
302 scsibus* at umass?
303 # SCSI devices
304 sd* at scsibus? target ? lun ? # SCSI disk drives
305 #st* at scsibus? target ? lun ? # SCSI tape drives
306 #cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
307 #ch* at scsibus? target ? lun ? # SCSI autochangers
308 #ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices
309 #ss* at scsibus? target ? lun ? # SCSI scanners
310 #uk* at scsibus? target ? lun ? # SCSI unknown
311
312 # wd* at umass?
313
314 # USB audio
315 uaudio* at uhub? port ? configuration ?
316
317 # USB MIDI
318 umidi* at uhub? port ? configuration ?
319
320 # USB IrDA
321 # USB-IrDA bridge spec
322 uirda* at uhub? port ? configuration ? interface ?
323 irframe* at uirda?
324
325 # SigmaTel STIr4200 USB/IrDA Bridge
326 ustir* at uhub? port ?
327 irframe* at ustir?
328
329 # USB Ethernet adapters
330 aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
331 axe* at uhub? port ? # ASIX AX88172 based adapters
332 cue* at uhub? port ? # CATC USB-EL1201A based adapters
333 kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
334 udav* at uhub? port ? # Davicom DM9601 based adapters
335 url* at uhub? port ? # Realtek RTL8150L based adapters
336
337 # Prolific PL2301/PL2302 host-to-host adapter
338 upl* at uhub? port ?
339
340 # Serial adapters
341 ubsa* at uhub? port ? # Belkin serial adapter
342 ucom* at ubsa? portno ?
343
344 uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter
345 ucom* at uftdi? portno ?
346
347 umct* at uhub? port ? # MCT USB-RS232 serial adapter
348 ucom* at umct? portno ?
349
350 uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter
351 ucom* at uplcom? portno ?
352
353 uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter
354 ucom* at uvscom? portno ?
355 atu* at uhub? port ? # Atmel AT76C50XX 802.11b adapter
356
357 # Diamond Multimedia Rio 500
358 # urio* at uhub? port ?
359
360 # USB Handspring Visor
361 # uvisor* at uhub? port ?
362 # ucom* at uvisor?
363
364 # Kyocera AIR-EDGE PHONE
365 #ukyopon* at uhub? port ?
366 #ucom* at ukyopon? portno ?
367
368 # USB scanners
369 # uscanner* at uhub? port ?
370
371 # USB scanners that use SCSI emulation, e.g., HP5300
372 # usscanner* at uhub? port ?
373
374 # Y@P firmware loader
375 # uyap* at uhub? port ?
376
377 # D-Link DSB-R100 USB radio
378 # udsbr* at uhub? port ?
379 # radio* at udsbr?
380
381 # USB Generic driver
382 ugen* at uhub? port ?
383
384 # IrDA and Consumer Ir devices
385
386 # Toshiba Oboe
387 # oboe* at pci? dev ? function ?
388 # irframe* at oboe?
389
390 # CardBus IEEE1394 controllers
391 #fwohci* at cardbus? function ? # IEEE1394 Open Host Controller
392
393 #fw* at fwbus? # IP over 1394
394
395 # IEEE1394 nodes
396 #fwnode* at fwbus? idhi ? idlo ?
397 #sbpscsi* at fwnode?
398 #scsibus* at sbpscsi?
399
400 # Audio Devices
401
402 # OPL[23] FM synthesizers
403 #opl* at cmpci? flags 1
404 #opl* at eso?
405 #opl* at fms?
406 #opl* at sv?
407 #opl* at yds?
408
409 # Audio support
410 audio* at audiobus?
411
412 # MPU 401 UARTs
413 #mpu* at cmpci?
414 #mpu* at eso?
415 #mpu* at fms?
416 #mpu* at yds?
417
418 # MIDI support
419 #midi* at midibus?
420
421 # Pseudo-Devices
422
423 # disk/mass storage pseudo-devices
424 #pseudo-device md 1 # memory disk device (ramdisk)
425 pseudo-device vnd # disk-like interface to files
426 #pseudo-device fss 4 # file system snapshot device
427
428 # network pseudo-devices
429 pseudo-device bpfilter # Berkeley packet filter
430 pseudo-device loop # network loopback
431 pseudo-device kttcp # network loopback
432
433 # miscellaneous pseudo-devices
434 pseudo-device pty # pseudo-terminals
435 pseudo-device rnd # /dev/random and in-kernel generator
436 #options RND_COM
437 pseudo-device clockctl # user control of clock subsystem
438 pseudo-device ksyms # /dev/ksyms
439
440 # data mover pseudo-devices
441 #pseudo-device swdmover # softare dmover(9) back-end
442 #pseudo-device dmoverio # /dev/dmover dmover(9) interface
443
444 #
445 # wscons options
446 #
447 # builtin terminal emulations
448 #options WSEMUL_SUN # sun terminal emulation
449 options WSEMUL_VT100 # VT100 / VT220 emulation
450 # customization of console and kernel output - see dev/wscons/wsdisplayvar.h
451 #options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8)
452 #options WS_DEFAULT_FG=WSCOL_WHITE
453 #options WS_DEFAULT_BG=WSCOL_BLACK
454 #options WS_DEFAULT_COLATTR="(0)"
455 #options WS_DEFAULT_MONOATTR="(0)"
456 #options WS_KERNEL_FG=WSCOL_GREEN
457 #options WS_KERNEL_BG=WSCOL_BLACK
458 #options WS_KERNEL_COLATTR=""
459 #options WS_KERNEL_MONOATTR=""
460 # customization of console border color
461 #options WSDISPLAY_CUSTOM_BORDER # border customization from wsconsctl(8)
462 #options WSDISPLAY_BORDER_COLOR=WSCOL_BLUE # default color
463 # compatibility to other console drivers
464 #options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
465 #options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls
466 #options WSDISPLAY_COMPAT_USL # VT handling
467 #options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
468 # see dev/pckbport/wskbdmap_mfii.c for implemented layouts
469 #options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
470 # allocate a number of virtual screens at autoconfiguration time
471 #options WSDISPLAY_DEFAULTSCREENS=4
472 # use a large software cursor that doesn't blink
473 #options PCDISPLAY_SOFTCURSOR
474 # modify the screen type of the console; defaults to "80x25"
475 #options VGA_CONSOLE_SCREENTYPE="\"80x24\""
476 # work around a hardware bug that loaded fonts don't work; found on ATI cards
477 #options VGA_CONSOLE_ATI_BROKEN_FONTSEL
478 # console scrolling support.
479 #options WSDISPLAY_SCROLLSUPPORT
480 # enable VGA raster mode capable of displaying multilingual text on console
481 #options VGA_RASTERCONSOLE
482
483 # wscons pseudo-devices
484 pseudo-device wsmux # mouse & keyboard multiplexor
485 #pseudo-device wsfont
486
487