ARCTIC revision 1.27
11.27Satatat#	$NetBSD: ARCTIC,v 1.27 2004/07/15 03:53:45 atatat Exp $
21.4Ssoda#	$OpenBSD: ARCTIC,v 1.12 1999/08/29 12:14:03 niklas Exp $
31.1Ssoda#
41.4Ssoda#	configuration file for DeskStation
51.1Ssoda#
61.1Ssoda
71.2Ssodainclude		"arch/arc/conf/std.arc"
81.19Satatat
91.19Satatat#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
101.1Ssoda
111.4Ssodamaxusers	32		# estimated number of users
121.1Ssoda
131.11Ssoda# Platform support
141.22Stsutsuioptions 	PLATFORM_DESKTECH_ARCSTATION_I	# DeskStation rPC44
151.22Stsutsuioptions 	PLATFORM_DESKTECH_TYNE		# DeskStation Tyne
161.11Ssoda
171.4Ssoda# Misc. arc-specific options
181.4Ssodaoptions 	PCCONS_FORCE_WORD	# Max out at 16bit accesses to the
191.4Ssoda					# VGA memory
201.1Ssoda
211.1Ssoda# Standard system options
221.1Ssoda
231.4Ssodaoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
241.4Ssodaoptions 	NTP		# NTP phase/frequency locked loop
251.4Ssoda
261.4Ssodaoptions 	KTRACE		# system call tracing via ktrace(1)
271.1Ssoda
281.3Ssodaoptions 	SYSVMSG		# System V-like message queues
291.3Ssodaoptions 	SYSVSEM		# System V-like semaphores
301.3Ssodaoptions 	SYSVSHM		# System V-like memory sharing
311.4Ssoda#options 	SHMMAXPGS=1024	# 1024 pages is the default
321.2Ssoda
331.4Ssodaoptions 	LKM		# loadable kernel modules
341.15Sjdolecek
351.21Slukemoptions 	USERCONF	# userconf(4) support
361.15Sjdolecek#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
371.27Satatat#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
381.4Ssoda
391.4Ssoda# Diagnostic/debugging support options
401.14Slukemoptions 	DIAGNOSTIC		# cheap kernel consistency checks
411.14Slukem#options 	DEBUG			# expensive debugging checks/support
421.14Slukem#options 	KMEMSTATS		# kernel memory statistics (vmstat -m)
431.14Slukemoptions 	DDB			# in-kernel debugger
441.4Ssoda#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
451.14Slukem#options 	KGDB			# remote gdb
461.14Slukem#options 	KGDB_DEVRATE=19200	# kernel gdb port rate (default 9600)
471.14Slukem#options 	KGDB_DEV="17*256+0"	# device for kernel gdb
481.14Slukem#makeoptions	DEBUG="-g"		# compile full symbol table
491.4Ssoda
501.4Ssoda# Compatibility options
511.12Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
521.4Ssodaoptions 	COMPAT_10	# NetBSD 1.0,
531.4Ssodaoptions 	COMPAT_11	# NetBSD 1.1,
541.4Ssodaoptions 	COMPAT_12	# NetBSD 1.2,
551.4Ssodaoptions 	COMPAT_13	# NetBSD 1.3,
561.4Ssodaoptions 	COMPAT_14	# NetBSD 1.4,
571.24Stsutsuioptions 	COMPAT_16	# NetBSD 1.6,
581.4Ssodaoptions 	COMPAT_43	# and 4.3BSD
591.2Ssodaoptions 	COMPAT_386BSD_MBRPART # recognize old partition ID
601.1Ssoda
611.4Ssoda# mipsel specific
621.4Ssodaoptions 	COMPAT_ULTRIX	# Ultrix binary compatibility
631.4Ssodaoptions 	EXEC_ECOFF	# Ultrix RISC binaries are ECOFF format
641.4Ssoda
651.4Ssoda# File systems
661.2Ssodafile-system 	FFS		# fast filesystem
671.4Ssoda#file-system 	EXT2FS		# second extended file system (linux)
681.4Ssoda#file-system 	LFS		# log-structured file system
691.4Ssodafile-system 	MFS		# memory file system
701.4Ssodafile-system 	NTFS		# Windows/NT file system (experimental)
711.2Ssodafile-system 	CD9660		# ISO 9660 + Rock Ridge file system
721.4Ssodafile-system 	MSDOSFS		# MS-DOS file system
731.4Ssodafile-system 	NFS		# Network File System client
741.4Ssodafile-system 	FDESC		# /dev/fd
751.4Ssodafile-system 	KERNFS		# /kern
761.4Ssoda#file-system 	NULLFS		# loopback file system
771.4Ssoda#file-system 	OVERLAY		# overlay file system
781.4Ssoda#file-system 	PORTAL		# portal filesystem (still experimental)
791.4Ssodafile-system 	PROCFS		# /proc
801.4Ssoda#file-system 	UMAPFS		# NULLFS + uid and gid remapping
811.4Ssoda#file-system 	UNION		# union file system
821.4Ssoda#file-system	CODA		# Coda File System; also needs vcoda (below)
831.2Ssoda
841.4Ssoda# File system options
851.3Ssodaoptions 	QUOTA		# FFS quotas
861.4Ssoda#options 	FFS_EI		# FFS Endian Independent support
871.10Ssodaoptions 	SOFTDEP		# FFS soft updates support.
881.4Ssodaoptions 	NFSSERVER	# Network File System server
891.4Ssoda#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
901.4Ssoda				# immutable) behave as system flags.
911.1Ssoda
921.1Ssoda# Networking options
931.4Ssoda#options 	GATEWAY		# IP packet forwarding
941.4Ssodaoptions 	INET		# IP + ICMP + TCP + UDP
951.4Ssodaoptions 	INET6		# IPV6
961.2Ssoda#options 	IPSEC		# IP security
971.2Ssoda#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
981.2Ssoda#options 	IPSEC_DEBUG	# debug for IP security
991.4Ssoda#options 	MROUTING	# IP multicast routing
1001.4Ssoda#options 	NS		# XNS
1011.4Ssoda#options 	NSIP		# XNS tunneling over IP
1021.2Ssoda#options 	ISO,TPIP	# OSI networking
1031.2Ssoda#options 	EON		# OSI tunneling over IP
1041.4Ssoda#options 	CCITT,LLC,HDLC	# X.25
1051.4Ssodaoptions 	NETATALK	# AppleTalk networking protocols
1061.4Ssodaoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1071.4Ssodaoptions 	PPP_DEFLATE	# Deflate compression support for PPP
1081.4Ssodaoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1091.4Ssodaoptions 	PFIL_HOOKS	# pfil(9) packet filter hooks
1101.4Ssodaoptions 	IPFILTER_LOG	# ipmon(8) log support
1111.12Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1121.4Ssoda
1131.4Ssoda# These options enable verbose messages for several subsystems.
1141.4Ssoda# Warning, these may compile large string tables into the kernel!
1151.4Ssoda#options 	EISAVERBOSE	# verbose EISA device autoconfig messages
1161.4Ssoda#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
1171.5Scgd#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1181.4Ssodaoptions 	SCSIVERBOSE	# human readable SCSI error messages
1191.8Sur
1201.8Sur# wscons terminal emulation
1211.8Suroptions 	WSEMUL_VT100	# VT100 emulation
1221.1Ssoda
1231.3Ssoda# Kernel root file system and dump configuration.
1241.4Ssodaoptions 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
1251.4Ssodaconfig		netbsd	root on ? type ?
1261.1Ssoda
1271.1Ssoda#
1281.4Ssoda# Device configuration
1291.1Ssoda#
1301.4Ssoda
1311.1Ssodamainbus0	at root
1321.1Ssodacpu*		at mainbus0
1331.1Ssoda
1341.4Ssoda#### ISA bus devices
1351.1Ssoda
1361.11Ssoda# PLATFORM_DESKTECH_ARCSTATION_I
1371.22Stsutsuiarcsisabr*	at mainbus0	# DeskStation rPC44 ISA host bridge.
1381.11Ssodaisa*		at arcsisabr?
1391.11Ssoda
1401.11Ssoda# PLATFORM_DESKTECH_TYNE
1411.22Stsutsuityneisabr*	at mainbus0	# DeskStation Tyne ISA host bridge.
1421.11Ssodaisa*		at tyneisabr?
1431.11Ssoda
1441.4Ssoda#isadma0 	at isa?
1451.4Ssoda
1461.11Ssodatimer0		at isa? port 0x40 irq 0
1471.11Ssodamcclock0 	at isa? port 0x70
1481.4Ssoda
1491.11Ssodapc0		at isa? irq 1			# generic PC console device
1501.11Ssodaopms0		at isa? irq 12			# PS/2 auxiliary port mouse
1511.7Ssoda#vga0		at isa?
1521.7Ssoda#pckbc0		at isa?				# PC keyboard controller
1531.4Ssodacom0		at isa? port 0x3f8 irq 4
1541.4Ssodacom1		at isa? port 0x2f8 irq 3
1551.4Ssodacom2		at isa? port 0x3e8 irq 4
1561.4Ssodacom3		at isa? port 0x2e8 irq 3
1571.4Ssodaast0		at isa? port 0x1a0 irq 3	# AST 4-port serial cards
1581.4Ssodacom*		at ast? slave ?
1591.1Ssoda
1601.4Ssoda# Joystick driver. Probe is a little strange; add only if you have one.
1611.4Ssodajoy0		at isa? port 0x201
1621.1Ssoda
1631.2Ssoda# ISA ST506, ESDI, and IDE controllers
1641.2Ssoda# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
1651.2Ssoda# fall back to 16bits I/O if 32bits I/O are not functional).
1661.2Ssoda# Some controllers pass the initial 32bit test, but will fail later.
1671.4Ssodawdc0		at isa? port 0x1f0 irq 14 flags 0x00
1681.4Ssodawdc1		at isa? port 0x170 irq 15 flags 0x00
1691.4Ssoda#wdc*		at isapnp?
1701.2Ssoda
1711.4Ssoda# ISA parallel printer interfaces
1721.4Ssodalpt0		at isa? port 0x378 irq 7
1731.4Ssoda
1741.4Ssoda# ISA network interfaces
1751.4Ssodaec0		at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
1761.4Ssodaep0		at isa? port ? irq ?		# 3C509 ethernet cards
1771.4Ssodane0		at isa? port 0x280 irq 9	# NE[12]000 ethernet cards
1781.4Ssodane1		at isa? port 0x300 irq 10
1791.4Ssoda#ne*		at isapnp?			# NE[12]000 PnP ethernet
1801.4Ssodawe0		at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC Ethernet
1811.4Ssodawe1		at isa? port 0x300 iomem 0xcc000 irq 10
1821.4Ssoda
1831.4Ssoda#aha0		at isa? port 0x330 irq ? drq ?	# Adaptec 154[02] SCSI
1841.4Ssoda#aha1		at isa? port 0x334 irq ? drq ?	# Adaptec 154[02] SCSI
1851.4Ssodabtl0		at isa? port 0x330 irq ? drq ?
1861.4Ssoda#wds0		at isa? port 0x350 irq 15 drq 6	# WD7000 and TMC-7000 SCSI
1871.4Ssoda#wds1		at isa? port 0x358 irq 11 drq 5
1881.26Stsutsui
1891.26Stsutsui# SCSI bus support
1901.26Stsutsuiscsibus*	at scsi?
1911.1Ssoda
1921.4Ssoda#### SCSI bus devices
1931.1Ssoda
1941.1Ssodasd*		at scsibus? target ? lun ?
1951.1Ssodast*		at scsibus? target ? lun ?
1961.1Ssodacd*		at scsibus? target ? lun ?
1971.1Ssodach*		at scsibus? target ? lun ?
1981.1Ssodass*		at scsibus? target ? lun ?
1991.1Ssodauk*		at scsibus? target ? lun ?
2001.26Stsutsui
2011.26Stsutsui# ATA (IDE) bus support
2021.26Stsutsuiatabus* 	at ata?
2031.26Stsutsui
2041.26Stsutsui# IDE drives
2051.26Stsutsui# Flags are used only with controllers that support DMA operations
2061.26Stsutsui# and mode settings (e.g. some pciide controllers)
2071.26Stsutsui# The lowest order four bits (rightmost digit) of the flags define the PIO
2081.26Stsutsui# mode to use, the next set of four bits the DMA mode and the third set the
2091.26Stsutsui# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
2101.26Stsutsui# to use, and the last bit must be 1 for this setting to be used.
2111.26Stsutsui# For DMA and UDMA, 0xf (1111) means 'disable'.
2121.26Stsutsui# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
2131.26Stsutsui# (0xc=1100, 0xa=1010, 0xf=1111)
2141.26Stsutsui# 0x0000 means "use whatever the drive claims to support".
2151.26Stsutsuiwd*		at atabus? drive ? flags 0x0000
2161.26Stsutsui
2171.26Stsutsui# ATAPI bus support
2181.26Stsutsuiatapibus*	at atapi?
2191.1Ssoda
2201.7Ssoda#### ATAPI bus devices
2211.7Ssoda
2221.7Ssoda# flags have the same meaning as for IDE drives.
2231.7Ssodacd*		at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
2241.7Ssodasd*		at atapibus? drive ? flags 0x0000	# ATAPI disk drives
2251.7Ssodauk*		at atapibus? drive ? flags 0x0000	# ATAPI unknown
2261.7Ssoda
2271.7Ssoda#### Workstation Console attachments
2281.7Ssoda
2291.7Ssoda#wsdisplay*	at vga?
2301.7Ssoda#wsdisplay*	at tga?
2311.7Ssoda#pckbd*		at pckbc?	# PC keyboard (kbd port)
2321.7Ssoda#wskbd*		at pckbd?
2331.7Ssoda#pms*		at pckbc?	# PS/2-style mouse (aux port)
2341.7Ssoda#wsmouse*	at pms?
2351.7Ssoda
2361.4Ssoda#### Pseudo devices
2371.4Ssoda
2381.4Ssoda# disk/mass storage pseudo-devices
2391.4Ssodapseudo-device	ccd		4	# concatenated/striped disk devices
2401.4Ssoda#pseudo-device	raid		4	# RAIDframe disk driver
2411.4Ssodapseudo-device	md		1	# memory disk device (ramdisk)
2421.4Ssodapseudo-device	vnd		4	# disk-like interface to files
2431.4Ssoda
2441.4Ssoda# network pseudo-devices
2451.4Ssodapseudo-device	bpfilter	8	# Berkeley packet filter
2461.4Ssodapseudo-device	ipfilter		# IP filter (firewall) and NAT
2471.4Ssodapseudo-device	loop		1	# network loopback
2481.4Ssodapseudo-device	ppp		2	# Point-to-Point Protocol
2491.4Ssodapseudo-device	sl		2	# Serial Line IP
2501.4Ssoda#pseudo-device	strip		2	# Starmode Radio IP (Metricom)
2511.4Ssodapseudo-device	tun		2	# network tunneling over tty
2521.2Ssoda#pseudo-device	gre		2	# generic L3 over IP tunnel
2531.2Ssodapseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
2541.2Ssoda#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
2551.7Ssoda#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
2561.10Ssodapseudo-device	vlan			# IEEE 802.1q encapsulation
2571.4Ssoda
2581.4Ssoda# miscellaneous pseudo-devices
2591.9Sjdolecekpseudo-device	pty			# pseudo-terminals
2601.4Ssoda#pseudo-device	tb		1	# tablet line discipline
2611.4Ssoda#pseudo-device	sequencer	1	# MIDI sequencer
2621.4Ssoda# rnd works; RND_COM does not on port arc yet.
2631.4Ssodapseudo-device	rnd			# /dev/random and in-kernel generator
2641.4Ssoda#options 	RND_COM			# use "com" randomness as well (BROKEN)
2651.20Slukempseudo-device	clockctl		# user control of clock subsystem
2661.4Ssoda
2671.4Ssoda# a pseudo device needed for Coda	# also needs CODA (above)
2681.4Ssoda#pseudo-device	vcoda		4	# coda minicache <-> venus comm.
2691.4Ssoda
2701.4Ssoda# mouse & keyboard multiplexor pseudo-devices
2711.13Saugustss#pseudo-device	wsmux
272