ARCTIC revision 1.21
11.21Slukem#	$NetBSD: ARCTIC,v 1.21 2002/09/18 02:43:55 lukem 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.11Ssodaoptions 	PLATFORM_DESKTECH_ARCSTATION_I	# DESKstation rPC44
151.11Ssodaoptions 	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.4Ssoda
381.4Ssoda# Diagnostic/debugging support options
391.14Slukemoptions 	DIAGNOSTIC		# cheap kernel consistency checks
401.14Slukem#options 	DEBUG			# expensive debugging checks/support
411.14Slukem#options 	KMEMSTATS		# kernel memory statistics (vmstat -m)
421.14Slukemoptions 	DDB			# in-kernel debugger
431.4Ssoda#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
441.14Slukem#options 	KGDB			# remote gdb
451.14Slukem#options 	KGDB_DEVRATE=19200	# kernel gdb port rate (default 9600)
461.14Slukem#options 	KGDB_DEV="17*256+0"	# device for kernel gdb
471.14Slukem#makeoptions	DEBUG="-g"		# compile full symbol table
481.4Ssoda
491.4Ssoda# Compatibility options
501.12Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
511.4Ssodaoptions 	COMPAT_10	# NetBSD 1.0,
521.4Ssodaoptions 	COMPAT_11	# NetBSD 1.1,
531.4Ssodaoptions 	COMPAT_12	# NetBSD 1.2,
541.4Ssodaoptions 	COMPAT_13	# NetBSD 1.3,
551.4Ssodaoptions 	COMPAT_14	# NetBSD 1.4,
561.4Ssodaoptions 	COMPAT_43	# and 4.3BSD
571.2Ssodaoptions 	COMPAT_386BSD_MBRPART # recognize old partition ID
581.1Ssoda
591.4Ssoda# mipsel specific
601.4Ssodaoptions 	COMPAT_ULTRIX	# Ultrix binary compatibility
611.4Ssodaoptions 	EXEC_ECOFF	# Ultrix RISC binaries are ECOFF format
621.4Ssoda
631.4Ssoda# File systems
641.2Ssodafile-system 	FFS		# fast filesystem
651.4Ssoda#file-system 	EXT2FS		# second extended file system (linux)
661.4Ssoda#file-system 	LFS		# log-structured file system
671.4Ssodafile-system 	MFS		# memory file system
681.4Ssodafile-system 	NTFS		# Windows/NT file system (experimental)
691.2Ssodafile-system 	CD9660		# ISO 9660 + Rock Ridge file system
701.4Ssodafile-system 	MSDOSFS		# MS-DOS file system
711.4Ssodafile-system 	NFS		# Network File System client
721.4Ssodafile-system 	FDESC		# /dev/fd
731.4Ssodafile-system 	KERNFS		# /kern
741.4Ssoda#file-system 	NULLFS		# loopback file system
751.4Ssoda#file-system 	OVERLAY		# overlay file system
761.4Ssoda#file-system 	PORTAL		# portal filesystem (still experimental)
771.4Ssodafile-system 	PROCFS		# /proc
781.4Ssoda#file-system 	UMAPFS		# NULLFS + uid and gid remapping
791.4Ssoda#file-system 	UNION		# union file system
801.4Ssoda#file-system	CODA		# Coda File System; also needs vcoda (below)
811.2Ssoda
821.4Ssoda# File system options
831.3Ssodaoptions 	QUOTA		# FFS quotas
841.4Ssoda#options 	FFS_EI		# FFS Endian Independent support
851.10Ssodaoptions 	SOFTDEP		# FFS soft updates support.
861.4Ssodaoptions 	NFSSERVER	# Network File System server
871.4Ssoda#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
881.4Ssoda				# immutable) behave as system flags.
891.1Ssoda
901.1Ssoda# Networking options
911.4Ssoda#options 	GATEWAY		# IP packet forwarding
921.4Ssodaoptions 	INET		# IP + ICMP + TCP + UDP
931.4Ssodaoptions 	INET6		# IPV6
941.2Ssoda#options 	IPSEC		# IP security
951.2Ssoda#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
961.2Ssoda#options 	IPSEC_DEBUG	# debug for IP security
971.4Ssoda#options 	MROUTING	# IP multicast routing
981.4Ssoda#options 	NS		# XNS
991.4Ssoda#options 	NSIP		# XNS tunneling over IP
1001.2Ssoda#options 	ISO,TPIP	# OSI networking
1011.2Ssoda#options 	EON		# OSI tunneling over IP
1021.4Ssoda#options 	CCITT,LLC,HDLC	# X.25
1031.4Ssodaoptions 	NETATALK	# AppleTalk networking protocols
1041.4Ssodaoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1051.4Ssodaoptions 	PPP_DEFLATE	# Deflate compression support for PPP
1061.4Ssodaoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1071.4Ssodaoptions 	PFIL_HOOKS	# pfil(9) packet filter hooks
1081.4Ssodaoptions 	IPFILTER_LOG	# ipmon(8) log support
1091.12Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1101.4Ssoda
1111.4Ssoda# These options enable verbose messages for several subsystems.
1121.4Ssoda# Warning, these may compile large string tables into the kernel!
1131.4Ssoda#options 	EISAVERBOSE	# verbose EISA device autoconfig messages
1141.4Ssoda#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
1151.5Scgd#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1161.4Ssodaoptions 	SCSIVERBOSE	# human readable SCSI error messages
1171.8Sur
1181.8Sur# wscons terminal emulation
1191.8Suroptions 	WSEMUL_VT100	# VT100 emulation
1201.1Ssoda
1211.3Ssoda# Kernel root file system and dump configuration.
1221.4Ssodaoptions 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
1231.4Ssodaconfig		netbsd	root on ? type ?
1241.1Ssoda
1251.1Ssoda#
1261.4Ssoda# Device configuration
1271.1Ssoda#
1281.4Ssoda
1291.1Ssodamainbus0	at root
1301.1Ssodacpu*		at mainbus0
1311.1Ssoda
1321.4Ssoda#### ISA bus devices
1331.1Ssoda
1341.11Ssoda# PLATFORM_DESKTECH_ARCSTATION_I
1351.11Ssodaarcsisabr*	at mainbus0	# DESKstation rPC44 ISA host bridge.
1361.11Ssodaisa*		at arcsisabr?
1371.11Ssoda
1381.11Ssoda# PLATFORM_DESKTECH_TYNE
1391.11Ssodatyneisabr*	at mainbus0	# DESKstation Tyne ISA host bridge.
1401.11Ssodaisa*		at tyneisabr?
1411.11Ssoda
1421.4Ssoda#isadma0 	at isa?
1431.4Ssoda
1441.11Ssodatimer0		at isa? port 0x40 irq 0
1451.11Ssodamcclock0 	at isa? port 0x70
1461.4Ssoda
1471.11Ssodapc0		at isa? irq 1			# generic PC console device
1481.11Ssodaopms0		at isa? irq 12			# PS/2 auxiliary port mouse
1491.7Ssoda#vga0		at isa?
1501.7Ssoda#pckbc0		at isa?				# PC keyboard controller
1511.4Ssodacom0		at isa? port 0x3f8 irq 4
1521.4Ssodacom1		at isa? port 0x2f8 irq 3
1531.4Ssodacom2		at isa? port 0x3e8 irq 4
1541.4Ssodacom3		at isa? port 0x2e8 irq 3
1551.4Ssodaast0		at isa? port 0x1a0 irq 3	# AST 4-port serial cards
1561.4Ssodacom*		at ast? slave ?
1571.1Ssoda
1581.4Ssoda# Joystick driver. Probe is a little strange; add only if you have one.
1591.4Ssodajoy0		at isa? port 0x201
1601.1Ssoda
1611.2Ssoda# ISA ST506, ESDI, and IDE controllers
1621.2Ssoda# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
1631.2Ssoda# fall back to 16bits I/O if 32bits I/O are not functional).
1641.2Ssoda# Some controllers pass the initial 32bit test, but will fail later.
1651.4Ssodawdc0		at isa? port 0x1f0 irq 14 flags 0x00
1661.4Ssodawdc1		at isa? port 0x170 irq 15 flags 0x00
1671.4Ssoda#wdc*		at isapnp?
1681.2Ssoda
1691.2Ssoda# IDE drives
1701.2Ssoda# Flags are used only with controllers that support DMA operations
1711.2Ssoda# and mode settings (e.g. some pciide controllers)
1721.2Ssoda# The lowest order four bits (rightmost digit) of the flags define the PIO
1731.2Ssoda# mode to use, the next set of four bits the DMA mode and the third set the
1741.2Ssoda# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
1751.2Ssoda# to use, and the last bit must be 1 for this setting to be used.
1761.2Ssoda# For DMA and UDMA, 0xf (1111) means 'disable'.
1771.2Ssoda# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
1781.2Ssoda# (0xc=1100, 0xa=1010, 0xf=1111)
1791.2Ssoda# 0x0000 means "use whatever the drive claims to support".
1801.4Ssodawd*		at wdc? channel ? drive ? flags 0x0000
1811.2Ssoda
1821.2Ssoda# ATAPI bus support
1831.4Ssodaatapibus*	at wdc? channel ?
1841.2Ssoda
1851.4Ssoda# ISA parallel printer interfaces
1861.4Ssodalpt0		at isa? port 0x378 irq 7
1871.4Ssoda
1881.4Ssoda# ISA network interfaces
1891.4Ssodaec0		at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
1901.4Ssodaep0		at isa? port ? irq ?		# 3C509 ethernet cards
1911.4Ssodane0		at isa? port 0x280 irq 9	# NE[12]000 ethernet cards
1921.4Ssodane1		at isa? port 0x300 irq 10
1931.4Ssoda#ne*		at isapnp?			# NE[12]000 PnP ethernet
1941.4Ssodawe0		at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC Ethernet
1951.4Ssodawe1		at isa? port 0x300 iomem 0xcc000 irq 10
1961.4Ssoda#we*		at isapnp?
1971.4Ssoda
1981.4Ssoda#aha0		at isa? port 0x330 irq ? drq ?	# Adaptec 154[02] SCSI
1991.4Ssoda#aha1		at isa? port 0x334 irq ? drq ?	# Adaptec 154[02] SCSI
2001.4Ssoda#scsibus*	at aha?
2011.4Ssodabtl0		at isa? port 0x330 irq ? drq ?
2021.4Ssodascsibus*	at btl?
2031.4Ssoda#wds0		at isa? port 0x350 irq 15 drq 6	# WD7000 and TMC-7000 SCSI
2041.4Ssoda#wds1		at isa? port 0x358 irq 11 drq 5
2051.4Ssoda#scsibus*	at wds?
2061.1Ssoda
2071.4Ssoda#### SCSI bus devices
2081.1Ssoda
2091.1Ssodasd*		at scsibus? target ? lun ?
2101.1Ssodast*		at scsibus? target ? lun ?
2111.1Ssodacd*		at scsibus? target ? lun ?
2121.1Ssodach*		at scsibus? target ? lun ?
2131.1Ssodass*		at scsibus? target ? lun ?
2141.1Ssodauk*		at scsibus? target ? lun ?
2151.1Ssoda
2161.7Ssoda#### ATAPI bus devices
2171.7Ssoda
2181.7Ssoda# flags have the same meaning as for IDE drives.
2191.7Ssodacd*		at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
2201.7Ssodasd*		at atapibus? drive ? flags 0x0000	# ATAPI disk drives
2211.7Ssodauk*		at atapibus? drive ? flags 0x0000	# ATAPI unknown
2221.7Ssoda
2231.7Ssoda#### Workstation Console attachments
2241.7Ssoda
2251.7Ssoda#wsdisplay*	at vga?
2261.7Ssoda#wsdisplay*	at tga?
2271.7Ssoda#pckbd*		at pckbc?	# PC keyboard (kbd port)
2281.7Ssoda#wskbd*		at pckbd?
2291.7Ssoda#pms*		at pckbc?	# PS/2-style mouse (aux port)
2301.7Ssoda#wsmouse*	at pms?
2311.7Ssoda
2321.4Ssoda#### Pseudo devices
2331.4Ssoda
2341.4Ssoda# disk/mass storage pseudo-devices
2351.4Ssodapseudo-device	ccd		4	# concatenated/striped disk devices
2361.4Ssoda#pseudo-device	raid		4	# RAIDframe disk driver
2371.4Ssodapseudo-device	md		1	# memory disk device (ramdisk)
2381.4Ssodapseudo-device	vnd		4	# disk-like interface to files
2391.4Ssoda
2401.4Ssoda# network pseudo-devices
2411.4Ssodapseudo-device	bpfilter	8	# Berkeley packet filter
2421.4Ssodapseudo-device	ipfilter		# IP filter (firewall) and NAT
2431.4Ssodapseudo-device	loop		1	# network loopback
2441.4Ssodapseudo-device	ppp		2	# Point-to-Point Protocol
2451.4Ssodapseudo-device	sl		2	# Serial Line IP
2461.4Ssoda#pseudo-device	strip		2	# Starmode Radio IP (Metricom)
2471.4Ssodapseudo-device	tun		2	# network tunneling over tty
2481.2Ssoda#pseudo-device	gre		2	# generic L3 over IP tunnel
2491.2Ssodapseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
2501.2Ssoda#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
2511.7Ssoda#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
2521.10Ssodapseudo-device	vlan			# IEEE 802.1q encapsulation
2531.4Ssoda
2541.4Ssoda# miscellaneous pseudo-devices
2551.9Sjdolecekpseudo-device	pty			# pseudo-terminals
2561.4Ssoda#pseudo-device	tb		1	# tablet line discipline
2571.4Ssoda#pseudo-device	sequencer	1	# MIDI sequencer
2581.4Ssoda# rnd works; RND_COM does not on port arc yet.
2591.4Ssodapseudo-device	rnd			# /dev/random and in-kernel generator
2601.4Ssoda#options 	RND_COM			# use "com" randomness as well (BROKEN)
2611.20Slukempseudo-device	clockctl		# user control of clock subsystem
2621.4Ssoda
2631.4Ssoda# a pseudo device needed for Coda	# also needs CODA (above)
2641.4Ssoda#pseudo-device	vcoda		4	# coda minicache <-> venus comm.
2651.4Ssoda
2661.4Ssoda# mouse & keyboard multiplexor pseudo-devices
2671.13Saugustss#pseudo-device	wsmux
268