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