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