#	$OpenBSD: GENERIC,v 1.17 1997/05/18 13:45:23 pefo Exp $
#
#	Generic configuration file for MIPS R4x00 ARC Systems
#

machine		arc

maxusers	32

# Need to set locally
options		TIMEZONE=0		# minutes west of GMT (for)
options		DST=0			# use daylight savings rules

# Standard system options
options		SWAPPAGER		# swap pager (anonymous and swap space)
options		DEVPAGER		# device pager (mapped devices)

options		DIAGNOSTIC		# extra kernel debugging checks
options 	KTRACE			# system call tracing support
options		DEBUG			# extra kernel debugging support
options		COMPAT_43		# compatibility with 4.3BSD binaries

# 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
options		NATIVE_ELF	# Arc systems uses ELF as native format

# Filesystem options
options		CD9660		# ISO 9660 + Rock Ridge file system
options		FDESC		# user file descriptor filesystem (/dev/fd)
options		FIFO		# POSIX fifo support (in all filesystems)
options		FFS,QUOTA	# fast filesystem with user and group quotas
options		KERNFS		# kernel data-structure filesystem
options		MFS		# memory-based filesystem
options		MSDOSFS		# Ability to read write MS-Dos filsystem
options		NFSCLIENT	# Sun NFS-compatible filesystem (client)
options		NFSSERVER	# Sun NFS-compatible filesystem (server)
options 	NULLFS		# null layer filesystem
options 	PORTAL		# portal filesystem (still experimental)
option          PROCFS          # /proc
options 	UMAPFS		# uid/gid remapping filesystem
option          UNION           # union file system


# Networking options
#options 	GATEWAY		# IP packet forwarding
options 	INET		# Internet protocols
#option         NS              # XNS
#option         IPX             # IPX+SPX
#options 	ISO,TPIP	# OSI networking
#options 	EON		# OSI tunneling over IP
#option         CCITT,LLC,HDLC  # X.25
option          IPFILTER        # IP packet filter for security

#options 	TCP_COMPAT_42	# compatibility with 4.2BSD TCP/IP
#options 	MULTICAST	# Multicast support
#options 	MROUTING	# Multicast routing support

# Special options
options 	MACHINE_NONCONTIG # Support noncontigous memory.

# Specify storage configuration (its a joke..)
config		bsd	swap generic

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

#### Main local buses

pica*		at mainbus0	# ACER Pica systems local bus.
isabr*		at mainbus0	# ISA Bus bridge (std ISA bus).

#### PICA bus devices

clock0		at pica?
pc0		at pica?
pms0		at pica?
com0		at pica?
com1		at pica?
lpt0		at pica?
sn0		at pica?

fdc0		at pica?
fd*		at fdc? drive ?

asc0		at pica?
scsibus* 	at asc?

#### ISA Bus.

isa*		at isabr?

clock0		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

wdc0		at isa? port 0x1f0 irq 14	# ST506, ESDI, IDE controllers
#wdc1		at isa? port 0x170 irq 15
wd*		at wdc? drive ?

atapibus*	at wdc?
acd*		at atapibus? drive?

lpt0		at isa? port 0x378 irq 7
ep0		at isa? port ? irq ?           # 3C509 ethernet cards
ed0    		at isa? port 0x280 iomem 0xd0000 irq 9  # WD/SMC, 3C503, NE[12]000
ed1    		at isa? port 0x250 iomem 0xd8000 irq 9  #   ethernet cards
ed2    		at isa? port 0x300 iomem 0xcc000 irq 10 #

btl0		at isa? port 0x330 irq ? drq ?
scsibus* 	at btl?

#### 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 Devices

pseudo-device	loop		 1	# network loopback
pseudo-device	bpfilter	 8	# packet filter ports
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	vnd		 4	# paging to files
pseudo-device   ccd		 4	# concatenated disk devices

