#	$NetBSD: ARCTIC,v 1.2 2000/01/23 21:01:52 soda Exp $
#	$OpenBSD: ARCTIC,v 1.8 1997/04/29 05:16:40 deraadt Exp $
#
#	Generic configuration file for MIPS R4x00 ARC Systems
#

include		"arch/arc/conf/std.arc"

maxusers	32

# Need to set locally
options		RTC_OFFSET=0	# hardware clock is this many mins. west of GMT

# Standard system options
options		KTRACE		# system call tracing support

# Diagnostic/debugging support options
options		DIAGNOSTIC	# extra kernel debugging checks
options		DEBUG		# extra kernel debugging support

# System V options
options		SYSVMSG		# System V-like message queues
options		SYSVSEM		# System V-like semaphores
options		SYSVSHM		# System V-like memory sharing
options		SHMMAXPGS=1024	# 1024 pages is the default

# Compatibilitry modules
options 	COMPAT_43	# compatibility with 4.3BSD binaries
options 	COMPAT_11
options 	COMPAT_12
options 	COMPAT_13
options 	COMPAT_14
#options 	COMPAT_ULTRIX	# Ultrix binary compatibility (no go yet)
options 	COMPAT_386BSD_MBRPART # recognize old partition ID

# Filesystem options
file-system 	FFS		# fast filesystem
file-system 	MFS		# memory-based filesystem
#file-system	LFS		# Log-based filesystem (still experimental)
file-system 	CD9660		# ISO 9660 + Rock Ridge file system
file-system 	MSDOSFS		# Ability to read write MS-Dos filsystem
file-system 	NFS		# Sun NFS-compatible filesystem (client)
file-system 	KERNFS		# kernel data-structure filesystem
file-system	PROCFS		# /proc
file-system 	FDESC		# user file descriptor filesystem
file-system	UMAPFS		# uid/gid remapping filesystem
file-system	UNION		# union file system
file-system	NULLFS		# null layer filesystem
file-system 	OVERLAY		# overlay file system
file-system	PORTAL		# portal filesystem (still experimental)

options		FIFO		# POSIX fifo support (in all filesystems)
options		QUOTA		# FFS quotas
#options 	FFS_EI		# FFS Endian Independant support
#options 	SOFTDEP         # FFS soft updates support.
options		NFSSERVER	# Sun NFS-compatible filesystem (server)

# Pull in config fragments for kernel crypto.  This is required for
# options IPSEC etc. to work. If you want to run with IPSEC, uncomment
# one of these, based on whether you use crypto-us or crypto-intl, and
# adjust the prefixes as necessary.

#prefix ../crypto-us/sys
#cinclude "conf/files.crypto-us"
#prefix

#prefix ../crypto-intl/sys
#cinclude "conf/files.crypto-intl"
#prefix

# Networking options
options 	GATEWAY		# IP packet forwarding
options		INET		# Internet protocols
#options 	INET6		# IPV6
#options 	IPSEC		# IP security
#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
#options 	IPSEC_DEBUG	# debug for IP security
#options 	MROUTING	# Multicast routing support
#options 	ISO,TPIP	# OSI networking
#options 	EON		# OSI tunneling over IP
#options	TCP_COMPAT_42	# compatibility with 4.2BSD TCP/IP

# Special options
options	 	MACHINE_NONCONTIG	# Support noncontigous memory.
options		PCCONS_FORCE_WORD	# Max out at 16bit accesses to the
					# VGA memory
options 	NFS_BOOT_BOOTP,NFS_BOOT_BOOTPARAM

# Specify storage configuration
config		netbsd root on ? type ?

#
# Definition of system
#
mainbus0	at root
cpu*		at mainbus0

isabr*		at mainbus0

#
#	ISA Bus.
#

isa*	at isabr?
#isadma0	at isa?

aclock0	at isa? port 0x70 irq 0

pc0     at isa? port 0x60 irq 1         # generic PC console device
com0	at isa? port 0x3f8 irq 4
com1	at isa? port 0x2f8 irq 3
com2	at isa? port 0x3e8 irq 4
com3	at isa? port 0x2e8 irq 3
ast0	at isa? port 0x1a0 irq 3	# AST 4-port serial cards
com*	at ast? slave ?

# ISA ST506, ESDI, and IDE controllers
# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
# fall back to 16bits I/O if 32bits I/O are not functional).
# Some controllers pass the initial 32bit test, but will fail later.
wdc0	at isa? port 0x1f0 irq 14 flags 0x00
wdc1	at isa? port 0x170 irq 15 flags 0x00

# IDE drives
# Flags are used only with controllers that support DMA operations
# and mode settings (e.g. some pciide controllers)
# The lowest order four bits (rightmost digit) of the flags define the PIO
# mode to use, the next set of four bits the DMA mode and the third set the
# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
# to use, and the last bit must be 1 for this setting to be used.
# For DMA and UDMA, 0xf (1111) means 'disable'.
# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
# (0xc=1100, 0xa=1010, 0xf=1111)
# 0x0000 means "use whatever the drive claims to support".
wd*	at wdc? channel ? drive ? flags 0x0000

# ATAPI bus support
atapibus* at wdc? channel ?
atapibus* at pciide? channel ?

# ATAPI devices
# flags have the same meaning as for IDE drives.
cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown


# Parallel Printer Interfaces

lpt0	at isa? port 0x378 irq 7


# Network Interfaces

ec0	at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
ep0	at isa? port ? irq ?			# 3C509 ethernet cards
ne0	at isa? port 0x280 irq 9		# NE[12]000 ethernet cards
ne1	at isa? port 0x300 irq 10
we0	at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC Ethernet
we1	at isa? port 0x300 iomem 0xcc000 irq 10

#tel0	at isa? iomem 0xe0000 irq 9	# Teles S0, NICCY 1000, Creatix 8bit
#tel1	at isa? port 0xe80 iomem 0xde000 irq 11	# Teles S0/16, NICCY 1016,
#tel2	at isa? port 0x180 irq 5	# Teles S0/16.3 card (no shared memory)

#aha0	at isa? port 0x330 irq ? drq ?	# Adaptec 154[02] SCSI controllers
#aha1	at isa? port 0x334 irq ? drq ?	# Adaptec 154[02] SCSI controllers
#scsibus* at aha?
btl0	at isa? port 0x330 irq ? drq ?
scsibus* at btl?
#wds0	at isa? port 0x350 irq 15 drq 6	# WD7000 and TMC-7000 controllers
#wds1	at isa? port 0x358 irq 11 drq 5
#scsibus* at wds?

#
#	SCSI Bus devices
#

sd*		at scsibus? target ? lun ?
st*		at scsibus? target ? lun ?
cd*		at scsibus? target ? lun ?
ch*		at scsibus? target ? lun ?
ss*		at scsibus? target ? lun ?
uk*		at scsibus? target ? lun ?

#
pseudo-device	sl		 2	# serial-line IP ports
pseudo-device	ppp		 2	# serial-line PPP ports
pseudo-device	tun		 2	# network tunneling over tty
pseudo-device	pty		64	# pseudo ptys
pseudo-device	tb		 1	# tablet line discipline
pseudo-device	bpfilter	 8	# packet filter ports
#pseudo-device	gre		2	# generic L3 over IP tunnel
pseudo-device	loop		 1	# network loopback
pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
pseudo-device	vnd		 4	# paging to files
pseudo-device	ccd		4	# concatenated disks
#pseudo-device 	raid		4	# RAIDframe disk driver
#pseudo-device	enc		 4	# IP encap
