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