Home | History | Annotate | Line # | Download | only in conf
VR41XX revision 1.1
      1 # $NetBSD: VR41XX,v 1.1 2002/01/02 13:13:19 uch 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.1 $"
     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 # WS console uses SUN or VT100 terminal emulation
    105 options 	WSEMUL_VT100
    106 #options 	WSDISPLAY_DEFAULTSCREENS=4
    107 #options 	FONT_VT220L8x8
    108 options 	FONT_VT220L8x10
    109 # compatibility to other console drivers
    110 options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
    111 options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
    112 options 	WSDISPLAY_COMPAT_USL		# VT handling
    113 options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
    114 #
    115 # Hpckbd will set key board layout appropriately. You can use option
    116 # 'PCKBD_LAYOUT' to overrite the default layout.
    117 #
    118 #options 	PCKBD_LAYOUT="(KB_US | KB_SWAPCTRLCAPS | KB_MACHDEP)"
    119 
    120 # temporally power management
    121 hpcapm0	at mainbus0			# power management
    122 apmdev0	at hpcapm0			# APM
    123 
    124 options 	MQ200_DEBUG
    125 #options 	MQ200_USECRT
    126 mqvideo0 at vrip? addr 0x0a000000 size 0x800000	# MQ200 video controller
    127 hpcfb*		at	mqvideo?
    128 
    129 ite8181video0 at vrip? addr 0x0a000000 size 0x800000 # ITE8181 video controller
    130 hpcfb*		at	ite8181video?
    131 
    132 vrc4172pwm*	at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_430
    133 vrc4172pwm*	at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_510
    134 vrc4172pwm*	at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_520
    135 vrc4172pwm*	at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_520A
    136 vrc4172pwm*	at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_530
    137 vrc4172pwm*	at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_SIGMARION
    138 vrc4172pwm*	at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_530A
    139 vrc4172pwm*	at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_700
    140 
    141 # Workstation Console attachments
    142 bivideo0	at	mainbus0
    143 hpcfb*		at	bivideo0
    144 wsdisplay*	at	hpcfb?
    145 wskbd*		at	hpckbd? mux 1
    146 wsmouse*	at	vrpiu? mux 0
    147 btnmgr0		at	mainbus0
    148 wskbd*		at	btnmgr0 mux 1
    149 
    150 #
    151 # hpcmips isa? bus irq locator means:
    152 #
    153 # 0x0000000f ISA IRQ#
    154 # 0x00ff0000 GPIO port#
    155 # 0x01000000 interrupt signal hold/through	(1:hold/0:though)
    156 # 0x02000000 interrupt detection level		(1:low /0:high	)
    157 # 0x04000000 interrupt detection trigger	(1:edge/0:level	)
    158 
    159 #
    160 # MC-R300, MC-R500
    161 # Button to GPIO port # mapping
    162 #  + REC button       : 4
    163 #  + Open/Close button: 6
    164 # (PCIC-ISA : 9)
    165 # (COM power:14)
    166 #
    167 # MC-R510
    168 # Button to GPIO port # mapping
    169 #  + Open/Close button: 3
    170 # (PCIC-ISA : 9)
    171 # (COM power:14)
    172 #
    173 # MC-R530
    174 # Button to GPIO port # mapping
    175 #  + Open/Close button: 3
    176 #  + Application button: 2
    177 # (PCIC-ISA : 9)
    178 # (COM power:46)
    179 #
    180 # MC-R700
    181 # Button to GPIO port # mapping
    182 #  + Open/Close button: 3
    183 # (PCIC-ISA : 9)
    184 # (COM power:46)
    185 #
    186 # MC-CS
    187 # Button to GPIO port # mapping
    188 # (PCIC-ISA : 9)
    189 # (COM power:14)
    190 #
    191 # IBM WorkPad z50
    192 # Button to GPIO port # mapping
    193 #  + REC button       : 1
    194 #  + Application button?      : 2
    195 # (PCIC-ISA : 9)
    196 #
    197 button0 at vrgiu? platform NEC_MCR_3XX id BTN_REC port 4
    198 button0 at vrgiu? platform NEC_MCR_500 id BTN_REC port 4
    199 button0 at vrgiu? platform IBM_WORKPAD id BTN_REC port 1 active 0
    200 button1 at vrgiu? platform NEC_MCR_430 id BTN_COVER port 3
    201 button1 at vrgiu? platform NEC_MCR_510 id BTN_COVER port 3
    202 button1 at vrgiu? platform NEC_MCR_520 id BTN_COVER port 3
    203 #button1 at vrgiu? platform NEC_MCR_520A id BTN_COVER port 3
    204 button1 at vrgiu? platform NEC_MCR_530 id BTN_COVER port 3
    205 #button1 at vrgiu? platform NEC_MCR_530A id BTN_COVER port 3
    206 button1 at vrgiu? platform NEC_MCR_SIGMARION id BTN_COVER port 3
    207 button1 at vrgiu? platform NEC_MCR_7XX id BTN_COVER port 3
    208 button1 at vrgiu? platform NEC_MCR_3XX id BTN_COVER port 6
    209 button1 at vrgiu? platform NEC_MCR_500 id BTN_COVER port 6
    210 button2 at vrgiu? platform NEC_MCR_530 id BTN_APP0  port 2
    211 button2 at vrgiu? platform IBM_WORKPAD id BTN_APP0  port 2 active 0
    212 button3 at vrgiu? platform NEC_MCCS id BTN_LIGHT port 8
    213 pwctl0 at vrgiu? platform NEC_MCR_3XX id PWCTL_COM0 port 14
    214 pwctl0 at vrgiu? platform NEC_MCR_430 id PWCTL_COM0 port 46
    215 pwctl0 at vrgiu? platform NEC_MCR_500 id PWCTL_COM0 port 14
    216 pwctl0 at vrgiu? platform NEC_MCR_530 id PWCTL_COM0 port 46
    217 pwctl0 at vrgiu? platform NEC_MCR_530A id PWCTL_COM0 port 46
    218 #pwctl0 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_COM0 port 46
    219 pwctl0 at vrgiu? platform NEC_MCR_7XX id PWCTL_COM0 port 46
    220 pwctl0 at vrgiu? platform NEC_MCCS id PWCTL_COM0 port 14
    221 pwctl1 at vrgiu? platform NEC_MCR_3XX id PWCTL_LCDLIGHT port 45
    222 pwctl1 at vrgiu? platform NEC_MCR_500 id PWCTL_LCDLIGHT port 45
    223 pwctl1 at vrgiu? platform NEC_MCCS id PWCTL_LCDLIGHT port 45
    224 pwctl2 at vrgiu? platform NEC_MCR_3XX id PWCTL_LCD port 10
    225 pwctl2 at vrgiu? platform NEC_MCR_500 id PWCTL_LCD port 10
    226 pwctl2 at vrgiu? platform NEC_MCCS id PWCTL_LCD port 10
    227 pwctl3 at vrgiu? platform NEC_MCR_3XX id PWCTL_SPEAKER port 12
    228 pwctl3 at vrgiu? platform NEC_MCR_430 id PWCTL_SPEAKER port 44
    229 pwctl3 at vrgiu? platform NEC_MCR_500 id PWCTL_SPEAKER port 12
    230 pwctl3 at vrgiu? platform NEC_MCR_510 id PWCTL_SPEAKER port 44
    231 pwctl3 at vrgiu? platform NEC_MCR_520 id PWCTL_SPEAKER port 44
    232 #pwctl3 at vrgiu? platform NEC_MCR_520A id PWCTL_SPEAKER port 44
    233 pwctl3 at vrgiu? platform NEC_MCR_530 id PWCTL_SPEAKER port 44
    234 #pwctl3 at vrgiu? platform NEC_MCR_530A id PWCTL_SPEAKER port 44
    235 #pwctl3 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_SPEAKER port 44
    236 pwctl3 at vrgiu? platform IBM_WORKPAD id PWCTL_SPEAKER port 49
    237 #pwctl4 at vrgiu? platform NEC_MCR_430 id PWCTL_COM1 port 47
    238 #pwctl4 at vrgiu? platform NEC_MCR_530 id PWCTL_COM1 port 47
    239 #pwctl4 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_COM1 port 47
    240 vrisab0 at vrgiu? platform NEC_MCR
    241 vrisab0 at vrgiu? platform NEC_MCCS
    242 vrisab0 at vrgiu? platform IBM_WORKPAD isaportoffset 0x1000000
    243 isa0	at vrisab0
    244 pcic0	at isa0 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00090003
    245 #
    246 # Freestyle
    247 # Button to GPIO port # mapping
    248 #    +---------+
    249 # 1 +|         |
    250 #    |         |+ 7
    251 #    |         |
    252 #20 +|   LCD   |+ 4
    253 #    |         | + 6
    254 # 8 +|         |+ 5
    255 #    |         |
    256 #    |         |+----Power On/Off (connected to PMU)
    257 #    +---------+
    258 #          +9
    259 #        +12 +10
    260 #          +11
    261 # (PCIC-ISA : 23)
    262 button0 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP0 port 9
    263 button1 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP1 port 10
    264 button2 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP2 port 11
    265 button3 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP3 port 12
    266 button4 at vrgiu? platform EVEREX_FREESTYLE id BTN_CANCEL port 7
    267 button5 at vrgiu? platform EVEREX_FREESTYLE id BTN_UP port 4
    268 button6 at vrgiu? platform EVEREX_FREESTYLE id BTN_OK port 6
    269 button7 at vrgiu? platform EVEREX_FREESTYLE id BTN_DOWN port 5
    270 button8 at vrgiu? platform EVEREX_FREESTYLE id BTN_REC port 1
    271 button9 at vrgiu? platform EVEREX_FREESTYLE id BTN_LIGHT port 20
    272 button10 at vrgiu? platform EVEREX_FREESTYLE id BTN_CONTRAST port 8
    273 vrisab1 at vrgiu? platform EVEREX_FREESTYLE isaportoffset 0x1000000
    274 isa1	at vrisab1
    275 pcic0	at isa1 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00170003
    276 
    277 options 	PCIC_ISA_INTR_ALLOC_MASK=0x0008 # IRQ 3 only (MCR/Freestyle)
    278 
    279 #
    280 # Fujitsu INTERTOP CX300
    281 #
    282 pwctl0	at vrgiu? platform FUJITSU_INTERTOP id PWCTL_COM0 port 15
    283 vrisab2	at vrgiu? platform FUJITSU_INTERTOP isaportoffset 0x1000000
    284 isa2	at vrisab2
    285 pcic0	at isa2 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00060003
    286 
    287 #
    288 # Vadem Clio and Sharp Tripad
    289 #
    290 vrisab3	at vrgiu? platform SHARP_TRIPAD isaportoffset 0x1000000
    291 vrisab3	at vrgiu? platform VADEM_CLIO_C isaportoffset 0x1000000
    292 isa3	at vrisab3
    293 pcic0	at isa3 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x000d0003
    294 
    295 #
    296 # CASIO CASSIOPEIA E55 and for DoCoMo
    297 #
    298 button0 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_OK active 0 port 6
    299 button1 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_CANCEL active 0 port 7
    300 button2 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP0 active 0 port 8
    301 button3 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP1 active 0 port 9
    302 button4 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP2 active 0 port 10
    303 button5 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP3 active 0 port 11
    304 button6 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_DOWN active 0 port 12
    305 button7 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_UP active 0 port 13
    306 pwctl0	at vrgiu? platform CASIO_CASSIOPEIAE_E55 id PWCTL_COM0 port 38
    307 pwctl1	at vrgiu? platform CASIO_CASSIOPEIAE_E55 id PWCTL_LCDLIGHT port 26
    308 
    309 # 'CF hack' for all CASSIOPEIA E series
    310 vrisab4	at vrgiu? platform CASIO_CASSIOPEIAE_EXX isaportoffset 0xc000
    311 vrisab4	at vrgiu? platform CASIO_CASSIOPEIAE_EXXX isaportoffset 0xc000
    312 isa4	at vrisab4
    313 wdc0	at isa4 port 0x170 irq 0x02000003 flags 0x0002  # single drive
    314 
    315 #
    316 # Fujitsu PenCentra 130
    317 #
    318 vrc4172gpio0 at vrgiu? platform FUJITSU_PENCENTRA_130 addr 0x15001080 size 0x4a port 10
    319 vrisab5	at vrc4172gpio0 isaportoffset 0x1000000
    320 isa5	at vrisab5
    321 pcic0	at isa5 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00010003
    322 
    323 # PCMCIA bus support
    324 pcmcia*	at pcic? controller 0 socket ?
    325 
    326 # PCMCIA IDE disk
    327 wdc*	at pcmcia? function ?
    328 wd*	at wdc? channel ? drive ? flags 0x0000
    329 
    330 # PCMCIA network interfaces
    331 ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
    332 mbe*	at pcmcia? function ?		# MB8696x based Ethernet
    333 ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
    334 ray*	at pcmcia? function ?		# Raytheon Raylink (802.11)
    335 sm*	at pcmcia? function ?		# Megahertz Ethernet
    336 wi*	at pcmcia? function ?		# Lucent WaveLan IEEE (802.11)
    337 awi*	at pcmcia? function ?		# WLI-PCM
    338 an*	at pcmcia? function ?		# Aironet PC4500/PC4800 (802.11)
    339 
    340 # PCMCIA Serial interfaces
    341 com*	at pcmcia? function ?		# Modems and serial cards
    342 
    343 # PCMCIA SCSI interfaces
    344 aic*	at pcmcia? function ?
    345 esp*	at pcmcia? function ?		# NCR53c406 SCSI
    346 
    347 # ATAPI bus support
    348 atapibus* at wdc? channel ?
    349 cd*	at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
    350 sd*	at atapibus? drive ? flags 0x0000 # ATAPI disk drives
    351 
    352 # SCSI bus support
    353 scsibus* at aic?
    354 scsibus* at esp?
    355 sd*	at scsibus? target ? lun ?	# SCSI disk drives
    356 cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
    357 
    358 pseudo-device	loop		1	# network loopback
    359 pseudo-device	ppp		2	# serial-line IP ports
    360 pseudo-device	pty			# pseudo-terminals
    361 pseudo-device	bpfilter	16	# packet filter ports
    362 pseudo-device	ipfilter		# IP filter, NAT
    363 
    364 pseudo-device	vnd		4	# virtual disk ick
    365 #pseudo-device	ccd		4	# concatenated disks
    366 pseudo-device	rnd			# /dev/random and in-kernel generator
    367 
    368 pseudo-device	biconsdev	1	# build-in console device
    369 pseudo-device	wsmux			# mouse & keyboard multiplexor
    370 #pseudo-device	md		1	# memory disk device (ramdisk)
    371 
    372 #pseudo-device	raid		4	# RAIDframe disk driver
    373 #options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
    374 
    375 # for IPv6
    376 pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
    377 #pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
    378 #pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
    379 
    380 ## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
    381 pseudo-device	vlan
    382 
    383 ## Simple inter-network traffic bridging
    384 pseudo-device	bridge
    385