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