Home | History | Annotate | Line # | Download | only in conf
GENERIC revision 1.21
      1 #
      2 # Distribution kernel (any  model) kernel config file
      3 
      4 #
      5 # 	$NetBSD: GENERIC,v 1.21 2000/01/09 07:55:57 shin Exp $
      6 #
      7 include		"arch/hpcmips/conf/std.hpcmips"
      8 
      9 maxusers	8
     10 
     11 options 	MIPS3			# R4000/R4400/R4600 CPUs
     12 
     13 # Support for specific models of H/PC MIPS
     14 options 	VR41X1			# NEC VR41x1 series
     15 options 	MIPS3_4100		# VR4100 core
     16 options 	SOFTFLOAT		# No FPU
     17 options 	MIPS3_L2CACHE_ABSENT
     18 
     19 # Standard system options
     20 options 	DDB			# in-kernel debugger
     21 #options 	DDB_ONPANIC=0		# don't enter debugger on panic
     22 #options 	DIAGNOSTIC		# extra kernel debugging checks
     23 #options 	DEBUG			# extra kernel debugging support
     24 options 	KTRACE			# system call tracing support
     25 options 	NKMEMCLUSTERS=1024	# 4K pages in kernel malloc pool
     26 
     27 options 	SCSIVERBOSE		# human readable SCSI error messages
     28 options 	PCMCIAVERBOSE		# verbose PCMCIA configuration messages
     29 
     30 #options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
     31 #options 	RTC_OFFSET=-540		# JST-9
     32 #options 	RTC_OFFSET=480		# PST8
     33 options 	NTP			# network time protocol
     34 #options 	UCONSOLE		# users can redirect console (unsafe)
     35 
     36 #options 	WINCE_DEFAULT_SETTING	# Debugging use
     37 #options 	DUMP_GIU_LEVEL2_INTR	# Debugging use
     38 #options 	DEBUG_FIND_PCIC		# Debugging use XXX harmful don't define until read source.
     39 
     40 #options 	SYSCALL_DEBUG		# for debug
     41 #options 	HPCMIPS_L1CACHE_DISABLE	# disable L1 cache for debug
     42 #options 	HPCMIPS_FLUSHCACHE_XXX	# for debug
     43 #options 	MIPS_16K_PAGE		# page size is 16KB
     44 
     45 # Filesystem options
     46 file-system 	FFS             # fast filesystem with user and group quotas
     47 file-system 	MFS		# memory-based filesystem
     48 file-system 	NFS		# Sun NFS-compatible filesystem (client)
     49 #file-system	LFS		# Log-based filesystem (still experimental)
     50 #file-system 	CD9660		# ISO 9660 + Rock Ridge file system
     51 file-system 	MSDOSFS		# MS-DOS file system
     52 #file-system 	FDESC		# /dev/fd
     53 file-system 	KERNFS		# /kern (kernel informational filesystem)
     54 #file-system 	NULLFS		# loopback file system
     55 #file-system 	PORTAL		# portal filesystem (still experimental)
     56 file-system 	PROCFS		# /proc
     57 #file-system 	UMAPFS		# NULLFS + uid and gid remapping
     58 file-system 	UNION
     59 
     60 #options 	NFSSERVER	# Sun NFS-compatible filesystem (server)
     61 #options 	SOFTDEP         # FFS soft updates support.
     62 options 	QUOTA		# UFS quotas
     63 
     64 # Pull in config fragments for kernel crypto.  Use only one of these,
     65 # and adjust the prefixes as necessary.
     66 
     67 #prefix ../crypto-us/sys
     68 #cinclude "conf/files.crypto-us"
     69 #prefix
     70 
     71 #prefix ../crypto-intl/sys
     72 #cinclude "conf/files.crypto-intl"
     73 #prefix
     74 
     75 # Networking options
     76 #options 	GATEWAY		# IP packet forwarding
     77 options 	INET		# IP + ICMP + TCP + UDP
     78 options 	INET6		# IPV6
     79 #options 	IPSEC		# IP security
     80 #options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
     81 #options 	IPSEC_DEBUG	# debug for IP security
     82 #options 	TCP_COMPAT_42	# compatibility with 4.2BSD TCP/IP
     83 #options 	MROUTING	# Multicast routing support
     84 #options 	ISO		# OSI networking
     85 #options 	TPIP		# TPIP
     86 #options 	EON		# OSI tunneling over IP
     87 #options 	CCITT,LLC,HDLC	# X.25
     88 
     89 # NetBSD backwards compatibility
     90 options 	COMPAT_43, COMPAT_13, COMPAT_14
     91 options 	COMPAT_386BSD_MBRPART # recognize old partition ID
     92 
     93 options 	NFS_BOOT_DHCP
     94 
     95 config		netbsd		root on ? type ?
     96 
     97 # WS console uses SUN or VT100 terminal emulation
     98 options 	WSEMUL_VT100
     99 options 	WSDISPLAY_DEFAULTSCREENS=4
    100 #options 	FONT_VT220L8x8
    101 options 	FONT_VT220L8x10
    102 
    103 vrip*	at mainbus0
    104 vrcmu*	at vrip? addr 0x0b000060 size 0x20
    105 vrbcu*	at vrip? addr 0x0b000000 size 0x20
    106 vrrtc*	at vrip? addr 0x0b0000c0 size 0x20 intr 2
    107 
    108 vrkiu*  at vrip? addr 0x0b000180 size 0x20 intr 7
    109 options 	__NO_SOFT_SERIAL_INTERRUPT
    110 com*	at vrip? addr 0x0c000000 size 0x20 intr 9
    111 vrgiu*	at vrip? addr 0x0b000100 size 0x20 intr 8
    112 vrpmu*	at vrip? addr 0x0b0000a0 size 0x20 intr 1 # power switch
    113 vrdsu*	at vrip? addr 0x0b0000e0 size 0x08
    114 vrpiu*	at vrip? addr 0x0b000120 size 0x1a0 intr 5
    115 
    116 # Workstation Console attachments
    117 fb*		at	mainbus0
    118 wsdisplay*	at	fb?
    119 wskbd*		at	vrkiu? mux 1
    120 wsmouse*	at	vrpiu? mux 0
    121 
    122 #
    123 # MC-R300
    124 # Button to GPIO port # mapping
    125 #  + REC button       : 4
    126 #  + Open/Close button: 6
    127 # (PCIC-ISA : 9)
    128 # (COM power:14)
    129 button0 at vrgiu? platform NEC_MCR_3XX id BTN_REC port 4
    130 button1 at vrgiu? platform NEC_MCR_3XX id BTN_COVER port 6
    131 button0 at vrgiu? platform NEC_MCR_500 id BTN_REC port 4
    132 button1 at vrgiu? platform NEC_MCR_500 id BTN_COVER port 6
    133 pwctl0 at vrgiu? platform NEC_MCR_3XX id PWCTL_COM0 port 14
    134 pwctl0 at vrgiu? platform NEC_MCR_5XX id PWCTL_COM0 port 14
    135 pwctl0 at vrgiu? platform NEC_MCR_7XX id PWCTL_COM0 port 46
    136 pwctl0 at vrgiu? platform NEC_MCCS id PWCTL_COM0 port 14
    137 vrisab0 at vrgiu? platform NEC_MCR
    138 vrisab0 at vrgiu? platform NEC_MCCS
    139 vrisab0 at vrgiu? platform IBM_WORKPAD isaportoffset 0x1000000
    140 isa0	at vrisab0
    141 pcic0	at isa0 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00090003
    142 #
    143 # Freestyle
    144 # Button to GPIO port # mapping
    145 #    +---------+
    146 # 1 +|         |
    147 #    |         |+ 7
    148 #    |         |
    149 #20 +|   LCD   |+ 4
    150 #    |         | + 6
    151 # 8 +|         |+ 5
    152 #    |         |
    153 #    |         |+----Power On/Off (connected to PMU)
    154 #    +---------+
    155 #          +9
    156 #        +12 +10
    157 #          +11
    158 # (PCIC-ISA : 23)
    159 button0 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP0 port 9
    160 button1 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP1 port 10
    161 button2 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP2 port 11
    162 button3 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP3 port 12
    163 button4 at vrgiu? platform EVEREX_FREESTYLE id BTN_CANCEL port 7
    164 button5 at vrgiu? platform EVEREX_FREESTYLE id BTN_UP port 4
    165 button6 at vrgiu? platform EVEREX_FREESTYLE id BTN_OK port 6
    166 button7 at vrgiu? platform EVEREX_FREESTYLE id BTN_DOWN port 5
    167 button8 at vrgiu? platform EVEREX_FREESTYLE id BTN_REC port 1
    168 button9 at vrgiu? platform EVEREX_FREESTYLE id BTN_LIGHT port 20
    169 button10 at vrgiu? platform EVEREX_FREESTYLE id BTN_CONTRAST port 8
    170 vrisab1 at vrgiu? platform EVEREX_FREESTYLE isaportoffset 0x1000000
    171 isa1	at vrisab1
    172 pcic0	at isa1 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00170003
    173 
    174 options 	PCIC_ISA_INTR_ALLOC_MASK=0x0008 # IRQ 3 only (MCR/Freestyle)
    175 #
    176 # Fujitsu INTERTOP CX300
    177 #
    178 pwctl0 at vrgiu? platform FUJITSU_INTERTOP id PWCTL_COM0 port 15
    179 vrisab2 at vrgiu? platform FUJITSU_INTERTOP isaportoffset 0x1000000
    180 isa2    at vrisab2
    181 pcic0   at isa2 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00060003
    182 #
    183 # Vadem Clio and Sharp Tripad
    184 #
    185 vrisab3 at vrgiu? platform SHARP_TRIPAD isaportoffset 0x1000000
    186 isa3    at vrisab3
    187 pcic0   at isa3 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x000d0003
    188 #
    189 # Unknown machines
    190 #
    191 vrisab4 at vrgiu?
    192 isa4	at vrisab3
    193 
    194 # PCMCIA bus support
    195 pcmcia*	at pcic? controller ? socket ?
    196 
    197 # PCMCIA IDE disk
    198 wdc*	at pcmcia? function ?
    199 wd*	at wdc? channel ? drive ? flags 0x0000
    200 
    201 # ATAPI bus support
    202 atapibus* at wdc? channel ?
    203 
    204 # PCMCIA network interfaces
    205 ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
    206 mbe*	at pcmcia? function ?		# MB8696x based Ethernet
    207 ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
    208 sm*	at pcmcia? function ?		# Megahertz Ethernet
    209 
    210 com*	at pcmcia? function ?		# Modems and serial cards
    211 
    212 aic*	at pcmcia? function ?
    213 scsibus* at aic?
    214 sd*	at scsibus? target ? lun ?	# SCSI disk drives
    215 
    216 pseudo-device	loop		1	# network loopback
    217 pseudo-device	ppp		2	# serial-line IP ports
    218 pseudo-device	pty		64	# pseudo ptys
    219 pseudo-device	bpfilter	16	# packet filter ports
    220 pseudo-device	ipfilter		# IP filter, NAT
    221 
    222 pseudo-device	vnd		4	# virtual disk ick
    223 pseudo-device	ccd		4	# concatenated disks
    224 
    225 pseudo-device	biconsdev	1	# build-in console device
    226 pseudo-device	btnmgr		1	# button event handler
    227 
    228 # for IPv6
    229 pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
    230 #pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
    231