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