GENERIC revision 1.49
11.1Stakemura#
21.46Such# Distribution kernel (NEC VR based model) kernel config file
31.1Stakemura
41.1Stakemura#
51.49Stakemura# 	$NetBSD: GENERIC,v 1.49 2000/05/04 10:32:47 takemura Exp $
61.1Stakemura#
71.1Stakemurainclude		"arch/hpcmips/conf/std.hpcmips"
81.24Shubertf
91.49Stakemura#ident 		"GENERIC-$Revision: 1.49 $"
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.1Stakemura#options 	DIAGNOSTIC		# extra kernel debugging checks
261.1Stakemura#options 	DEBUG			# extra kernel debugging support
271.1Stakemuraoptions 	KTRACE			# system call tracing support
281.1Stakemura
291.9Senamioptions 	SCSIVERBOSE		# human readable SCSI error messages
301.27Ssato#options 	PCMCIAVERBOSE		# verbose PCMCIA configuration messages
311.1Stakemura
321.11Ssato#options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
331.9Senami#options 	RTC_OFFSET=-540		# JST-9
341.9Senami#options 	RTC_OFFSET=480		# PST8
351.25Ssato					# In NO RTC_OFFSET , inherit RTC_OFFSET
361.25Ssato					# from Windows CE.
371.1Stakemuraoptions 	NTP			# network time protocol
381.1Stakemura#options 	UCONSOLE		# users can redirect console (unsafe)
391.1Stakemura
401.9Senami#options 	WINCE_DEFAULT_SETTING	# Debugging use
411.9Senami#options 	DUMP_GIU_LEVEL2_INTR	# Debugging use
421.9Senami#options 	DEBUG_FIND_PCIC		# Debugging use XXX harmful don't define until read source.
431.9Senami
441.9Senami#options 	SYSCALL_DEBUG		# for debug
451.9Senami#options 	HPCMIPS_L1CACHE_DISABLE	# disable L1 cache for debug
461.9Senami#options 	HPCMIPS_FLUSHCACHE_XXX	# for debug
471.1Stakemura
481.1Stakemura# Filesystem options
491.1Stakemurafile-system 	FFS             # fast filesystem with user and group quotas
501.1Stakemurafile-system 	MFS		# memory-based filesystem
511.1Stakemurafile-system 	NFS		# Sun NFS-compatible filesystem (client)
521.1Stakemura#file-system	LFS		# Log-based filesystem (still experimental)
531.1Stakemura#file-system 	CD9660		# ISO 9660 + Rock Ridge file system
541.20Sshinfile-system 	MSDOSFS		# MS-DOS file system
551.1Stakemura#file-system 	FDESC		# /dev/fd
561.1Stakemurafile-system 	KERNFS		# /kern (kernel informational filesystem)
571.1Stakemura#file-system 	NULLFS		# loopback file system
581.23Swrstuden#file-system 	OVERLAY		# overlay file system
591.1Stakemura#file-system 	PORTAL		# portal filesystem (still experimental)
601.1Stakemurafile-system 	PROCFS		# /proc
611.1Stakemura#file-system 	UMAPFS		# NULLFS + uid and gid remapping
621.1Stakemurafile-system 	UNION
631.1Stakemura
641.1Stakemura#options 	NFSSERVER	# Sun NFS-compatible filesystem (server)
651.12Sfvdl#options 	SOFTDEP         # FFS soft updates support.
661.1Stakemuraoptions 	QUOTA		# UFS quotas
671.1Stakemura
681.13Sjun# Pull in config fragments for kernel crypto.  Use only one of these,
691.13Sjun# and adjust the prefixes as necessary.
701.13Sjun
711.13Sjun#prefix ../crypto-us/sys
721.13Sjun#cinclude "conf/files.crypto-us"
731.13Sjun#prefix
741.13Sjun
751.13Sjun#prefix ../crypto-intl/sys
761.13Sjun#cinclude "conf/files.crypto-intl"
771.13Sjun#prefix
781.13Sjun
791.1Stakemura# Networking options
801.13Sjun#options 	GATEWAY		# IP packet forwarding
811.13Sjunoptions 	INET		# IP + ICMP + TCP + UDP
821.13Sjunoptions 	INET6		# IPV6
831.13Sjun#options 	IPSEC		# IP security
841.13Sjun#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
851.13Sjun#options 	IPSEC_DEBUG	# debug for IP security
861.1Stakemura#options 	MROUTING	# Multicast routing support
871.1Stakemura#options 	ISO		# OSI networking
881.1Stakemura#options 	TPIP		# TPIP
891.1Stakemura#options 	EON		# OSI tunneling over IP
901.1Stakemura#options 	CCITT,LLC,HDLC	# X.25
911.1Stakemura
921.1Stakemura# NetBSD backwards compatibility
931.45Suchoptions 	COMPAT_43
941.1Stakemura
951.9Senamioptions 	NFS_BOOT_DHCP
961.1Stakemura
971.1Stakemuraconfig		netbsd		root on ? type ?
981.1Stakemura
991.1Stakemura# WS console uses SUN or VT100 terminal emulation
1001.1Stakemuraoptions 	WSEMUL_VT100
1011.9Senamioptions 	WSDISPLAY_DEFAULTSCREENS=4
1021.9Senami#options 	FONT_VT220L8x8
1031.9Senamioptions 	FONT_VT220L8x10
1041.48Stakemura# compatibility to other console drivers
1051.48Stakemuraoptions 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
1061.48Stakemuraoptions 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
1071.48Stakemuraoptions 	WSDISPLAY_COMPAT_USL		# VT handling
1081.48Stakemuraoptions 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
1091.1Stakemura
1101.1Stakemuravrip*	at mainbus0
1111.1Stakemuravrcmu*	at vrip? addr 0x0b000060 size 0x20
1121.1Stakemuravrbcu*	at vrip? addr 0x0b000000 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.9Senamioptions 	__NO_SOFT_SERIAL_INTERRUPT
1171.28Stakemuracom*	at vrip? addr 0x0c000000 size 0x20 intr 9 pwctl PWCTL_COM0
1181.1Stakemuravrgiu*	at vrip? addr 0x0b000100 size 0x20 intr 8
1191.1Stakemuravrpmu*	at vrip? addr 0x0b0000a0 size 0x20 intr 1 # power switch
1201.16Stakemuravrdsu*	at vrip? addr 0x0b0000e0 size 0x08
1211.19Stakemuravrpiu*	at vrip? addr 0x0b000120 size 0x1a0 intr 5
1221.19Stakemura
1231.19Stakemura# Workstation Console attachments
1241.35Stakemurabivideo0	at	mainbus0
1251.35Stakemurahpcfb*		at	bivideo0
1261.35Stakemurawsdisplay*	at	hpcfb?
1271.19Stakemurawskbd*		at	vrkiu? mux 1
1281.19Stakemurawsmouse*	at	vrpiu? mux 0
1291.36Stakemurabtnmgr0		at	mainbus0
1301.36Stakemurawskbd*		at	btnmgr0 mux 1
1311.1Stakemura
1321.1Stakemura#
1331.33Stakemura# hpcmips isa? bus irq locator means:
1341.33Stakemura#
1351.33Stakemura# 0x0000000f ISA IRQ#
1361.33Stakemura# 0x00ff0000 GPIO port#
1371.33Stakemura# 0x01000000 interrupt signal hold/through	(1:hold/0:though)
1381.33Stakemura# 0x02000000 interrupt detection level		(1:low /0:high	)
1391.33Stakemura# 0x04000000 interrupt detection trigger	(1:edge/0:level	)
1401.33Stakemura
1411.33Stakemura#
1421.27Ssato# MC-R300, MC-R500
1431.1Stakemura# Button to GPIO port # mapping
1441.1Stakemura#  + REC button       : 4
1451.1Stakemura#  + Open/Close button: 6
1461.1Stakemura# (PCIC-ISA : 9)
1471.1Stakemura# (COM power:14)
1481.27Ssato#
1491.27Ssato# MC-R510
1501.27Ssato# Button to GPIO port # mapping
1511.27Ssato#  + Open/Close button: 3
1521.27Ssato# (PCIC-ISA : 9)
1531.27Ssato# (COM power:14)
1541.27Ssato#
1551.27Ssato# MC-R530
1561.27Ssato# Button to GPIO port # mapping
1571.27Ssato#  + Open/Close button: 3
1581.27Ssato#  + Application button: 2
1591.27Ssato# (PCIC-ISA : 9)
1601.27Ssato# (COM power:14)
1611.27Ssato#
1621.27Ssato# MC-R700
1631.27Ssato# Button to GPIO port # mapping
1641.27Ssato#  + Open/Close button: 3
1651.27Ssato# (PCIC-ISA : 9)
1661.27Ssato# (COM power:46)
1671.27Ssato#
1681.27Ssato# MC-CS
1691.27Ssato# Button to GPIO port # mapping
1701.27Ssato# (PCIC-ISA : 9)
1711.27Ssato# (COM power:14)
1721.27Ssato#
1731.27Ssato# IBM WorkPad z50
1741.27Ssato# Button to GPIO port # mapping
1751.27Ssato#  + REC button       : 1
1761.27Ssato#  + Application button?      : 2
1771.27Ssato# (PCIC-ISA : 9)
1781.27Ssato#
1791.18Stakemurabutton0 at vrgiu? platform NEC_MCR_3XX id BTN_REC port 4
1801.18Stakemurabutton1 at vrgiu? platform NEC_MCR_3XX id BTN_COVER port 6
1811.18Stakemurabutton0 at vrgiu? platform NEC_MCR_500 id BTN_REC port 4
1821.18Stakemurabutton1 at vrgiu? platform NEC_MCR_500 id BTN_COVER port 6
1831.25Ssatobutton0 at vrgiu? platform NEC_MCR_510 id BTN_COVER port 3
1841.39Ssatobutton0 at vrgiu? platform NEC_MCR_520 id BTN_COVER port 3
1851.25Ssatobutton0 at vrgiu? platform NEC_MCR_530 id BTN_COVER port 3
1861.25Ssatobutton1 at vrgiu? platform NEC_MCR_530 id BTN_APP0  port 2
1871.26Sshinbutton0 at vrgiu? platform NEC_MCR_7XX id BTN_COVER port 3
1881.27Ssatobutton0 at vrgiu? platform IBM_WORKPAD id BTN_REC port 1 active 0 
1891.27Ssatobutton1 at vrgiu? platform IBM_WORKPAD id BTN_APP0  port 2 active 0
1901.18Stakemurapwctl0 at vrgiu? platform NEC_MCR_3XX id PWCTL_COM0 port 14
1911.38Ssatopwctl1 at vrgiu? platform NEC_MCR_300 id PWCTL_LCDLIGHT port 45
1921.42Ssatopwctl2 at vrgiu? platform NEC_MCR_300 id PWCTL_LCD port 10
1931.18Stakemurapwctl0 at vrgiu? platform NEC_MCR_5XX id PWCTL_COM0 port 14
1941.18Stakemurapwctl0 at vrgiu? platform NEC_MCR_7XX id PWCTL_COM0 port 46
1951.18Stakemurapwctl0 at vrgiu? platform NEC_MCCS id PWCTL_COM0 port 14
1961.41Ssatopwctl1 at vrgiu? platform NEC_MCCS id PWCTL_LCDLIGHT port 45
1971.42Ssatopwctl2 at vrgiu? platform NEC_MCCS id PWCTL_LCD port 10
1981.1Stakemuravrisab0 at vrgiu? platform NEC_MCR
1991.1Stakemuravrisab0 at vrgiu? platform NEC_MCCS
2001.14Sshinvrisab0 at vrgiu? platform IBM_WORKPAD isaportoffset 0x1000000
2011.1Stakemuraisa0	at vrisab0
2021.1Stakemurapcic0	at isa0 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00090003
2031.1Stakemura#
2041.1Stakemura# Freestyle
2051.1Stakemura# Button to GPIO port # mapping
2061.1Stakemura#    +---------+
2071.1Stakemura# 1 +|         |
2081.1Stakemura#    |         |+ 7
2091.1Stakemura#    |         |
2101.1Stakemura#20 +|   LCD   |+ 4
2111.1Stakemura#    |         | + 6
2121.5Senami# 8 +|         |+ 5
2131.1Stakemura#    |         |
2141.7Such#    |         |+----Power On/Off (connected to PMU)
2151.1Stakemura#    +---------+
2161.1Stakemura#          +9
2171.1Stakemura#        +12 +10
2181.1Stakemura#          +11
2191.1Stakemura# (PCIC-ISA : 23)
2201.18Stakemurabutton0 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP0 port 9
2211.18Stakemurabutton1 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP1 port 10
2221.18Stakemurabutton2 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP2 port 11
2231.18Stakemurabutton3 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP3 port 12
2241.18Stakemurabutton4 at vrgiu? platform EVEREX_FREESTYLE id BTN_CANCEL port 7
2251.18Stakemurabutton5 at vrgiu? platform EVEREX_FREESTYLE id BTN_UP port 4
2261.18Stakemurabutton6 at vrgiu? platform EVEREX_FREESTYLE id BTN_OK port 6
2271.18Stakemurabutton7 at vrgiu? platform EVEREX_FREESTYLE id BTN_DOWN port 5
2281.18Stakemurabutton8 at vrgiu? platform EVEREX_FREESTYLE id BTN_REC port 1
2291.18Stakemurabutton9 at vrgiu? platform EVEREX_FREESTYLE id BTN_LIGHT port 20
2301.18Stakemurabutton10 at vrgiu? platform EVEREX_FREESTYLE id BTN_CONTRAST port 8
2311.1Stakemuravrisab1 at vrgiu? platform EVEREX_FREESTYLE isaportoffset 0x1000000
2321.1Stakemuraisa1	at vrisab1
2331.1Stakemurapcic0	at isa1 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00170003
2341.1Stakemura
2351.9Senamioptions 	PCIC_ISA_INTR_ALLOC_MASK=0x0008 # IRQ 3 only (MCR/Freestyle)
2361.31Sjun
2371.1Stakemura#
2381.17Sshin# Fujitsu INTERTOP CX300
2391.17Sshin#
2401.18Stakemurapwctl0 at vrgiu? platform FUJITSU_INTERTOP id PWCTL_COM0 port 15
2411.17Sshinvrisab2 at vrgiu? platform FUJITSU_INTERTOP isaportoffset 0x1000000
2421.17Sshinisa2    at vrisab2
2431.17Sshinpcic0   at isa2 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00060003
2441.33Stakemura
2451.17Sshin#
2461.21Sshin# Vadem Clio and Sharp Tripad
2471.21Sshin#
2481.21Sshinvrisab3 at vrgiu? platform SHARP_TRIPAD isaportoffset 0x1000000
2491.21Sshinisa3    at vrisab3
2501.21Sshinpcic0   at isa3 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x000d0003
2511.33Stakemura
2521.33Stakemura#
2531.33Stakemura# CASIO CASSIOPEIA E55 and for DoCoMo
2541.33Stakemura#
2551.33Stakemurabutton0 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_OK active 0 port 6
2561.33Stakemurabutton1 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_CANCEL active 0 port 7
2571.33Stakemurabutton2 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP0 active 0 port 8
2581.33Stakemurabutton3 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP1 active 0 port 9
2591.33Stakemurabutton4 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP2 active 0 port 10
2601.33Stakemurabutton5 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP3 active 0 port 11
2611.33Stakemurabutton6 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_DOWN active 0 port 12
2621.33Stakemurabutton7 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_UP active 0 port 13
2631.33Stakemuravrisab4 at vrgiu? platform CASIO_CASSIOPEIAE_E55 isaportoffset 0xc000
2641.33Stakemuraisa4    at vrisab4
2651.33Stakemurawdc0    at isa4 port 0x170 irq 0x02000003 flags 0x0010  # AT_POLL
2661.33Stakemura
2671.21Sshin#
2681.1Stakemura# Unknown machines
2691.1Stakemura#
2701.21Sshinvrisab4 at vrgiu?
2711.30Smycroftisa4	at vrisab4
2721.1Stakemura
2731.1Stakemura# PCMCIA bus support
2741.34Sshinpcmcia*	at pcic? controller 0 socket ?
2751.1Stakemura
2761.1Stakemura# PCMCIA IDE disk
2771.1Stakemurawdc*	at pcmcia? function ?
2781.1Stakemurawd*	at wdc? channel ? drive ? flags 0x0000
2791.1Stakemura
2801.1Stakemura# PCMCIA network interfaces
2811.1Stakemuraep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
2821.1Stakemurambe*	at pcmcia? function ?		# MB8696x based Ethernet
2831.1Stakemurane*	at pcmcia? function ?		# NE2000-compatible Ethernet
2841.1Stakemurasm*	at pcmcia? function ?		# Megahertz Ethernet
2851.32Stakemurawi*	at pcmcia? function ?		# Lucent WaveLan IEEE (802.11)
2861.32Stakemuraawi*	at pcmcia? function ?		# WLI-PCM
2871.1Stakemura
2881.49Stakemura# PCMCIA Serial interfaces
2891.1Stakemuracom*	at pcmcia? function ?		# Modems and serial cards
2901.1Stakemura
2911.49Stakemura# PCMCIA SCSI interfaces
2921.1Stakemuraaic*	at pcmcia? function ?
2931.49Stakemuraesp*	at pcmcia? function ?		# NCR53c406 SCSI
2941.49Stakemura
2951.49Stakemura# ATAPI bus support
2961.49Stakemuraatapibus* at wdc? channel ?
2971.49Stakemuracd*	at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
2981.49Stakemurasd*	at atapibus? drive ? flags 0x0000 # ATAPI disk drives
2991.49Stakemura
3001.49Stakemura# SCSI bus support
3011.1Stakemurascsibus* at aic?
3021.49Stakemurascsibus* at esp?
3031.1Stakemurasd*	at scsibus? target ? lun ?	# SCSI disk drives
3041.49Stakemuracd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
3051.1Stakemura
3061.1Stakemurapseudo-device	loop		1	# network loopback
3071.10Senamipseudo-device	ppp		2	# serial-line IP ports
3081.1Stakemurapseudo-device	pty		64	# pseudo ptys
3091.1Stakemurapseudo-device	bpfilter	16	# packet filter ports
3101.1Stakemurapseudo-device	ipfilter		# IP filter, NAT
3111.1Stakemura
3121.1Stakemurapseudo-device	vnd		4	# virtual disk ick
3131.10Senamipseudo-device	ccd		4	# concatenated disks
3141.43Stakemurapseudo-device   rnd                     # /dev/random and in-kernel generator
3151.1Stakemura
3161.1Stakemurapseudo-device	biconsdev	1	# build-in console device
3171.37Stakemurapseudo-device	wsmux		2	# mouse & keyboard multiplexor
3181.49Stakemura#pseudo-device	md		1	# memory disk device (ramdisk)
3191.49Stakemura
3201.49Stakemura#pseudo-device	raid		4	# RAIDframe disk driver
3211.49Stakemura#options	RAID_AUTOCONFIG		# auto-configuration of RAID components
3221.13Sjun
3231.13Sjun# for IPv6
3241.13Sjunpseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
3251.15Sitojun#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
3261.44Sitojun#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
327