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