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