#	$OpenBSD: RAMDISK,v 1.9 1999/08/29 12:14:03 niklas Exp $
#
#	Generic configuration file for MIPS R4x00 ARC Systems
#

machine		arc mips

maxusers	4

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

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

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

# System V options
option		SYSVMSG		# System V-like message queues
option		SYSVSEM		# System V-like semaphores
option		SYSVSHM		# System V-like memory sharing
option		SHMMAXPGS=1024	# 1024 pages is the default
option		NATIVE_ELF	# Arc systems uses ELF as native format

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


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

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

# Specify storage configuration using ramdisk
config		bsd	root on rd0a swap on rd0b

#
# 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).
#algor*		at mainbus0	# P4032 PCI Bridge.
#pbcpcibr*	at mainbus0	# PCI Bus bridge.

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

#### Algor bus devices

#clock0		at algor?
#com0		at algor?
#com1		at algor?
#lpt0		at algor?

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

# IDE controllers
wdc0		at isa? port 0x1f0 irq 14 flags 0x00
wdc1		at isa? port 0x170 irq 15 flags 0x00
#wdc*		at isapnp?

# IDE hard drives
wd*		at wdc? channel ? drive ? flags 0x0000

# ATAPI<->SCSI
atapiscsi*	at wdc? channel ?
scsibus*	at atapiscsi?

lpt0		at isa? port 0x378 irq 7
ep0		at isa? port ? irq ?		# 3C509 ethernet cards
we0		at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC 80x3 ethernet
we1		at isa? port 0x300 iomem 0xcc000 irq 10
#we*		at isapnp?
ec0		at isa? port 0x250 iomem 0xd8000 irq 9	# 3C503 ethernet
ne0		at isa? port 0x240 irq 9		# NE[12]000 ethernet
ne1		at isa? port 0x300 irq 10		# NE[12]000 ethernet
ne2		at isa? port 0x280 irq 9		# NE[12]000 ethernet
#ne*		at isapnp?				# NE[12]000 PnP ether

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

#### PCI Bus

#pci*		at pbcpcibr?

#de*		at pci? dev ? function ?
#ncr*		at pci? dev ? function ?
#scsibus*	at ncr?


#### 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
pseudo-device	rd		 1	# Ram disk.

# RAMDISK stuff
option		MINIROOTSIZE=8192
option		RAMDISK_HOOKS

