GENERIC revision 1.71
11.1Stakemura#
21.46Such# Distribution kernel (NEC VR based model) kernel config file
31.1Stakemura
41.1Stakemura#
51.71Stakemura# 	$NetBSD: GENERIC,v 1.71 2000/10/21 07:27:41 takemura Exp $
61.1Stakemura#
71.1Stakemurainclude		"arch/hpcmips/conf/std.hpcmips"
81.24Shubertf
91.71Stakemura#ident 		"GENERIC-$Revision: 1.71 $"
101.1Stakemura
111.1Stakemuramaxusers	8
121.1Stakemura
131.1Stakemuraoptions 	MIPS3			# R4000/R4400/R4600 CPUs
141.1Stakemura
151.1Stakemura# Support for specific models of H/PC MIPS
161.1Stakemuraoptions 	VR41X1			# NEC VR41x1 series
171.9Senamioptions 	MIPS3_4100		# VR4100 core
181.22Sshinoptions 	NOFPU			# No FPU
191.22Sshinoptions 	SOFTFLOAT		# emulate FPU insn
201.9Senamioptions 	MIPS3_L2CACHE_ABSENT
211.1Stakemura
221.1Stakemura# Standard system options
231.1Stakemuraoptions 	DDB			# in-kernel debugger
241.1Stakemura#options 	DDB_ONPANIC=0		# don't enter debugger on panic
251.58Sjeffs#options	KGDB			# remote debugger
261.1Stakemura#options 	DIAGNOSTIC		# extra kernel debugging checks
271.1Stakemura#options 	DEBUG			# extra kernel debugging support
281.1Stakemuraoptions 	KTRACE			# system call tracing support
291.1Stakemura
301.54Sshin#options 	SCSIVERBOSE		# human readable SCSI error messages
311.27Ssato#options 	PCMCIAVERBOSE		# verbose PCMCIA configuration messages
321.1Stakemura
331.11Ssato#options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
341.9Senami#options 	RTC_OFFSET=-540		# JST-9
351.9Senami#options 	RTC_OFFSET=480		# PST8
361.25Ssato					# In NO RTC_OFFSET , inherit RTC_OFFSET
371.25Ssato					# from Windows CE.
381.1Stakemuraoptions 	NTP			# network time protocol
391.1Stakemura#options 	UCONSOLE		# users can redirect console (unsafe)
401.1Stakemura
411.9Senami#options 	WINCE_DEFAULT_SETTING	# Debugging use
421.9Senami#options 	DUMP_GIU_LEVEL2_INTR	# Debugging use
431.9Senami#options 	DEBUG_FIND_PCIC		# Debugging use XXX harmful don't define until read source.
441.9Senami
451.9Senami#options 	SYSCALL_DEBUG		# for debug
461.9Senami#options 	HPCMIPS_L1CACHE_DISABLE	# disable L1 cache for debug
471.9Senami#options 	HPCMIPS_FLUSHCACHE_XXX	# for debug
481.1Stakemura
491.1Stakemura# Filesystem options
501.1Stakemurafile-system 	FFS             # fast filesystem with user and group quotas
511.1Stakemurafile-system 	MFS		# memory-based filesystem
521.1Stakemurafile-system 	NFS		# Sun NFS-compatible filesystem (client)
531.1Stakemura#file-system	LFS		# Log-based filesystem (still experimental)
541.54Sshinfile-system 	CD9660		# ISO 9660 + Rock Ridge file system
551.20Sshinfile-system 	MSDOSFS		# MS-DOS file system
561.1Stakemura#file-system 	FDESC		# /dev/fd
571.1Stakemurafile-system 	KERNFS		# /kern (kernel informational filesystem)
581.1Stakemura#file-system 	NULLFS		# loopback file system
591.23Swrstuden#file-system 	OVERLAY		# overlay file system
601.1Stakemura#file-system 	PORTAL		# portal filesystem (still experimental)
611.1Stakemurafile-system 	PROCFS		# /proc
621.1Stakemura#file-system 	UMAPFS		# NULLFS + uid and gid remapping
631.1Stakemurafile-system 	UNION
641.1Stakemura
651.1Stakemura#options 	NFSSERVER	# Sun NFS-compatible filesystem (server)
661.55Sfvdloptions 	SOFTDEP         # FFS soft updates support.
671.54Sshin#options 	QUOTA		# UFS quotas
681.68Sshinoptions 	VNODE_OP_NOINLINE # don't inline vnode op calls
691.13Sjun
701.1Stakemura# Networking options
711.13Sjun#options 	GATEWAY		# IP packet forwarding
721.13Sjunoptions 	INET		# IP + ICMP + TCP + UDP
731.13Sjunoptions 	INET6		# IPV6
741.13Sjun#options 	IPSEC		# IP security
751.13Sjun#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
761.13Sjun#options 	IPSEC_DEBUG	# debug for IP security
771.1Stakemura#options 	MROUTING	# Multicast routing support
781.1Stakemura#options 	ISO		# OSI networking
791.1Stakemura#options 	TPIP		# TPIP
801.1Stakemura#options 	EON		# OSI tunneling over IP
811.1Stakemura#options 	CCITT,LLC,HDLC	# X.25
821.1Stakemura
831.1Stakemura# NetBSD backwards compatibility
841.45Suchoptions 	COMPAT_43
851.1Stakemura
861.9Senamioptions 	NFS_BOOT_DHCP
871.1Stakemura
881.1Stakemuraconfig		netbsd		root on ? type ?
891.1Stakemura
901.1Stakemura# WS console uses SUN or VT100 terminal emulation
911.1Stakemuraoptions 	WSEMUL_VT100
921.9Senamioptions 	WSDISPLAY_DEFAULTSCREENS=4
931.9Senami#options 	FONT_VT220L8x8
941.9Senamioptions 	FONT_VT220L8x10
951.48Stakemura# compatibility to other console drivers
961.48Stakemuraoptions 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
971.48Stakemuraoptions 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
981.48Stakemuraoptions 	WSDISPLAY_COMPAT_USL		# VT handling
991.48Stakemuraoptions 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
1001.71Stakemura#
1011.71Stakemura# Hpckbd will set key board layout appropriately. You can use option
1021.71Stakemura# 'PCKBD_LAYOUT' to overrite the default layout.
1031.71Stakemura#
1041.71Stakemura#options	PCKBD_LAYOUT="(KB_US | KB_SWAPCTRLCAPS | KB_MACHDEP)"
1051.57Stakemura
1061.57Stakemura# temporally power management
1071.61Stakemurahpcapm0	at mainbus0			# power management
1081.61Stakemuraapmdev0	at hpcapm0			# APM
1091.1Stakemura
1101.1Stakemuravrip*	at mainbus0
1111.70Ssatovrbcu*	at vrip? addr 0x0b000000 size 0x20
1121.1Stakemuravrcmu*	at vrip? addr 0x0b000060 size 0x20
1131.1Stakemuravrrtc*	at vrip? addr 0x0b0000c0 size 0x20 intr 2
1141.1Stakemura
1151.1Stakemuravrkiu*  at vrip? addr 0x0b000180 size 0x20 intr 7
1161.65Stakemurahpckbd*	at vrkiu?
1171.9Senamioptions 	__NO_SOFT_SERIAL_INTERRUPT
1181.28Stakemuracom*	at vrip? addr 0x0c000000 size 0x20 intr 9 pwctl PWCTL_COM0
1191.1Stakemuravrgiu*	at vrip? addr 0x0b000100 size 0x20 intr 8
1201.1Stakemuravrpmu*	at vrip? addr 0x0b0000a0 size 0x20 intr 1 # power switch
1211.16Stakemuravrdsu*	at vrip? addr 0x0b0000e0 size 0x08
1221.19Stakemuravrpiu*	at vrip? addr 0x0b000120 size 0x1a0 intr 5
1231.70Ssatovrled*  at vrip? addr 0x0b000240 size 0x10 intr 17
1241.59Stakemura
1251.61Stakemuramqvideo0 at vrip? addr 0x0a000000 size 0x800000	# MQ200 video controller
1261.61Stakemurahpcfb*		at	mqvideo?
1271.69Ssato
1281.69Ssatoite8181video0 at vrip? addr 0x0a000000 size 0x800000 # ITE8181 video controller
1291.69Ssatohpcfb*		at	ite8181video?
1301.19Stakemura
1311.19Stakemura# Workstation Console attachments
1321.35Stakemurabivideo0	at	mainbus0
1331.35Stakemurahpcfb*		at	bivideo0
1341.35Stakemurawsdisplay*	at	hpcfb?
1351.65Stakemurawskbd*		at	hpckbd? mux 1
1361.19Stakemurawsmouse*	at	vrpiu? mux 0
1371.36Stakemurabtnmgr0		at	mainbus0
1381.36Stakemurawskbd*		at	btnmgr0 mux 1
1391.1Stakemura
1401.1Stakemura#
1411.33Stakemura# hpcmips isa? bus irq locator means:
1421.33Stakemura#
1431.33Stakemura# 0x0000000f ISA IRQ#
1441.33Stakemura# 0x00ff0000 GPIO port#
1451.33Stakemura# 0x01000000 interrupt signal hold/through	(1:hold/0:though)
1461.33Stakemura# 0x02000000 interrupt detection level		(1:low /0:high	)
1471.33Stakemura# 0x04000000 interrupt detection trigger	(1:edge/0:level	)
1481.33Stakemura
1491.33Stakemura#
1501.27Ssato# MC-R300, MC-R500
1511.1Stakemura# Button to GPIO port # mapping
1521.1Stakemura#  + REC button       : 4
1531.1Stakemura#  + Open/Close button: 6
1541.1Stakemura# (PCIC-ISA : 9)
1551.1Stakemura# (COM power:14)
1561.27Ssato#
1571.27Ssato# MC-R510
1581.27Ssato# Button to GPIO port # mapping
1591.27Ssato#  + Open/Close button: 3
1601.27Ssato# (PCIC-ISA : 9)
1611.27Ssato# (COM power:14)
1621.27Ssato#
1631.27Ssato# MC-R530
1641.27Ssato# Button to GPIO port # mapping
1651.27Ssato#  + Open/Close button: 3
1661.27Ssato#  + Application button: 2
1671.27Ssato# (PCIC-ISA : 9)
1681.27Ssato# (COM power:14)
1691.27Ssato#
1701.27Ssato# MC-R700
1711.27Ssato# Button to GPIO port # mapping
1721.27Ssato#  + Open/Close button: 3
1731.27Ssato# (PCIC-ISA : 9)
1741.27Ssato# (COM power:46)
1751.27Ssato#
1761.27Ssato# MC-CS
1771.27Ssato# Button to GPIO port # mapping
1781.27Ssato# (PCIC-ISA : 9)
1791.27Ssato# (COM power:14)
1801.27Ssato#
1811.27Ssato# IBM WorkPad z50
1821.27Ssato# Button to GPIO port # mapping
1831.27Ssato#  + REC button       : 1
1841.27Ssato#  + Application button?      : 2
1851.27Ssato# (PCIC-ISA : 9)
1861.27Ssato#
1871.18Stakemurabutton0 at vrgiu? platform NEC_MCR_3XX id BTN_REC port 4
1881.64Ssatobutton0 at vrgiu? platform NEC_MCR_500 id BTN_REC port 4
1891.64Ssatobutton0 at vrgiu? platform IBM_WORKPAD id BTN_REC port 1 active 0 
1901.64Ssatobutton1 at vrgiu? platform NEC_MCR_510 id BTN_COVER port 3
1911.64Ssatobutton1 at vrgiu? platform NEC_MCR_520 id BTN_COVER port 3
1921.64Ssatobutton1 at vrgiu? platform NEC_MCR_530 id BTN_COVER port 3
1931.67Ssatobutton1 at vrgiu? platform NEC_MCR_SIGMARION id BTN_COVER port 3
1941.64Ssatobutton1 at vrgiu? platform NEC_MCR_7XX id BTN_COVER port 3
1951.18Stakemurabutton1 at vrgiu? platform NEC_MCR_3XX id BTN_COVER port 6
1961.18Stakemurabutton1 at vrgiu? platform NEC_MCR_500 id BTN_COVER port 6
1971.64Ssatobutton2 at vrgiu? platform NEC_MCR_530 id BTN_APP0  port 2
1981.64Ssatobutton2 at vrgiu? platform IBM_WORKPAD id BTN_APP0  port 2 active 0
1991.64Ssatobutton3 at vrgiu? platform NEC_MCCS id BTN_LIGHT port 8
2001.18Stakemurapwctl0 at vrgiu? platform NEC_MCR_3XX id PWCTL_COM0 port 14
2011.64Ssatopwctl0 at vrgiu? platform NEC_MCR_5XX id PWCTL_COM0 port 14
2021.64Ssatopwctl0 at vrgiu? platform NEC_MCR_7XX id PWCTL_COM0 port 46
2031.64Ssatopwctl0 at vrgiu? platform NEC_MCCS id PWCTL_COM0 port 14
2041.38Ssatopwctl1 at vrgiu? platform NEC_MCR_300 id PWCTL_LCDLIGHT port 45
2051.64Ssatopwctl1 at vrgiu? platform NEC_MCR_FORDOCOMO id PWCTL_LCDLIGHT port 45
2061.64Ssatopwctl1 at vrgiu? platform NEC_MCR_500 id PWCTL_LCDLIGHT port 45
2071.64Ssatopwctl1 at vrgiu? platform NEC_MCCS id PWCTL_LCDLIGHT port 45
2081.42Ssatopwctl2 at vrgiu? platform NEC_MCR_300 id PWCTL_LCD port 10
2091.63Ssatopwctl2 at vrgiu? platform NEC_MCR_FORDOCOMO id PWCTL_LCD port 10
2101.63Ssatopwctl2 at vrgiu? platform NEC_MCR_500 id PWCTL_LCD port 10
2111.42Ssatopwctl2 at vrgiu? platform NEC_MCCS id PWCTL_LCD port 10
2121.64Ssatopwctl3 at vrgiu? platform NEC_MCR_3XX id PWCTL_SPEAKER port 12
2131.64Ssatopwctl3 at vrgiu? platform NEC_MCR_500 id PWCTL_SPEAKER port 12
2141.64Ssatopwctl3 at vrgiu? platform NEC_MCR_510 id PWCTL_SPEAKER port 44
2151.64Ssatopwctl3 at vrgiu? platform NEC_MCR_520 id PWCTL_SPEAKER port 44
2161.64Ssatopwctl3 at vrgiu? platform NEC_MCR_530 id PWCTL_SPEAKER port 44
2171.64Ssatopwctl3 at vrgiu? platform IBM_WORKPAD id PWCTL_SPEAKER port 49
2181.1Stakemuravrisab0 at vrgiu? platform NEC_MCR
2191.1Stakemuravrisab0 at vrgiu? platform NEC_MCCS
2201.14Sshinvrisab0 at vrgiu? platform IBM_WORKPAD isaportoffset 0x1000000
2211.1Stakemuraisa0	at vrisab0
2221.1Stakemurapcic0	at isa0 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00090003
2231.1Stakemura#
2241.1Stakemura# Freestyle
2251.1Stakemura# Button to GPIO port # mapping
2261.1Stakemura#    +---------+
2271.1Stakemura# 1 +|         |
2281.1Stakemura#    |         |+ 7
2291.1Stakemura#    |         |
2301.1Stakemura#20 +|   LCD   |+ 4
2311.1Stakemura#    |         | + 6
2321.5Senami# 8 +|         |+ 5
2331.1Stakemura#    |         |
2341.7Such#    |         |+----Power On/Off (connected to PMU)
2351.1Stakemura#    +---------+
2361.1Stakemura#          +9
2371.1Stakemura#        +12 +10
2381.1Stakemura#          +11
2391.1Stakemura# (PCIC-ISA : 23)
2401.18Stakemurabutton0 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP0 port 9
2411.18Stakemurabutton1 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP1 port 10
2421.18Stakemurabutton2 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP2 port 11
2431.18Stakemurabutton3 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP3 port 12
2441.18Stakemurabutton4 at vrgiu? platform EVEREX_FREESTYLE id BTN_CANCEL port 7
2451.18Stakemurabutton5 at vrgiu? platform EVEREX_FREESTYLE id BTN_UP port 4
2461.18Stakemurabutton6 at vrgiu? platform EVEREX_FREESTYLE id BTN_OK port 6
2471.18Stakemurabutton7 at vrgiu? platform EVEREX_FREESTYLE id BTN_DOWN port 5
2481.18Stakemurabutton8 at vrgiu? platform EVEREX_FREESTYLE id BTN_REC port 1
2491.18Stakemurabutton9 at vrgiu? platform EVEREX_FREESTYLE id BTN_LIGHT port 20
2501.18Stakemurabutton10 at vrgiu? platform EVEREX_FREESTYLE id BTN_CONTRAST port 8
2511.1Stakemuravrisab1 at vrgiu? platform EVEREX_FREESTYLE isaportoffset 0x1000000
2521.1Stakemuraisa1	at vrisab1
2531.1Stakemurapcic0	at isa1 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00170003
2541.1Stakemura
2551.9Senamioptions 	PCIC_ISA_INTR_ALLOC_MASK=0x0008 # IRQ 3 only (MCR/Freestyle)
2561.31Sjun
2571.1Stakemura#
2581.17Sshin# Fujitsu INTERTOP CX300
2591.17Sshin#
2601.18Stakemurapwctl0 at vrgiu? platform FUJITSU_INTERTOP id PWCTL_COM0 port 15
2611.17Sshinvrisab2 at vrgiu? platform FUJITSU_INTERTOP isaportoffset 0x1000000
2621.17Sshinisa2    at vrisab2
2631.17Sshinpcic0   at isa2 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00060003
2641.33Stakemura
2651.17Sshin#
2661.21Sshin# Vadem Clio and Sharp Tripad
2671.21Sshin#
2681.21Sshinvrisab3 at vrgiu? platform SHARP_TRIPAD isaportoffset 0x1000000
2691.52Stakemuravrisab3 at vrgiu? platform VADEM_CLIO_C isaportoffset 0x1000000
2701.21Sshinisa3    at vrisab3
2711.21Sshinpcic0   at isa3 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x000d0003
2721.33Stakemura
2731.33Stakemura#
2741.33Stakemura# CASIO CASSIOPEIA E55 and for DoCoMo
2751.33Stakemura#
2761.33Stakemurabutton0 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_OK active 0 port 6
2771.33Stakemurabutton1 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_CANCEL active 0 port 7
2781.33Stakemurabutton2 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP0 active 0 port 8
2791.33Stakemurabutton3 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP1 active 0 port 9
2801.33Stakemurabutton4 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP2 active 0 port 10
2811.33Stakemurabutton5 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP3 active 0 port 11
2821.33Stakemurabutton6 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_DOWN active 0 port 12
2831.33Stakemurabutton7 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_UP active 0 port 13
2841.50Ssatopwctl0 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id PWCTL_COM0 port 38
2851.50Ssatopwctl1 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id PWCTL_LCDLIGHT port 26
2861.33Stakemuravrisab4 at vrgiu? platform CASIO_CASSIOPEIAE_E55 isaportoffset 0xc000
2871.33Stakemuraisa4    at vrisab4
2881.33Stakemurawdc0    at isa4 port 0x170 irq 0x02000003 flags 0x0010  # AT_POLL
2891.33Stakemura
2901.21Sshin#
2911.1Stakemura# Unknown machines
2921.1Stakemura#
2931.21Sshinvrisab4 at vrgiu?
2941.30Smycroftisa4	at vrisab4
2951.1Stakemura
2961.1Stakemura# PCMCIA bus support
2971.34Sshinpcmcia*	at pcic? controller 0 socket ?
2981.1Stakemura
2991.1Stakemura# PCMCIA IDE disk
3001.1Stakemurawdc*	at pcmcia? function ?
3011.1Stakemurawd*	at wdc? channel ? drive ? flags 0x0000
3021.1Stakemura
3031.1Stakemura# PCMCIA network interfaces
3041.1Stakemuraep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
3051.1Stakemurambe*	at pcmcia? function ?		# MB8696x based Ethernet
3061.1Stakemurane*	at pcmcia? function ?		# NE2000-compatible Ethernet
3071.1Stakemurasm*	at pcmcia? function ?		# Megahertz Ethernet
3081.32Stakemurawi*	at pcmcia? function ?		# Lucent WaveLan IEEE (802.11)
3091.32Stakemuraawi*	at pcmcia? function ?		# WLI-PCM
3101.1Stakemura
3111.49Stakemura# PCMCIA Serial interfaces
3121.1Stakemuracom*	at pcmcia? function ?		# Modems and serial cards
3131.1Stakemura
3141.49Stakemura# PCMCIA SCSI interfaces
3151.1Stakemuraaic*	at pcmcia? function ?
3161.49Stakemuraesp*	at pcmcia? function ?		# NCR53c406 SCSI
3171.49Stakemura
3181.49Stakemura# ATAPI bus support
3191.49Stakemuraatapibus* at wdc? channel ?
3201.49Stakemuracd*	at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
3211.49Stakemurasd*	at atapibus? drive ? flags 0x0000 # ATAPI disk drives
3221.49Stakemura
3231.49Stakemura# SCSI bus support
3241.1Stakemurascsibus* at aic?
3251.49Stakemurascsibus* at esp?
3261.1Stakemurasd*	at scsibus? target ? lun ?	# SCSI disk drives
3271.49Stakemuracd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
3281.1Stakemura
3291.1Stakemurapseudo-device	loop		1	# network loopback
3301.10Senamipseudo-device	ppp		2	# serial-line IP ports
3311.66Sjdolecekpseudo-device	pty			# pseudo-terminals
3321.1Stakemurapseudo-device	bpfilter	16	# packet filter ports
3331.1Stakemurapseudo-device	ipfilter		# IP filter, NAT
3341.1Stakemura
3351.1Stakemurapseudo-device	vnd		4	# virtual disk ick
3361.54Sshin#pseudo-device	ccd		4	# concatenated disks
3371.43Stakemurapseudo-device   rnd                     # /dev/random and in-kernel generator
3381.1Stakemura
3391.1Stakemurapseudo-device	biconsdev	1	# build-in console device
3401.37Stakemurapseudo-device	wsmux		2	# mouse & keyboard multiplexor
3411.49Stakemura#pseudo-device	md		1	# memory disk device (ramdisk)
3421.49Stakemura
3431.49Stakemura#pseudo-device	raid		4	# RAIDframe disk driver
3441.49Stakemura#options	RAID_AUTOCONFIG		# auto-configuration of RAID components
3451.13Sjun
3461.13Sjun# for IPv6
3471.13Sjunpseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
3481.15Sitojun#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
3491.44Sitojun#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
350