RPC44 revision 1.31
1# $NetBSD: RPC44,v 1.31 2007/12/31 15:31:49 ad Exp $
2#
3# GENERIC machine description file
4# 
5# This machine description file is used to generate the default NetBSD
6# kernel.  The generic kernel does not include all options, subsystems
7# and device drivers, but should be useful for most applications.
8#
9# The machine description file can be customised for your specific
10# machine to reduce the kernel size and improve its performance.
11#
12# For further information on compiling NetBSD kernels, see the config(8)
13# man page.
14#
15# For further information on hardware support for this architecture, see
16# the intro(4) man page.  For further information about kernel options
17# for this architecture, see the options(4) man page.  For an explanation
18# of each device driver in this file see the section 4 man page for the
19# device.
20
21include		"arch/arc/conf/std.arc"
22
23options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
24
25#ident		"GENERIC-$Revision: 1.31 $"
26
27maxusers	32		# estimated number of users
28
29# Platform support
30options 	PLATFORM_DESKTECH_ARCSTATION_I	# DeskStation rPC44
31
32# Standard system options
33
34options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
35options 	NTP		# NTP phase/frequency locked loop
36
37options 	KTRACE		# system call tracing via ktrace(1)
38
39options 	SYSVMSG		# System V-like message queues
40options 	SYSVSEM		# System V-like semaphores
41#options 	SEMMNI=10	# number of semaphore identifiers
42#options 	SEMMNS=60	# number of semaphores in system
43#options 	SEMUME=10	# max number of undo entries per process
44#options 	SEMMNU=30	# number of undo structures in system
45options 	SYSVSHM		# System V-like memory sharing
46#options 	SHMMAXPGS=1024	# 1024 pages is the default
47
48options 	LKM		# loadable kernel modules
49
50options 	USERCONF	# userconf(4) support
51#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
52options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
53
54# Enable experimental buffer queue strategy for better responsiveness under 
55# high disk I/O load. Use it with caution - it's not proven to be stable yet.
56#options 	BUFQ_READPRIO
57#options 	BUFQ_PRIOCSCAN
58
59# Diagnostic/debugging support options
60options 	DIAGNOSTIC		# cheap kernel consistency checks
61#options 	DEBUG			# expensive debugging checks/support
62#options 	KMEMSTATS		# kernel memory statistics (vmstat -m)
63options 	DDB			# in-kernel debugger
64#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
65#options 	KGDB			# remote gdb
66#options 	KGDB_DEVRATE=19200	# kernel gdb port rate (default 9600)
67#options 	KGDB_DEV="17*256+0"	# device for kernel gdb
68#makeoptions	DEBUG="-g"		# compile full symbol table
69
70# Compatibility options
71#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
72options 	COMPAT_10	# NetBSD 1.0,
73options 	COMPAT_11	# NetBSD 1.1,
74options 	COMPAT_12	# NetBSD 1.2,
75options 	COMPAT_13	# NetBSD 1.3,
76options 	COMPAT_14	# NetBSD 1.4,
77options 	COMPAT_15	# NetBSD 1.5,
78options 	COMPAT_16	# NetBSD 1.6,
79options 	COMPAT_20	# NetBSD 2.0,
80options 	COMPAT_30	# NetBSD 3.0,
81options 	COMPAT_40	# NetBSD 4.0 compatibility.
82options 	COMPAT_43	# and 4.3BSD
83options 	COMPAT_386BSD_MBRPART # recognize old partition ID
84
85# mipsel specific
86options 	COMPAT_ULTRIX	# Ultrix binary compatibility
87options 	EXEC_ECOFF	# Ultrix RISC binaries are ECOFF format
88options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
89
90# File systems
91file-system 	FFS		# fast filesystem
92#file-system 	EXT2FS		# second extended file system (linux)
93#file-system 	LFS		# log-structured file system
94#file-system 	MFS		# memory file system
95#file-system 	NTFS		# Windows/NT file system (experimental)
96file-system 	CD9660		# ISO 9660 + Rock Ridge file system
97file-system 	MSDOSFS		# MS-DOS file system
98file-system 	NFS		# Network File System client
99file-system 	FDESC		# /dev/fd
100file-system 	KERNFS		# /kern
101file-system 	NULLFS		# loopback file system
102file-system 	OVERLAY		# overlay file system
103file-system 	PORTAL		# portal filesystem (still experimental)
104file-system 	PROCFS		# /proc
105file-system 	UMAPFS		# NULLFS + uid and gid remapping
106file-system 	UNION		# union file system
107#file-system	CODA		# Coda File System; also needs vcoda (below)
108file-system	PTYFS		# /dev/pts/N support
109
110# File system options
111options 	QUOTA		# FFS quotas
112#options 	FFS_EI		# FFS Endian Independent support
113options 	SOFTDEP		# FFS soft updates support.
114options 	NFSSERVER	# Network File System server
115#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
116#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
117				# immutable) behave as system flags.
118
119# Networking options
120#options 	GATEWAY		# IP packet forwarding
121options 	INET		# IP + ICMP + TCP + UDP
122#options 	INET6		# IPV6
123#options 	IPSEC		# IP security
124#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
125#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
126#options 	IPSEC_DEBUG	# debug for IP security
127#options 	MROUTING	# IP multicast routing
128#options 	PIM		# Protocol Independent Multicast
129#options 	ISO,TPIP	# OSI networking
130#options 	EON		# OSI tunneling over IP
131#options 	NETATALK	# AppleTalk networking protocols
132#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
133#options 	PPP_DEFLATE	# Deflate compression support for PPP
134#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
135#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
136#options 	IPFILTER_LOG	# ipmon(8) log support
137#options 	IPFILTER_LOOKUP	# ippool(8) support
138##options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
139#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
140
141# These options enable verbose messages for several subsystems.
142# Warning, these may compile large string tables into the kernel!
143options 	EISAVERBOSE	# verbose EISA device autoconfig messages
144#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
145#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
146options 	SCSIVERBOSE	# human readable SCSI error messages
147
148# wscons terminal emulation
149options 	WSEMUL_VT100	# VT100 emulation
150
151# Kernel root file system and dump configuration.
152options 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
153config		netbsd	root on ? type ?
154#config		netbsd	root on sd0a type ffs
155#config		netbsd	root on ? type nfs
156
157#
158# Device configuration
159#
160
161mainbus0	at root
162cpu*		at mainbus0
163
164# PLATFORM_DESKTECH_ARCSTATION_I
165arcsisabr*	at mainbus0	# DeskStation rPC44 ISA host bridge.
166isa*		at arcsisabr?
167#isadma0 	at isa? 			# bogus?
168timer0		at isa? port 0x40 irq 0
169mcclock0 	at isa? port 0x70
170pc0		at isa? irq 1			# generic PC console device
171opms0		at isa? irq 12			# PS/2 auxiliary port mouse
172vga0		at isa?
173pckbc0		at isa?				# PC keyboard controller
174com0		at isa? port 0x3f8 irq 4
175com1		at isa? port 0x2f8 irq 3
176com2		at isa? port 0x3e8 irq 4
177com3		at isa? port 0x2e8 irq 3
178#bha0		at isa? port 0x330 irq ? drq ?  # BusLogic [457]4X SCSI
179#ast0		at isa? port 0x1a0 irq 3	# AST 4-port serial cards
180#com*		at ast? slave ?
181
182# Joystick driver. Probe is a little strange; add only if you have one.
183#joy0		at isa? port 0x201
184
185# ISA ST506, ESDI, and IDE controllers
186# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
187# fall back to 16bits I/O if 32bits I/O are not functional).
188# Some controllers pass the initial 32bit test, but will fail later.
189# XXX - should be configured
190wdc0		at isa? port 0x1f0 irq 14 flags 0x00
191#wdc1		at isa? port 0x170 irq 15 flags 0x00
192#wdc*		at isapnp?
193
194# ISA parallel printer interfaces
195lpt0		at isa? port 0x378 irq 7
196
197# ISA network interfaces
198# XXX - should be configured
199#ec0		at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
200ep0		at isa? port ? irq ?		# 3C509 ethernet cards
201ne0		at isa? port 0x280 irq 9	# NE[12]000 ethernet cards
202#ne1		at isa? port 0x300 irq 10
203#ne*		at isapnp?			# NE[12]000 PnP ethernet
204we0		at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC Ethernet
205#we1		at isa? port 0x300 iomem 0xcc000 irq 10
206
207# XXX - should be configured
208#btl0		at isa? port 0x330 irq ? drq ?
209
210#### SCSI bus support
211#scsibus*	at scsi?
212
213#### SCSI bus devices
214
215#sd*		at scsibus? target ? lun ?
216#st*		at scsibus? target ? lun ?
217#cd*		at scsibus? target ? lun ?
218#ch*		at scsibus? target ? lun ?
219#ss*		at scsibus? target ? lun ?
220#uk*		at scsibus? target ? lun ?
221
222# ATA (IDE) bus support
223atabus* 	at wdc? channel ?
224
225# IDE drives
226# Flags are used only with controllers that support DMA operations
227# and mode settings (e.g. some pciide controllers)
228# The lowest order four bits (rightmost digit) of the flags define the PIO
229# mode to use, the next set of four bits the DMA mode and the third set the
230# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
231# to use, and the last bit must be 1 for this setting to be used.
232# For DMA and UDMA, 0xf (1111) means 'disable'.
233# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
234# (0xc=1100, 0xa=1010, 0xf=1111)
235# 0x0000 means "use whatever the drive claims to support".
236# XXX - should be configured
237wd*		at atabus? drive ? flags 0x0000
238
239#### ATAPI bus support
240# XXX - should be configured
241#atapibus*	at atabus?
242
243#### ATAPI bus devices
244
245# flags have the same meaning as for IDE drives.
246#cd*		at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
247#sd*		at atapibus? drive ? flags 0x0000	# ATAPI disk drives
248#uk*		at atapibus? drive ? flags 0x0000	# ATAPI unknown
249
250#### Workstation Console attachments
251
252wsdisplay*	at vga?
253#wsdisplay*	at tga?
254pckbd*		at pckbc?	# PC keyboard (kbd port)
255wskbd*		at pckbd?
256pms*		at pckbc?	# PS/2-style mouse (aux port)
257wsmouse*	at pms?
258
259#### Pseudo devices
260
261# disk/mass storage pseudo-devices
262#pseudo-device	ccd		4	# concatenated/striped disk devices
263#pseudo-device	cgd		4	# cryptographic disk devices
264#pseudo-device	raid		8	# RAIDframe disk driver
265# Options to enable various other RAIDframe RAID types.
266#options 	RF_INCLUDE_EVENODD=1
267#options 	RF_INCLUDE_RAID5_RS=1
268#options 	RF_INCLUDE_PARITYLOGGING=1
269#options 	RF_INCLUDE_CHAINDECLUSTER=1
270#options 	RF_INCLUDE_INTERDECLUSTER=1
271#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
272#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
273#pseudo-device	fss		4	# file system snapshot device
274pseudo-device	md		1	# memory disk device (ramdisk)
275pseudo-device	vnd			# disk-like interface to files
276
277# network pseudo-devices
278pseudo-device	bpfilter		# Berkeley packet filter
279#pseudo-device	ipfilter		# IP filter (firewall) and NAT
280pseudo-device	loop		1	# network loopback
281#pseudo-device	ppp			# Point-to-Point Protocol
282#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
283#pseudo-device	sl			# Serial Line IP
284#pseudo-device	strip			# Starmode Radio IP (Metricom)
285pseudo-device	tun			# network tunneling over tty
286#pseudo-device	tap			# virtual Ethernet
287#pseudo-device	gre			# generic L3 over IP tunnel
288#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
289#pseudo-device	faith			# IPv[46] tcp relay translation i/f
290#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
291#pseudo-device	vlan			# IEEE 802.1q encapsulation
292#pseudo-device	bridge			# simple inter-network bridging
293
294# miscellaneous pseudo-devices
295pseudo-device	pty			# pseudo-terminals
296#pseudo-device	sequencer	1	# MIDI sequencer
297# rnd works; RND_COM does not on port arc yet.
298pseudo-device	rnd			# /dev/random and in-kernel generator
299#options 	RND_COM			# use "com" randomness as well (BROKEN)
300pseudo-device	clockctl		# user control of clock subsystem
301
302# a pseudo device needed for Coda	# also needs CODA (above)
303#pseudo-device	vcoda		4	# coda minicache <-> venus comm.
304
305# mouse & keyboard multiplexor pseudo-devices
306pseudo-device	wsmux
307