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