GENERIC revision 1.23
1#	$NetBSD: GENERIC,v 1.23 2000/01/23 21:01:52 soda Exp $
2#	$OpenBSD: GENERIC,v 1.17 1997/05/18 13:45:23 pefo Exp $
3#
4#	Generic configuration file for MIPS R4x00 ARC Systems
5#
6
7include		"arch/arc/conf/std.arc"
8
9maxusers	32
10
11# Need to set locally
12options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
13
14# Standard system options
15options 	KTRACE		# system call tracing support
16#options 	LKM		# Loadable Kernel Modules
17#options 	NTP		# NTP phase/frequency locked loop
18
19# Diagnostic/debugging support options
20options 	DIAGNOSTIC	# extra kernel debugging checks
21options 	DEBUG		# extra kernel debugging support
22
23# System V options
24options 	SYSVMSG		# System V-like message queues
25options 	SYSVSEM		# System V-like semaphores
26options 	SYSVSHM		# System V-like memory sharing
27options 	SHMMAXPGS=1024	# 1024 pages is the default
28
29# Filesystem options
30file-system 	FFS		# fast filesystem
31file-system 	MFS		# memory-based filesystem
32#file-system	LFS		# Log-based filesystem (still experimental)
33file-system 	CD9660		# ISO 9660 + Rock Ridge file system
34file-system 	MSDOSFS		# Ability to read write MS-Dos filsystem
35file-system 	NFS		# Sun NFS-compatible filesystem (client)
36file-system 	KERNFS		# kernel data-structure filesystem
37file-system	PROCFS		# /proc
38file-system 	FDESC		# user file descriptor filesystem
39#file-system	UMAPFS		# uid/gid remapping filesystem
40#file-system	UNION		# union file system
41#file-system	NULLFS		# null layer filesystem
42#file-system 	OVERLAY		# overlay file system
43#file-system	PORTAL		# portal filesystem (still experimental)
44
45options 	QUOTA		# FFS quotas
46#options 	FFS_EI		# FFS Endian Independant support
47#options 	SOFTDEP         # FFS soft updates support.
48options 	NFSSERVER	# Sun NFS-compatible filesystem (server)
49
50#options 	SCSIVERBOSE	# Verbose SCSI errors
51
52# Pull in config fragments for kernel crypto.  This is required for
53# options IPSEC etc. to work. If you want to run with IPSEC, uncomment
54# one of these, based on whether you use crypto-us or crypto-intl, and
55# adjust the prefixes as necessary.
56
57#prefix ../crypto-us/sys
58#cinclude "conf/files.crypto-us"
59#prefix
60
61#prefix ../crypto-intl/sys
62#cinclude "conf/files.crypto-intl"
63#prefix
64
65# Networking options
66#options 	GATEWAY		# IP packet forwarding
67options 	INET		# Internet protocols
68#options 	INET6		# IPV6
69#options 	IPSEC		# IP security
70#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
71#options 	IPSEC_DEBUG	# debug for IP security
72#options 	TCP_COMPAT_42	# compatibility with 4.2BSD TCP/IP
73#options 	MULTICAST	# Multicast support
74#options 	MROUTING	# Multicast routing support
75#options 	NS		# XNS
76#options 	IPX		# IPX+SPX
77#options 	ISO,TPIP	# OSI networking
78#options 	EON		# OSI tunneling over IP
79#options 	CCITT,LLC,HDLC	# X.25
80#options 	PFIL_HOOKS	# pfil(9) packet filter hooks.
81
82# Compatibilitry modules
83options 	COMPAT_43	# compatibility with 4.3BSD binaries
84options 	COMPAT_11
85options 	COMPAT_12
86options 	COMPAT_13
87options 	COMPAT_14
88#options 	COMPAT_ULTRIX	# Ultrix binary compatibility (no go yet)
89options 	COMPAT_386BSD_MBRPART # recognize old partition ID
90
91options 	"NKMEMCLUSTERS=1024"	# 4K pages in kernel malloc pool
92#options 	KGDB			# support for kernel gdb
93#options 	"KGDBRATE=19200"	# kernel gdb port rate (default 9600)
94#options 	"KGDBDEV=15*256+0"	# device for kernel gdb
95
96# Special options
97options 	MACHINE_NONCONTIG # Support noncontigous memory.
98
99options 	NFS_BOOT_BOOTP,NFS_BOOT_BOOTPARAM
100
101config		netbsd root on ? type ?
102
103#
104# Definition of system
105#
106mainbus0	at root
107cpu*		at mainbus0
108
109#### Main local buses
110
111pica*		at mainbus0	# ACER Pica systems local bus.
112isabr*		at mainbus0	# ISA Bus bridge (std ISA bus).
113
114#### PICA bus devices
115
116aclock0		at pica?
117pc0		at pica?
118opms0		at pica?
119com0		at pica?
120com1		at pica?
121lpt0		at pica?
122sn0		at pica?
123
124fdc0		at pica?
125fd*		at fdc? drive ?
126
127asc0		at pica?
128scsibus* 	at asc?
129
130#### ISA Bus.
131
132isa*		at isabr?
133
134aclock0		at isa? port 0x70 irq 0
135
136pc0    		at isa? port 0x60 irq 1         # generic PC console device
137com0		at isa? port 0x3f8 irq 4
138com1		at isa? port 0x2f8 irq 3
139com2		at isa? port 0x3e8 irq 4
140com3		at isa? port 0x2e8 irq 3
141
142# ISA ST506, ESDI, and IDE controllers
143# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
144# fall back to 16bits I/O if 32bits I/O are not functional).
145# Some controllers pass the initial 32bit test, but will fail later.
146# XXX - should be configured
147#wdc0	at isa? port 0x1f0 irq 14 flags 0x00
148##wdc1	at isa? port 0x170 irq 15 flags 0x00
149
150# IDE drives
151# Flags are used only with controllers that support DMA operations
152# and mode settings (e.g. some pciide controllers)
153# The lowest order four bits (rightmost digit) of the flags define the PIO
154# mode to use, the next set of four bits the DMA mode and the third set the
155# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
156# to use, and the last bit must be 1 for this setting to be used.
157# For DMA and UDMA, 0xf (1111) means 'disable'.
158# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
159# (0xc=1100, 0xa=1010, 0xf=1111)
160# 0x0000 means "use whatever the drive claims to support".
161# XXX - should be configured
162#wd*	at wdc? channel ? drive ? flags 0x0000
163
164# ATAPI bus support
165# XXX - should be configured
166#atapibus* at wdc? channel ?
167
168# ATAPI devices
169# flags have the same meaning as for IDE drives.
170# XXX - should be configured
171#cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
172#sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
173#uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
174
175
176# Parallel Printer Interfaces
177
178lpt0		at isa? port 0x378 irq 7
179
180
181# Network Interfaces
182
183# XXX - should fix conflict with files.isa
184#ec0	at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
185# XXX - should fix conflict with files.isa
186#ep0		at isa? port ? irq ?           # 3C509 ethernet cards
187# XXX - should fix conflict with files.isa
188#ne0	at isa? port 0x280 irq 9		# NE[12]000 ethernet cards
189#ne1	at isa? port 0x300 irq 10
190#we0	at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC Ethernet
191#we1	at isa? port 0x300 iomem 0xcc000 irq 10
192
193# XXX - should be configured
194#btl0		at isa? port 0x330 irq ? drq ?
195#scsibus* 	at btl?
196
197#### SCSI Bus devices
198
199sd*		at scsibus? target ? lun ?
200st*		at scsibus? target ? lun ?
201cd*		at scsibus? target ? lun ?
202ch*		at scsibus? target ? lun ?
203ss*		at scsibus? target ? lun ?
204uk*		at scsibus? target ? lun ?
205
206#### PSEUDO Devices
207
208pseudo-device	loop		 1	# network loopback
209pseudo-device	bpfilter	 8	# packet filter ports
210#pseudo-device	gre		2	# generic L3 over IP tunnel
211pseudo-device	sl		 2	# serial-line IP ports
212pseudo-device	ppp		 2	# serial-line PPP ports
213pseudo-device	tun		 2	# network tunneling over tty
214pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
215#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
216pseudo-device	ipfilter		# ip filter
217
218pseudo-device	pty		64	# pseudo ptys
219pseudo-device	tb		 1	# tablet line discipline
220pseudo-device	vnd		 4	# paging to files
221pseudo-device	ccd		 4	# concatenated disk devices
222#pseudo-device 	raid		4	# RAIDframe disk driver
223#pseudo-device	md		 1	# memory disk devices
224# rnd is EXPERIMENTAL
225#pseudo-device	rnd			# /dev/random and in-kernel generator
226