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