ARCTIC revision 1.28
11.28Smanu#	$NetBSD: ARCTIC,v 1.28 2004/09/04 23:29:46 manu 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.28Smanu#options 	PIM		# Protocol Independent Multicast
1011.4Ssoda#options 	NS		# XNS
1021.4Ssoda#options 	NSIP		# XNS tunneling over IP
1031.2Ssoda#options 	ISO,TPIP	# OSI networking
1041.2Ssoda#options 	EON		# OSI tunneling over IP
1051.4Ssoda#options 	CCITT,LLC,HDLC	# X.25
1061.4Ssodaoptions 	NETATALK	# AppleTalk networking protocols
1071.4Ssodaoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1081.4Ssodaoptions 	PPP_DEFLATE	# Deflate compression support for PPP
1091.4Ssodaoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1101.4Ssodaoptions 	PFIL_HOOKS	# pfil(9) packet filter hooks
1111.4Ssodaoptions 	IPFILTER_LOG	# ipmon(8) log support
1121.12Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1131.4Ssoda
1141.4Ssoda# These options enable verbose messages for several subsystems.
1151.4Ssoda# Warning, these may compile large string tables into the kernel!
1161.4Ssoda#options 	EISAVERBOSE	# verbose EISA device autoconfig messages
1171.4Ssoda#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
1181.5Scgd#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1191.4Ssodaoptions 	SCSIVERBOSE	# human readable SCSI error messages
1201.8Sur
1211.8Sur# wscons terminal emulation
1221.8Suroptions 	WSEMUL_VT100	# VT100 emulation
1231.1Ssoda
1241.3Ssoda# Kernel root file system and dump configuration.
1251.4Ssodaoptions 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
1261.4Ssodaconfig		netbsd	root on ? type ?
1271.1Ssoda
1281.1Ssoda#
1291.4Ssoda# Device configuration
1301.1Ssoda#
1311.4Ssoda
1321.1Ssodamainbus0	at root
1331.1Ssodacpu*		at mainbus0
1341.1Ssoda
1351.4Ssoda#### ISA bus devices
1361.1Ssoda
1371.11Ssoda# PLATFORM_DESKTECH_ARCSTATION_I
1381.22Stsutsuiarcsisabr*	at mainbus0	# DeskStation rPC44 ISA host bridge.
1391.11Ssodaisa*		at arcsisabr?
1401.11Ssoda
1411.11Ssoda# PLATFORM_DESKTECH_TYNE
1421.22Stsutsuityneisabr*	at mainbus0	# DeskStation Tyne ISA host bridge.
1431.11Ssodaisa*		at tyneisabr?
1441.11Ssoda
1451.4Ssoda#isadma0 	at isa?
1461.4Ssoda
1471.11Ssodatimer0		at isa? port 0x40 irq 0
1481.11Ssodamcclock0 	at isa? port 0x70
1491.4Ssoda
1501.11Ssodapc0		at isa? irq 1			# generic PC console device
1511.11Ssodaopms0		at isa? irq 12			# PS/2 auxiliary port mouse
1521.7Ssoda#vga0		at isa?
1531.7Ssoda#pckbc0		at isa?				# PC keyboard controller
1541.4Ssodacom0		at isa? port 0x3f8 irq 4
1551.4Ssodacom1		at isa? port 0x2f8 irq 3
1561.4Ssodacom2		at isa? port 0x3e8 irq 4
1571.4Ssodacom3		at isa? port 0x2e8 irq 3
1581.4Ssodaast0		at isa? port 0x1a0 irq 3	# AST 4-port serial cards
1591.4Ssodacom*		at ast? slave ?
1601.1Ssoda
1611.4Ssoda# Joystick driver. Probe is a little strange; add only if you have one.
1621.4Ssodajoy0		at isa? port 0x201
1631.1Ssoda
1641.2Ssoda# ISA ST506, ESDI, and IDE controllers
1651.2Ssoda# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
1661.2Ssoda# fall back to 16bits I/O if 32bits I/O are not functional).
1671.2Ssoda# Some controllers pass the initial 32bit test, but will fail later.
1681.4Ssodawdc0		at isa? port 0x1f0 irq 14 flags 0x00
1691.4Ssodawdc1		at isa? port 0x170 irq 15 flags 0x00
1701.4Ssoda#wdc*		at isapnp?
1711.2Ssoda
1721.4Ssoda# ISA parallel printer interfaces
1731.4Ssodalpt0		at isa? port 0x378 irq 7
1741.4Ssoda
1751.4Ssoda# ISA network interfaces
1761.4Ssodaec0		at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
1771.4Ssodaep0		at isa? port ? irq ?		# 3C509 ethernet cards
1781.4Ssodane0		at isa? port 0x280 irq 9	# NE[12]000 ethernet cards
1791.4Ssodane1		at isa? port 0x300 irq 10
1801.4Ssoda#ne*		at isapnp?			# NE[12]000 PnP ethernet
1811.4Ssodawe0		at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC Ethernet
1821.4Ssodawe1		at isa? port 0x300 iomem 0xcc000 irq 10
1831.4Ssoda
1841.4Ssoda#aha0		at isa? port 0x330 irq ? drq ?	# Adaptec 154[02] SCSI
1851.4Ssoda#aha1		at isa? port 0x334 irq ? drq ?	# Adaptec 154[02] SCSI
1861.4Ssodabtl0		at isa? port 0x330 irq ? drq ?
1871.4Ssoda#wds0		at isa? port 0x350 irq 15 drq 6	# WD7000 and TMC-7000 SCSI
1881.4Ssoda#wds1		at isa? port 0x358 irq 11 drq 5
1891.26Stsutsui
1901.26Stsutsui# SCSI bus support
1911.26Stsutsuiscsibus*	at scsi?
1921.1Ssoda
1931.4Ssoda#### SCSI bus devices
1941.1Ssoda
1951.1Ssodasd*		at scsibus? target ? lun ?
1961.1Ssodast*		at scsibus? target ? lun ?
1971.1Ssodacd*		at scsibus? target ? lun ?
1981.1Ssodach*		at scsibus? target ? lun ?
1991.1Ssodass*		at scsibus? target ? lun ?
2001.1Ssodauk*		at scsibus? target ? lun ?
2011.26Stsutsui
2021.26Stsutsui# ATA (IDE) bus support
2031.26Stsutsuiatabus* 	at ata?
2041.26Stsutsui
2051.26Stsutsui# IDE drives
2061.26Stsutsui# Flags are used only with controllers that support DMA operations
2071.26Stsutsui# and mode settings (e.g. some pciide controllers)
2081.26Stsutsui# The lowest order four bits (rightmost digit) of the flags define the PIO
2091.26Stsutsui# mode to use, the next set of four bits the DMA mode and the third set the
2101.26Stsutsui# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
2111.26Stsutsui# to use, and the last bit must be 1 for this setting to be used.
2121.26Stsutsui# For DMA and UDMA, 0xf (1111) means 'disable'.
2131.26Stsutsui# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
2141.26Stsutsui# (0xc=1100, 0xa=1010, 0xf=1111)
2151.26Stsutsui# 0x0000 means "use whatever the drive claims to support".
2161.26Stsutsuiwd*		at atabus? drive ? flags 0x0000
2171.26Stsutsui
2181.26Stsutsui# ATAPI bus support
2191.26Stsutsuiatapibus*	at atapi?
2201.1Ssoda
2211.7Ssoda#### ATAPI bus devices
2221.7Ssoda
2231.7Ssoda# flags have the same meaning as for IDE drives.
2241.7Ssodacd*		at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
2251.7Ssodasd*		at atapibus? drive ? flags 0x0000	# ATAPI disk drives
2261.7Ssodauk*		at atapibus? drive ? flags 0x0000	# ATAPI unknown
2271.7Ssoda
2281.7Ssoda#### Workstation Console attachments
2291.7Ssoda
2301.7Ssoda#wsdisplay*	at vga?
2311.7Ssoda#wsdisplay*	at tga?
2321.7Ssoda#pckbd*		at pckbc?	# PC keyboard (kbd port)
2331.7Ssoda#wskbd*		at pckbd?
2341.7Ssoda#pms*		at pckbc?	# PS/2-style mouse (aux port)
2351.7Ssoda#wsmouse*	at pms?
2361.7Ssoda
2371.4Ssoda#### Pseudo devices
2381.4Ssoda
2391.4Ssoda# disk/mass storage pseudo-devices
2401.4Ssodapseudo-device	ccd		4	# concatenated/striped disk devices
2411.4Ssoda#pseudo-device	raid		4	# RAIDframe disk driver
2421.4Ssodapseudo-device	md		1	# memory disk device (ramdisk)
2431.4Ssodapseudo-device	vnd		4	# disk-like interface to files
2441.4Ssoda
2451.4Ssoda# network pseudo-devices
2461.4Ssodapseudo-device	bpfilter	8	# Berkeley packet filter
2471.4Ssodapseudo-device	ipfilter		# IP filter (firewall) and NAT
2481.4Ssodapseudo-device	loop		1	# network loopback
2491.4Ssodapseudo-device	ppp		2	# Point-to-Point Protocol
2501.4Ssodapseudo-device	sl		2	# Serial Line IP
2511.4Ssoda#pseudo-device	strip		2	# Starmode Radio IP (Metricom)
2521.4Ssodapseudo-device	tun		2	# network tunneling over tty
2531.2Ssoda#pseudo-device	gre		2	# generic L3 over IP tunnel
2541.2Ssodapseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
2551.2Ssoda#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
2561.7Ssoda#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
2571.10Ssodapseudo-device	vlan			# IEEE 802.1q encapsulation
2581.4Ssoda
2591.4Ssoda# miscellaneous pseudo-devices
2601.9Sjdolecekpseudo-device	pty			# pseudo-terminals
2611.4Ssoda#pseudo-device	tb		1	# tablet line discipline
2621.4Ssoda#pseudo-device	sequencer	1	# MIDI sequencer
2631.4Ssoda# rnd works; RND_COM does not on port arc yet.
2641.4Ssodapseudo-device	rnd			# /dev/random and in-kernel generator
2651.4Ssoda#options 	RND_COM			# use "com" randomness as well (BROKEN)
2661.20Slukempseudo-device	clockctl		# user control of clock subsystem
2671.4Ssoda
2681.4Ssoda# a pseudo device needed for Coda	# also needs CODA (above)
2691.4Ssoda#pseudo-device	vcoda		4	# coda minicache <-> venus comm.
2701.4Ssoda
2711.4Ssoda# mouse & keyboard multiplexor pseudo-devices
2721.13Saugustss#pseudo-device	wsmux
273