Home | History | Annotate | Line # | Download | only in conf
GENERIC revision 1.87
      1 #
      2 # Distribution kernel (NEC VR based model) kernel config file
      3 
      4 #
      5 # 	$NetBSD: GENERIC,v 1.87 2001/04/20 12:08:45 sato Exp $
      6 #
      7 include		"arch/hpcmips/conf/std.hpcmips"
      8 
      9 #ident 		"GENERIC-$Revision: 1.87 $"
     10 
     11 maxusers	8
     12 
     13 options 	MIPS3			# R4000/R4400/R4600 CPUs
     14 
     15 # Support for specific models of H/PC MIPS
     16 options 	MIPS3_4100		# VR4100 core
     17 options 	VR41XX			# NEC VR41xx series
     18 options 	VR4102			# NEC VR4102
     19 options 	VR4111			# NEC VR4111
     20 options 	VR4121			# NEC VR4121
     21 options 	NOFPU			# No FPU
     22 options 	SOFTFLOAT		# emulate FPU insn
     23 options 	MIPS3_L2CACHE_ABSENT
     24 
     25 # Standard system options
     26 options 	DDB			# in-kernel debugger
     27 #options 	DDB_ONPANIC=0		# don't enter debugger on panic
     28 #options 	KGDB			# remote debugger
     29 #options 	DIAGNOSTIC		# extra kernel debugging checks
     30 #options 	DEBUG			# extra kernel debugging support
     31 options 	KTRACE			# system call tracing support
     32 options 	MSGBUFSIZE=8192		# dmesg buffer size
     33 
     34 ## UVM options.
     35 #options 	UVM_PAGE_TRKOWN
     36 #options 	UVMHIST
     37 #options 	UVMHIST_PRINT	# Loud!
     38 
     39 #options 	SCSIVERBOSE		# human readable SCSI error messages
     40 #options 	PCMCIAVERBOSE		# verbose PCMCIA configuration messages
     41 
     42 #options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
     43 #options 	RTC_OFFSET=-540		# JST-9
     44 #options 	RTC_OFFSET=480		# PST8
     45 					# In NO RTC_OFFSET , inherit RTC_OFFSET
     46 					# from Windows CE.
     47 options 	NTP			# network time protocol
     48 #options 	UCONSOLE		# users can redirect console (unsafe)
     49 
     50 #options 	WINCE_DEFAULT_SETTING	# Debugging use
     51 #options 	DUMP_GIU_LEVEL2_INTR	# Debugging use
     52 #options 	DEBUG_FIND_PCIC		# Debugging use XXX harmful don't define until read source.
     53 
     54 #options 	SYSCALL_DEBUG		# for debug
     55 #options 	HPCMIPS_L1CACHE_DISABLE	# disable L1 cache for debug
     56 #options 	HPCMIPS_FLUSHCACHE_XXX	# for debug
     57 
     58 # Filesystem options
     59 file-system 	FFS             # fast filesystem with user and group quotas
     60 file-system 	MFS		# memory-based filesystem
     61 file-system 	NFS		# Sun NFS-compatible filesystem (client)
     62 #file-system	LFS		# Log-based filesystem (still experimental)
     63 file-system 	CD9660		# ISO 9660 + Rock Ridge file system
     64 file-system 	MSDOSFS		# MS-DOS file system
     65 #file-system 	FDESC		# /dev/fd
     66 file-system 	KERNFS		# /kern (kernel informational filesystem)
     67 #file-system 	NULLFS		# loopback file system
     68 #file-system 	OVERLAY		# overlay file system
     69 #file-system 	PORTAL		# portal filesystem (still experimental)
     70 file-system 	PROCFS		# /proc
     71 #file-system 	UMAPFS		# NULLFS + uid and gid remapping
     72 file-system 	UNION
     73 
     74 #options 	NFSSERVER	# Sun NFS-compatible filesystem (server)
     75 options 	SOFTDEP         # FFS soft updates support.
     76 #options 	QUOTA		# UFS quotas
     77 options 	VNODE_OP_NOINLINE # don't inline vnode op calls
     78 
     79 # Networking options
     80 #options 	GATEWAY		# IP packet forwarding
     81 options 	INET		# IP + ICMP + TCP + UDP
     82 options 	INET6		# IPV6
     83 #options 	IPSEC		# IP security
     84 #options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
     85 #options 	IPSEC_DEBUG	# debug for IP security
     86 #options 	MROUTING	# Multicast routing support
     87 #options 	ISO		# OSI networking
     88 #options 	TPIP		# TPIP
     89 #options 	EON		# OSI tunneling over IP
     90 #options 	CCITT,LLC,HDLC	# X.25
     91 
     92 # NetBSD backwards compatibility
     93 options 	COMPAT_43
     94 
     95 options 	NFS_BOOT_DHCP
     96 
     97 config		netbsd		root on ? type ?
     98 
     99 # WS console uses SUN or VT100 terminal emulation
    100 options 	WSEMUL_VT100
    101 #options 	WSDISPLAY_DEFAULTSCREENS=4
    102 #options 	FONT_VT220L8x8
    103 options 	FONT_VT220L8x10
    104 # compatibility to other console drivers
    105 options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
    106 options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
    107 options 	WSDISPLAY_COMPAT_USL		# VT handling
    108 options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
    109 #
    110 # Hpckbd will set key board layout appropriately. You can use option
    111 # 'PCKBD_LAYOUT' to overrite the default layout.
    112 #
    113 #options	PCKBD_LAYOUT="(KB_US | KB_SWAPCTRLCAPS | KB_MACHDEP)"
    114 
    115 # temporally power management
    116 hpcapm0	at mainbus0			# power management
    117 apmdev0	at hpcapm0			# APM
    118 
    119 vrip*	at mainbus0
    120 vrbcu*	at vrip? addr 0x0b000000 size 0x20
    121 vrcmu*	at vrip? addr 0x0b000060 size 0x20
    122 vrrtc*	at vrip? addr 0x0b0000c0 size 0x20 intr 2
    123 
    124 vrkiu*  at vrip? addr 0x0b000180 size 0x20 intr 7
    125 hpckbd*	at vrkiu?
    126 options 	__NO_SOFT_SERIAL_INTERRUPT
    127 com*	at vrip? addr 0x0c000000 size 0x20 intr 9 pwctl PWCTL_COM0
    128 vrgiu*	at vrip? addr 0x0b000100 size 0x20 intr 8
    129 vrpmu*	at vrip? addr 0x0b0000a0 size 0x20 intr 1 # power switch
    130 vrdsu*	at vrip? addr 0x0b0000e0 size 0x08
    131 vrpiu*	at vrip? addr 0x0b000120 size 0x1a0 intr 5
    132 vrled*  at vrip? addr 0x0b000240 size 0x10 intr 17
    133 
    134 options 	MQ200_DEBUG
    135 #options 	MQ200_USECRT
    136 mqvideo0 at vrip? addr 0x0a000000 size 0x800000	# MQ200 video controller
    137 hpcfb*		at	mqvideo?
    138 
    139 ite8181video0 at vrip? addr 0x0a000000 size 0x800000 # ITE8181 video controller
    140 hpcfb*		at	ite8181video?
    141 
    142 vrc4172pwm*  at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_430
    143 vrc4172pwm*  at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_510
    144 vrc4172pwm*  at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_520
    145 vrc4172pwm*  at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_520A
    146 vrc4172pwm*  at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_530
    147 vrc4172pwm*  at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_SIGMARION
    148 vrc4172pwm*  at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_530A
    149 vrc4172pwm*  at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_700
    150 
    151 # Workstation Console attachments
    152 bivideo0	at	mainbus0
    153 hpcfb*		at	bivideo0
    154 wsdisplay*	at	hpcfb?
    155 wskbd*		at	hpckbd? mux 1
    156 wsmouse*	at	vrpiu? mux 0
    157 btnmgr0		at	mainbus0
    158 wskbd*		at	btnmgr0 mux 1
    159 
    160 #
    161 # hpcmips isa? bus irq locator means:
    162 #
    163 # 0x0000000f ISA IRQ#
    164 # 0x00ff0000 GPIO port#
    165 # 0x01000000 interrupt signal hold/through	(1:hold/0:though)
    166 # 0x02000000 interrupt detection level		(1:low /0:high	)
    167 # 0x04000000 interrupt detection trigger	(1:edge/0:level	)
    168 
    169 #
    170 # MC-R300, MC-R500
    171 # Button to GPIO port # mapping
    172 #  + REC button       : 4
    173 #  + Open/Close button: 6
    174 # (PCIC-ISA : 9)
    175 # (COM power:14)
    176 #
    177 # MC-R510
    178 # Button to GPIO port # mapping
    179 #  + Open/Close button: 3
    180 # (PCIC-ISA : 9)
    181 # (COM power:14)
    182 #
    183 # MC-R530
    184 # Button to GPIO port # mapping
    185 #  + Open/Close button: 3
    186 #  + Application button: 2
    187 # (PCIC-ISA : 9)
    188 # (COM power:14)
    189 #
    190 # MC-R700
    191 # Button to GPIO port # mapping
    192 #  + Open/Close button: 3
    193 # (PCIC-ISA : 9)
    194 # (COM power:46)
    195 #
    196 # MC-CS
    197 # Button to GPIO port # mapping
    198 # (PCIC-ISA : 9)
    199 # (COM power:14)
    200 #
    201 # IBM WorkPad z50
    202 # Button to GPIO port # mapping
    203 #  + REC button       : 1
    204 #  + Application button?      : 2
    205 # (PCIC-ISA : 9)
    206 #
    207 button0 at vrgiu? platform NEC_MCR_3XX id BTN_REC port 4
    208 button0 at vrgiu? platform NEC_MCR_500 id BTN_REC port 4
    209 button0 at vrgiu? platform IBM_WORKPAD id BTN_REC port 1 active 0 
    210 button1 at vrgiu? platform NEC_MCR_430 id BTN_COVER port 3
    211 button1 at vrgiu? platform NEC_MCR_510 id BTN_COVER port 3
    212 button1 at vrgiu? platform NEC_MCR_520 id BTN_COVER port 3
    213 button1 at vrgiu? platform NEC_MCR_530 id BTN_COVER port 3
    214 button1 at vrgiu? platform NEC_MCR_SIGMARION id BTN_COVER port 3
    215 button1 at vrgiu? platform NEC_MCR_7XX id BTN_COVER port 3
    216 button1 at vrgiu? platform NEC_MCR_3XX id BTN_COVER port 6
    217 button1 at vrgiu? platform NEC_MCR_500 id BTN_COVER port 6
    218 button2 at vrgiu? platform NEC_MCR_530 id BTN_APP0  port 2
    219 button2 at vrgiu? platform IBM_WORKPAD id BTN_APP0  port 2 active 0
    220 button3 at vrgiu? platform NEC_MCCS id BTN_LIGHT port 8
    221 pwctl0 at vrgiu? platform NEC_MCR_3XX id PWCTL_COM0 port 14
    222 pwctl0 at vrgiu? platform NEC_MCR_430 id PWCTL_COM0 port 46
    223 pwctl0 at vrgiu? platform NEC_MCR_500 id PWCTL_COM0 port 14
    224 pwctl0 at vrgiu? platform NEC_MCR_530 id PWCTL_COM0 port 46
    225 #pwctl0 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_COM0 port 46
    226 pwctl0 at vrgiu? platform NEC_MCR_7XX id PWCTL_COM0 port 46
    227 pwctl0 at vrgiu? platform NEC_MCCS id PWCTL_COM0 port 14
    228 pwctl1 at vrgiu? platform NEC_MCR_300 id PWCTL_LCDLIGHT port 45
    229 pwctl1 at vrgiu? platform NEC_MCR_FORDOCOMO id PWCTL_LCDLIGHT port 45
    230 pwctl1 at vrgiu? platform NEC_MCR_500 id PWCTL_LCDLIGHT port 45
    231 pwctl1 at vrgiu? platform NEC_MCCS id PWCTL_LCDLIGHT port 45
    232 pwctl2 at vrgiu? platform NEC_MCR_300 id PWCTL_LCD port 10
    233 pwctl2 at vrgiu? platform NEC_MCR_FORDOCOMO id PWCTL_LCD port 10
    234 pwctl2 at vrgiu? platform NEC_MCR_500 id PWCTL_LCD port 10
    235 pwctl2 at vrgiu? platform NEC_MCCS id PWCTL_LCD port 10
    236 pwctl3 at vrgiu? platform NEC_MCR_3XX id PWCTL_SPEAKER port 12
    237 pwctl3 at vrgiu? platform NEC_MCR_430 id PWCTL_SPEAKER port 44
    238 pwctl3 at vrgiu? platform NEC_MCR_500 id PWCTL_SPEAKER port 12
    239 pwctl3 at vrgiu? platform NEC_MCR_510 id PWCTL_SPEAKER port 44
    240 pwctl3 at vrgiu? platform NEC_MCR_520 id PWCTL_SPEAKER port 44
    241 pwctl3 at vrgiu? platform NEC_MCR_530 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 # Unknown machines
    323 #
    324 vrisab4 at vrgiu?
    325 isa4	at vrisab4
    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		2	# 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 pseudo-device	vlan			# IEEE 802.1q encapsulation
    384