VR41XX revision 1.2 1 # $NetBSD: VR41XX,v 1.2 2002/01/26 10:24:58 takemura Exp $
2 #
3 # GENERIC machine description file
4 #
5 # This machine description file is used to generate the default NetBSD
6 # kernel. The generic kernel does not include all options, subsystems
7 # and device drivers, but should be useful for most applications.
8 #
9 # The machine description file can be customised for your specific
10 # machine to reduce the kernel size and improve its performance.
11 #
12 # For further information on compiling NetBSD kernels, see the config(8)
13 # man page.
14 #
15 # For further information on hardware support for this architecture, see
16 # the intro(4) man page. For further information about kernel options
17 # for this architecture, see the options(4) man page. For an explanation
18 # of each device driver in this file see the section 4 man page for the
19 # device.
20
21 include "arch/hpcmips/conf/std.hpcmips"
22 include "arch/hpcmips/conf/std.hpcmips.vr41"
23 #ident "GENERIC-$Revision: 1.2 $"
24
25 maxusers 16
26
27 # Support for specific models of H/PC MIPS
28 options VR4102 # NEC VR4102
29 options VR4111 # NEC VR4111
30 options VR4121 # NEC VR4121
31
32 # Standard system options
33 options DDB # in-kernel debugger
34 #options DDB_ONPANIC=0 # don't enter debugger on panic
35 #options KGDB # remote debugger
36 #options DIAGNOSTIC # extra kernel debugging checks
37 #options DEBUG # extra kernel debugging support
38 options KTRACE # system call tracing support
39 options MSGBUFSIZE=8192 # dmesg buffer size
40
41 ## UVM options.
42 #options UVM_PAGE_TRKOWN
43 #options UVMHIST
44 #options UVMHIST_PRINT # Loud!
45
46 #options SCSIVERBOSE # human readable SCSI error messages
47 #options PCMCIAVERBOSE # verbose PCMCIA configuration messages
48
49 #options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
50 #options RTC_OFFSET=-540 # JST-9
51 #options RTC_OFFSET=480 # PST8
52 # In NO RTC_OFFSET , inherit RTC_OFFSET
53 # from Windows CE.
54 options NTP # network time protocol
55 #options UCONSOLE # users can redirect console (unsafe)
56
57 #options WINCE_DEFAULT_SETTING # Debugging use
58
59 #options SYSCALL_DEBUG # for debug
60 #options HPCMIPS_L1CACHE_DISABLE # disable L1 cache for debug
61 #options HPCMIPS_FLUSHCACHE_XXX # for debug
62
63 # Filesystem options
64 file-system FFS # fast filesystem with user and group quotas
65 file-system MFS # memory-based filesystem
66 file-system NFS # Sun NFS-compatible filesystem (client)
67 #file-system LFS # Log-based filesystem (still experimental)
68 file-system CD9660 # ISO 9660 + Rock Ridge file system
69 file-system MSDOSFS # MS-DOS file system
70 #file-system FDESC # /dev/fd
71 file-system KERNFS # /kern (kernel informational filesystem)
72 #file-system NULLFS # loopback file system
73 #file-system OVERLAY # overlay file system
74 #file-system PORTAL # portal filesystem (still experimental)
75 file-system PROCFS # /proc
76 #file-system UMAPFS # NULLFS + uid and gid remapping
77 file-system UNION
78
79 #options NFSSERVER # Sun NFS-compatible filesystem (server)
80 options SOFTDEP # FFS soft updates support.
81 #options QUOTA # UFS quotas
82 options VNODE_OP_NOINLINE # don't inline vnode op calls
83
84 # Networking options
85 #options GATEWAY # IP packet forwarding
86 options INET # IP + ICMP + TCP + UDP
87 options INET6 # IPV6
88 #options IPSEC # IP security
89 #options IPSEC_ESP # IP security (encryption part; define w/ IPSEC)
90 #options IPSEC_DEBUG # debug for IP security
91 #options MROUTING # Multicast routing support
92 #options ISO # OSI networking
93 #options TPIP # TPIP
94 #options EON # OSI tunneling over IP
95 #options CCITT,LLC,HDLC # X.25
96
97 # NetBSD backwards compatibility
98 options COMPAT_43
99
100 options NFS_BOOT_DHCP
101
102 config netbsd root on ? type ?
103
104 # compile options
105 makeoptions DEFGP="-G 18"
106
107 # WS console uses SUN or VT100 terminal emulation
108 options WSEMUL_VT100
109 #options WSDISPLAY_DEFAULTSCREENS=4
110 #options FONT_VT220L8x8
111 options FONT_VT220L8x10
112 # compatibility to other console drivers
113 options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
114 options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls
115 options WSDISPLAY_COMPAT_USL # VT handling
116 options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
117 #
118 # Hpckbd will set key board layout appropriately. You can use option
119 # 'PCKBD_LAYOUT' to overrite the default layout.
120 #
121 #options PCKBD_LAYOUT="(KB_US | KB_SWAPCTRLCAPS | KB_MACHDEP)"
122
123 # temporally power management
124 hpcapm0 at mainbus0 # power management
125 apmdev0 at hpcapm0 # APM
126
127 options MQ200_DEBUG
128 #options MQ200_USECRT
129 mqvideo0 at vrip? addr 0x0a000000 size 0x800000 # MQ200 video controller
130 hpcfb* at mqvideo?
131
132 ite8181video0 at vrip? addr 0x0a000000 size 0x800000 # ITE8181 video controller
133 hpcfb* at ite8181video?
134
135 vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_430
136 vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_510
137 vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_520
138 vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_520A
139 vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_530
140 vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_SIGMARION
141 vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_530A
142 vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_700
143
144 # Workstation Console attachments
145 bivideo0 at mainbus0
146 hpcfb* at bivideo0
147 wsdisplay* at hpcfb?
148 wskbd* at hpckbd? mux 1
149 wsmouse* at vrpiu? mux 0
150 btnmgr0 at mainbus0
151 wskbd* at btnmgr0 mux 1
152
153 #
154 # hpcmips isa? bus irq locator means:
155 #
156 # 0x0000000f ISA IRQ#
157 # 0x00ff0000 GPIO port#
158 # 0x01000000 interrupt signal hold/through (1:hold/0:though)
159 # 0x02000000 interrupt detection level (1:low /0:high )
160 # 0x04000000 interrupt detection trigger (1:edge/0:level )
161
162 #
163 # MC-R300, MC-R500
164 # Button to GPIO port # mapping
165 # + REC button : 4
166 # + Open/Close button: 6
167 # (PCIC-ISA : 9)
168 # (COM power:14)
169 #
170 # MC-R510
171 # Button to GPIO port # mapping
172 # + Open/Close button: 3
173 # (PCIC-ISA : 9)
174 # (COM power:14)
175 #
176 # MC-R530
177 # Button to GPIO port # mapping
178 # + Open/Close button: 3
179 # + Application button: 2
180 # (PCIC-ISA : 9)
181 # (COM power:46)
182 #
183 # MC-R700
184 # Button to GPIO port # mapping
185 # + Open/Close button: 3
186 # (PCIC-ISA : 9)
187 # (COM power:46)
188 #
189 # MC-CS
190 # Button to GPIO port # mapping
191 # (PCIC-ISA : 9)
192 # (COM power:14)
193 #
194 # IBM WorkPad z50
195 # Button to GPIO port # mapping
196 # + REC button : 1
197 # + Application button? : 2
198 # (PCIC-ISA : 9)
199 #
200 button0 at vrgiu? platform NEC_MCR_3XX id BTN_REC port 4
201 button0 at vrgiu? platform NEC_MCR_500 id BTN_REC port 4
202 button0 at vrgiu? platform IBM_WORKPAD id BTN_REC port 1 active 0
203 button1 at vrgiu? platform NEC_MCR_430 id BTN_COVER port 3
204 button1 at vrgiu? platform NEC_MCR_510 id BTN_COVER port 3
205 button1 at vrgiu? platform NEC_MCR_520 id BTN_COVER port 3
206 #button1 at vrgiu? platform NEC_MCR_520A id BTN_COVER port 3
207 button1 at vrgiu? platform NEC_MCR_530 id BTN_COVER port 3
208 #button1 at vrgiu? platform NEC_MCR_530A id BTN_COVER port 3
209 button1 at vrgiu? platform NEC_MCR_SIGMARION id BTN_COVER port 3
210 button1 at vrgiu? platform NEC_MCR_7XX id BTN_COVER port 3
211 button1 at vrgiu? platform NEC_MCR_3XX id BTN_COVER port 6
212 button1 at vrgiu? platform NEC_MCR_500 id BTN_COVER port 6
213 button2 at vrgiu? platform NEC_MCR_530 id BTN_APP0 port 2
214 button2 at vrgiu? platform IBM_WORKPAD id BTN_APP0 port 2 active 0
215 button3 at vrgiu? platform NEC_MCCS id BTN_LIGHT port 8
216 pwctl0 at vrgiu? platform NEC_MCR_3XX id PWCTL_COM0 port 14
217 pwctl0 at vrgiu? platform NEC_MCR_430 id PWCTL_COM0 port 46
218 pwctl0 at vrgiu? platform NEC_MCR_500 id PWCTL_COM0 port 14
219 pwctl0 at vrgiu? platform NEC_MCR_530 id PWCTL_COM0 port 46
220 pwctl0 at vrgiu? platform NEC_MCR_530A id PWCTL_COM0 port 46
221 #pwctl0 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_COM0 port 46
222 pwctl0 at vrgiu? platform NEC_MCR_7XX id PWCTL_COM0 port 46
223 pwctl0 at vrgiu? platform NEC_MCCS id PWCTL_COM0 port 14
224 pwctl1 at vrgiu? platform NEC_MCR_3XX id PWCTL_LCDLIGHT port 45
225 pwctl1 at vrgiu? platform NEC_MCR_500 id PWCTL_LCDLIGHT port 45
226 pwctl1 at vrgiu? platform NEC_MCCS id PWCTL_LCDLIGHT port 45
227 pwctl2 at vrgiu? platform NEC_MCR_3XX id PWCTL_LCD port 10
228 pwctl2 at vrgiu? platform NEC_MCR_500 id PWCTL_LCD port 10
229 pwctl2 at vrgiu? platform NEC_MCCS id PWCTL_LCD port 10
230 pwctl3 at vrgiu? platform NEC_MCR_3XX id PWCTL_SPEAKER port 12
231 pwctl3 at vrgiu? platform NEC_MCR_430 id PWCTL_SPEAKER port 44
232 pwctl3 at vrgiu? platform NEC_MCR_500 id PWCTL_SPEAKER port 12
233 pwctl3 at vrgiu? platform NEC_MCR_510 id PWCTL_SPEAKER port 44
234 pwctl3 at vrgiu? platform NEC_MCR_520 id PWCTL_SPEAKER port 44
235 #pwctl3 at vrgiu? platform NEC_MCR_520A id PWCTL_SPEAKER port 44
236 pwctl3 at vrgiu? platform NEC_MCR_530 id PWCTL_SPEAKER port 44
237 #pwctl3 at vrgiu? platform NEC_MCR_530A id PWCTL_SPEAKER port 44
238 #pwctl3 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_SPEAKER port 44
239 pwctl3 at vrgiu? platform IBM_WORKPAD id PWCTL_SPEAKER port 49
240 #pwctl4 at vrgiu? platform NEC_MCR_430 id PWCTL_COM1 port 47
241 #pwctl4 at vrgiu? platform NEC_MCR_530 id PWCTL_COM1 port 47
242 #pwctl4 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_COM1 port 47
243 vrisab0 at vrgiu? platform NEC_MCR
244 vrisab0 at vrgiu? platform NEC_MCCS
245 vrisab0 at vrgiu? platform IBM_WORKPAD isaportoffset 0x1000000
246 isa0 at vrisab0
247 pcic0 at isa0 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00090003
248 #
249 # Freestyle
250 # Button to GPIO port # mapping
251 # +---------+
252 # 1 +| |
253 # | |+ 7
254 # | |
255 #20 +| LCD |+ 4
256 # | | + 6
257 # 8 +| |+ 5
258 # | |
259 # | |+----Power On/Off (connected to PMU)
260 # +---------+
261 # +9
262 # +12 +10
263 # +11
264 # (PCIC-ISA : 23)
265 button0 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP0 port 9
266 button1 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP1 port 10
267 button2 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP2 port 11
268 button3 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP3 port 12
269 button4 at vrgiu? platform EVEREX_FREESTYLE id BTN_CANCEL port 7
270 button5 at vrgiu? platform EVEREX_FREESTYLE id BTN_UP port 4
271 button6 at vrgiu? platform EVEREX_FREESTYLE id BTN_OK port 6
272 button7 at vrgiu? platform EVEREX_FREESTYLE id BTN_DOWN port 5
273 button8 at vrgiu? platform EVEREX_FREESTYLE id BTN_REC port 1
274 button9 at vrgiu? platform EVEREX_FREESTYLE id BTN_LIGHT port 20
275 button10 at vrgiu? platform EVEREX_FREESTYLE id BTN_CONTRAST port 8
276 vrisab1 at vrgiu? platform EVEREX_FREESTYLE isaportoffset 0x1000000
277 isa1 at vrisab1
278 pcic0 at isa1 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00170003
279
280 options PCIC_ISA_INTR_ALLOC_MASK=0x0008 # IRQ 3 only (MCR/Freestyle)
281
282 #
283 # Fujitsu INTERTOP CX300
284 #
285 pwctl0 at vrgiu? platform FUJITSU_INTERTOP id PWCTL_COM0 port 15
286 vrisab2 at vrgiu? platform FUJITSU_INTERTOP isaportoffset 0x1000000
287 isa2 at vrisab2
288 pcic0 at isa2 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00060003
289
290 #
291 # Vadem Clio and Sharp Tripad
292 #
293 vrisab3 at vrgiu? platform SHARP_TRIPAD isaportoffset 0x1000000
294 vrisab3 at vrgiu? platform VADEM_CLIO_C isaportoffset 0x1000000
295 isa3 at vrisab3
296 pcic0 at isa3 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x000d0003
297
298 #
299 # CASIO CASSIOPEIA E55 and for DoCoMo
300 #
301 button0 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_OK active 0 port 6
302 button1 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_CANCEL active 0 port 7
303 button2 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP0 active 0 port 8
304 button3 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP1 active 0 port 9
305 button4 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP2 active 0 port 10
306 button5 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP3 active 0 port 11
307 button6 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_DOWN active 0 port 12
308 button7 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_UP active 0 port 13
309 pwctl0 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id PWCTL_COM0 port 38
310 pwctl1 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id PWCTL_LCDLIGHT port 26
311
312 # 'CF hack' for all CASSIOPEIA E series
313 vrisab4 at vrgiu? platform CASIO_CASSIOPEIAE_EXX isaportoffset 0xc000
314 vrisab4 at vrgiu? platform CASIO_CASSIOPEIAE_EXXX isaportoffset 0xc000
315 isa4 at vrisab4
316 wdc0 at isa4 port 0x170 irq 0x02000003 flags 0x0002 # single drive
317
318 #
319 # Fujitsu PenCentra 130
320 #
321 vrc4172gpio0 at vrgiu? platform FUJITSU_PENCENTRA_130 addr 0x15001080 size 0x4a port 10
322 vrisab5 at vrc4172gpio0 isaportoffset 0x1000000
323 isa5 at vrisab5
324 pcic0 at isa5 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00010003
325
326 # PCMCIA bus support
327 pcmcia* at pcic? controller 0 socket ?
328
329 # PCMCIA IDE disk
330 wdc* at pcmcia? function ?
331 wd* at wdc? channel ? drive ? flags 0x0000
332
333 # PCMCIA network interfaces
334 ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
335 mbe* at pcmcia? function ? # MB8696x based Ethernet
336 ne* at pcmcia? function ? # NE2000-compatible Ethernet
337 ray* at pcmcia? function ? # Raytheon Raylink (802.11)
338 sm* at pcmcia? function ? # Megahertz Ethernet
339 wi* at pcmcia? function ? # Lucent WaveLan IEEE (802.11)
340 awi* at pcmcia? function ? # WLI-PCM
341 an* at pcmcia? function ? # Aironet PC4500/PC4800 (802.11)
342
343 # PCMCIA Serial interfaces
344 com* at pcmcia? function ? # Modems and serial cards
345
346 # PCMCIA SCSI interfaces
347 aic* at pcmcia? function ?
348 esp* at pcmcia? function ? # NCR53c406 SCSI
349
350 # ATAPI bus support
351 atapibus* at wdc? channel ?
352 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
353 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
354
355 # SCSI bus support
356 scsibus* at aic?
357 scsibus* at esp?
358 sd* at scsibus? target ? lun ? # SCSI disk drives
359 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
360
361 pseudo-device loop 1 # network loopback
362 pseudo-device ppp 2 # serial-line IP ports
363 pseudo-device pty # pseudo-terminals
364 pseudo-device bpfilter 16 # packet filter ports
365 pseudo-device ipfilter # IP filter, NAT
366
367 pseudo-device vnd 4 # virtual disk ick
368 #pseudo-device ccd 4 # concatenated disks
369 pseudo-device rnd # /dev/random and in-kernel generator
370
371 pseudo-device biconsdev 1 # build-in console device
372 pseudo-device wsmux # mouse & keyboard multiplexor
373 #pseudo-device md 1 # memory disk device (ramdisk)
374
375 #pseudo-device raid 4 # RAIDframe disk driver
376 #options RAID_AUTOCONFIG # auto-configuration of RAID components
377
378 # for IPv6
379 pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
380 #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
381 #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
382
383 ## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
384 pseudo-device vlan
385
386 ## Simple inter-network traffic bridging
387 pseudo-device bridge
388