xref: /netbsd-src/sys/arch/arc/conf/RPC44 (revision c78676accca07215237e546e46e3c7eee6d5716d)
1*c78676acSchristos# $NetBSD: RPC44,v 1.58 2024/01/29 18:27:10 christos Exp $
21d37d03cSimp#
31d37d03cSimp# GENERIC machine description file
41d37d03cSimp#
51d37d03cSimp# This machine description file is used to generate the default NetBSD
61d37d03cSimp# kernel.  The generic kernel does not include all options, subsystems
71d37d03cSimp# and device drivers, but should be useful for most applications.
81d37d03cSimp#
91d37d03cSimp# The machine description file can be customised for your specific
101d37d03cSimp# machine to reduce the kernel size and improve its performance.
111d37d03cSimp#
121d37d03cSimp# For further information on compiling NetBSD kernels, see the config(8)
131d37d03cSimp# man page.
141d37d03cSimp#
151d37d03cSimp# For further information on hardware support for this architecture, see
161d37d03cSimp# the intro(4) man page.  For further information about kernel options
171d37d03cSimp# for this architecture, see the options(4) man page.  For an explanation
181d37d03cSimp# of each device driver in this file see the section 4 man page for the
191d37d03cSimp# device.
201d37d03cSimp
211d37d03cSimpinclude 	"arch/arc/conf/std.arc"
221d37d03cSimp
231d37d03cSimpoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
241d37d03cSimp
25*c78676acSchristos#ident		"GENERIC-$Revision: 1.58 $"
261d37d03cSimp
271d37d03cSimpmaxusers	32		# estimated number of users
281d37d03cSimp
291d37d03cSimp# Platform support
3027ad3392Stsutsuioptions 	PLATFORM_DESKTECH_ARCSTATION_I	# DeskStation rPC44
311d37d03cSimp
321d37d03cSimp# Standard system options
331d37d03cSimp
341d37d03cSimpoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
351d37d03cSimpoptions 	NTP		# NTP phase/frequency locked loop
361d37d03cSimp
371d37d03cSimpoptions 	KTRACE		# system call tracing via ktrace(1)
381d37d03cSimp
391d37d03cSimpoptions 	SYSVMSG		# System V-like message queues
401d37d03cSimpoptions 	SYSVSEM		# System V-like semaphores
411d37d03cSimp#options 	SEMMNI=10	# number of semaphore identifiers
421d37d03cSimp#options 	SEMMNS=60	# number of semaphores in system
431d37d03cSimp#options 	SEMUME=10	# max number of undo entries per process
441d37d03cSimp#options 	SEMMNU=30	# number of undo structures in system
451d37d03cSimpoptions 	SYSVSHM		# System V-like memory sharing
461d37d03cSimp
471d37d03cSimpoptions 	USERCONF	# userconf(4) support
481d37d03cSimp#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
49f68a9f1fSatatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
501d37d03cSimp
51b376ef7fSsevan# Alternate buffer queue strategies for better responsiveness under high
52b376ef7fSsevan# disk I/O load.
534e54a2ccStsutsui#options 	BUFQ_READPRIO
544e54a2ccStsutsui#options 	BUFQ_PRIOCSCAN
551d37d03cSimp
561d37d03cSimp# Diagnostic/debugging support options
571d37d03cSimpoptions 	DIAGNOSTIC		# cheap kernel consistency checks
581d37d03cSimp#options 	DEBUG			# expensive debugging checks/support
591d37d03cSimpoptions 	DDB			# in-kernel debugger
607fe7089aSuebayasipseudo-device	ksyms
611d37d03cSimp#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
621d37d03cSimp#options 	KGDB			# remote gdb
631d37d03cSimp#options 	KGDB_DEVRATE=19200	# kernel gdb port rate (default 9600)
641d37d03cSimp#options 	KGDB_DEV="17*256+0"	# device for kernel gdb
651d37d03cSimp#makeoptions	DEBUG="-g"		# compile full symbol table
661d37d03cSimp
671d37d03cSimp# Compatibility options
6895772a88Smrginclude 	"conf/compat_netbsd10.config"
691d37d03cSimpoptions 	COMPAT_386BSD_MBRPART # recognize old partition ID
701d37d03cSimp
711d37d03cSimp# mipsel specific
721d37d03cSimpoptions 	COMPAT_ULTRIX	# Ultrix binary compatibility
731d37d03cSimpoptions 	EXEC_ECOFF	# Ultrix RISC binaries are ECOFF format
741d37d03cSimp
751d37d03cSimp# File systems
761d37d03cSimpfile-system 	FFS		# fast filesystem
771d37d03cSimp#file-system 	EXT2FS		# second extended file system (linux)
781d37d03cSimp#file-system 	LFS		# log-structured file system
791d37d03cSimp#file-system 	MFS		# memory file system
801d37d03cSimp#file-system 	NTFS		# Windows/NT file system (experimental)
811d37d03cSimpfile-system 	CD9660		# ISO 9660 + Rock Ridge file system
821d37d03cSimpfile-system 	MSDOSFS		# MS-DOS file system
831d37d03cSimpfile-system 	NFS		# Network File System client
841d37d03cSimpfile-system 	FDESC		# /dev/fd
851d37d03cSimpfile-system 	KERNFS		# /kern
861d37d03cSimpfile-system 	NULLFS		# loopback file system
871d37d03cSimpfile-system 	OVERLAY		# overlay file system
8870d4493cSpookafile-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
891d37d03cSimpfile-system 	PROCFS		# /proc
901d37d03cSimpfile-system 	UMAPFS		# NULLFS + uid and gid remapping
911d37d03cSimpfile-system 	UNION		# union file system
921d37d03cSimp#file-system	CODA		# Coda File System; also needs vcoda (below)
9393c362d7Schristosfile-system	PTYFS		# /dev/pts/N support
941d37d03cSimp
951d37d03cSimp# File system options
96063f96f3Sbouyeroptions 	QUOTA		# legacy UFS quotas
97063f96f3Sbouyeroptions 	QUOTA2		# new, in-filesystem UFS quotas
981d37d03cSimp#options 	FFS_EI		# FFS Endian Independent support
991d37d03cSimpoptions 	NFSSERVER	# Network File System server
100ff9b47d6Stsutsui#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
1011d37d03cSimp
1021d37d03cSimp# Networking options
1031d37d03cSimp#options 	GATEWAY		# IP packet forwarding
1041d37d03cSimpoptions 	INET		# IP + ICMP + TCP + UDP
1051d37d03cSimp#options 	INET6		# IPV6
1061d37d03cSimp#options 	IPSEC		# IP security
1071d37d03cSimp#options 	IPSEC_DEBUG	# debug for IP security
1081d37d03cSimp#options 	MROUTING	# IP multicast routing
1096e3c6399Smanu#options 	PIM		# Protocol Independent Multicast
1101d37d03cSimp#options 	NETATALK	# AppleTalk networking protocols
1111d37d03cSimp#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1121d37d03cSimp#options 	PPP_DEFLATE	# Deflate compression support for PPP
1131d37d03cSimp#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1141d37d03cSimp#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1151d37d03cSimp
116e25150d4Salnsn# JIT compiler for bpfilter
117e25150d4Salnsn#options	SLJIT
118e25150d4Salnsn#options	BPFJIT
119e25150d4Salnsn
1201d37d03cSimp# These options enable verbose messages for several subsystems.
1211d37d03cSimp# Warning, these may compile large string tables into the kernel!
1221d37d03cSimpoptions 	EISAVERBOSE	# verbose EISA device autoconfig messages
1231d37d03cSimp#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
1241d37d03cSimp#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1251d37d03cSimpoptions 	SCSIVERBOSE	# human readable SCSI error messages
1261d37d03cSimp
1271d37d03cSimp# wscons terminal emulation
1281d37d03cSimpoptions 	WSEMUL_VT100	# VT100 emulation
1293267a6b9Sabsoptions 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1301d37d03cSimp
1311d37d03cSimp# Kernel root file system and dump configuration.
1321d37d03cSimpoptions 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
1331d37d03cSimpconfig		netbsd	root on ? type ?
1341d37d03cSimp#config		netbsd	root on sd0a type ffs
1351d37d03cSimp#config		netbsd	root on ? type nfs
1361d37d03cSimp
1371d37d03cSimp#
1381d37d03cSimp# Device configuration
1391d37d03cSimp#
1401d37d03cSimp
1411d37d03cSimpmainbus0	at root
1421d37d03cSimpcpu*		at mainbus0
1431d37d03cSimp
1441d37d03cSimp# PLATFORM_DESKTECH_ARCSTATION_I
14527ad3392Stsutsuiarcsisabr*	at mainbus0	# DeskStation rPC44 ISA host bridge.
1461d37d03cSimpisa*		at arcsisabr?
1471d37d03cSimp#isadma0 	at isa? 			# bogus?
1481d37d03cSimptimer0		at isa? port 0x40 irq 0
1491d37d03cSimpmcclock0 	at isa? port 0x70
1501d37d03cSimppc0		at isa? irq 1			# generic PC console device
1511d37d03cSimpopms0		at isa? irq 12			# PS/2 auxiliary port mouse
1521d37d03cSimpvga0		at isa?
1531d37d03cSimppckbc0		at isa?				# PC keyboard controller
1541d37d03cSimpcom0		at isa? port 0x3f8 irq 4
1551d37d03cSimpcom1		at isa? port 0x2f8 irq 3
1561d37d03cSimpcom2		at isa? port 0x3e8 irq 4
1571d37d03cSimpcom3		at isa? port 0x2e8 irq 3
1581d37d03cSimp#bha0		at isa? port 0x330 irq ? drq ?  # BusLogic [457]4X SCSI
1591d37d03cSimp#ast0		at isa? port 0x1a0 irq 3	# AST 4-port serial cards
1601d37d03cSimp#com*		at ast? slave ?
1611d37d03cSimp
1621d37d03cSimp# Joystick driver. Probe is a little strange; add only if you have one.
1631d37d03cSimp#joy0		at isa? port 0x201
1641d37d03cSimp
1651d37d03cSimp# ISA ST506, ESDI, and IDE controllers
1661d37d03cSimp# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
1671d37d03cSimp# fall back to 16bits I/O if 32bits I/O are not functional).
1681d37d03cSimp# Some controllers pass the initial 32bit test, but will fail later.
1691d37d03cSimp# XXX - should be configured
1701d37d03cSimpwdc0		at isa? port 0x1f0 irq 14 flags 0x00
1711d37d03cSimp#wdc1		at isa? port 0x170 irq 15 flags 0x00
1721d37d03cSimp#wdc*		at isapnp?
1731d37d03cSimp
1741d37d03cSimp# ISA parallel printer interfaces
1751d37d03cSimplpt0		at isa? port 0x378 irq 7
1761d37d03cSimp
1771d37d03cSimp# ISA network interfaces
1781d37d03cSimp# XXX - should be configured
1791d37d03cSimp#ec0		at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
1801d37d03cSimpep0		at isa? port ? irq ?		# 3C509 ethernet cards
1811d37d03cSimpne0		at isa? port 0x280 irq 9	# NE[12]000 ethernet cards
1821d37d03cSimp#ne1		at isa? port 0x300 irq 10
1831d37d03cSimp#ne*		at isapnp?			# NE[12]000 PnP ethernet
1841d37d03cSimpwe0		at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC Ethernet
1851d37d03cSimp#we1		at isa? port 0x300 iomem 0xcc000 irq 10
1861d37d03cSimp
1871d37d03cSimp# XXX - should be configured
1881d37d03cSimp#btl0		at isa? port 0x330 irq ? drq ?
189564931c4Stsutsui
190564931c4Stsutsui#### SCSI bus support
191564931c4Stsutsui#scsibus*	at scsi?
1921d37d03cSimp
1931d37d03cSimp#### SCSI bus devices
1941d37d03cSimp
1951d37d03cSimp#sd*		at scsibus? target ? lun ?
1961d37d03cSimp#st*		at scsibus? target ? lun ?
1971d37d03cSimp#cd*		at scsibus? target ? lun ?
1981d37d03cSimp#ch*		at scsibus? target ? lun ?
1991d37d03cSimp#ss*		at scsibus? target ? lun ?
2001d37d03cSimp#uk*		at scsibus? target ? lun ?
2011d37d03cSimp
202564931c4Stsutsui# ATA (IDE) bus support
203564931c4Stsutsuiatabus* 	at wdc? channel ?
204564931c4Stsutsui
205564931c4Stsutsui# IDE drives
206564931c4Stsutsui# Flags are used only with controllers that support DMA operations
207564931c4Stsutsui# and mode settings (e.g. some pciide controllers)
208564931c4Stsutsui# The lowest order four bits (rightmost digit) of the flags define the PIO
209564931c4Stsutsui# mode to use, the next set of four bits the DMA mode and the third set the
210564931c4Stsutsui# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
211564931c4Stsutsui# to use, and the last bit must be 1 for this setting to be used.
212564931c4Stsutsui# For DMA and UDMA, 0xf (1111) means 'disable'.
213564931c4Stsutsui# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
214564931c4Stsutsui# (0xc=1100, 0xa=1010, 0xf=1111)
215564931c4Stsutsui# 0x0000 means "use whatever the drive claims to support".
216564931c4Stsutsui# XXX - should be configured
217564931c4Stsutsuiwd*		at atabus? drive ? flags 0x0000
218564931c4Stsutsui
219564931c4Stsutsui#### ATAPI bus support
220564931c4Stsutsui# XXX - should be configured
221564931c4Stsutsui#atapibus*	at atabus?
222564931c4Stsutsui
2231d37d03cSimp#### ATAPI bus devices
2241d37d03cSimp
2251d37d03cSimp# flags have the same meaning as for IDE drives.
2261d37d03cSimp#cd*		at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
2271d37d03cSimp#sd*		at atapibus? drive ? flags 0x0000	# ATAPI disk drives
2281d37d03cSimp#uk*		at atapibus? drive ? flags 0x0000	# ATAPI unknown
2291d37d03cSimp
2301d37d03cSimp#### Workstation Console attachments
2311d37d03cSimp
2321d37d03cSimpwsdisplay*	at vga?
2331d37d03cSimp#wsdisplay*	at tga?
2341d37d03cSimppckbd*		at pckbc?	# PC keyboard (kbd port)
2351d37d03cSimpwskbd*		at pckbd?
2361d37d03cSimppms*		at pckbc?	# PS/2-style mouse (aux port)
2371d37d03cSimpwsmouse*	at pms?
2381d37d03cSimp
2391d37d03cSimp#### Pseudo devices
2401d37d03cSimp
2411d37d03cSimp# disk/mass storage pseudo-devices
242dc14ae83Schristos#pseudo-device	ccd			# concatenated/striped disk devices
243dc14ae83Schristos#pseudo-device	cgd			# cryptographic disk devices
2441cc8b68dSchristos#pseudo-device	raid			# RAIDframe disk driver
2451d37d03cSimp# Options to enable various other RAIDframe RAID types.
2461d37d03cSimp#options 	RF_INCLUDE_EVENODD=1
2471d37d03cSimp#options 	RF_INCLUDE_RAID5_RS=1
2481d37d03cSimp#options 	RF_INCLUDE_PARITYLOGGING=1
2491d37d03cSimp#options 	RF_INCLUDE_CHAINDECLUSTER=1
2501d37d03cSimp#options 	RF_INCLUDE_INTERDECLUSTER=1
2511d37d03cSimp#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
2521d37d03cSimp#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
253835e533bSpooka#pseudo-device	fss			# file system snapshot device
254afdfce8eShannkenpseudo-device	md			# memory disk device (ramdisk)
2556ff13154Scubepseudo-device	vnd			# disk-like interface to files
25670d4493cSpookapseudo-device	putter			# for puffs and pud
2571d37d03cSimp
2581d37d03cSimp# network pseudo-devices
259df539000Srpaulopseudo-device	bpfilter		# Berkeley packet filter
260f71d13bdSmaxv#pseudo-device	npf			# NPF packet filter
261dc14ae83Schristospseudo-device	loop			# network loopback
2626ff13154Scube#pseudo-device	ppp			# Point-to-Point Protocol
2631d37d03cSimp#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2646ff13154Scube#pseudo-device	sl			# Serial Line IP
2656ff13154Scubepseudo-device	tun			# network tunneling over tty
266ec53a61eScube#pseudo-device	tap			# virtual Ethernet
2676ff13154Scube#pseudo-device	gre			# generic L3 over IP tunnel
2686ff13154Scube#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
2696ff13154Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
2706ff13154Scube#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
2711d37d03cSimp#pseudo-device	vlan			# IEEE 802.1q encapsulation
2721d37d03cSimp#pseudo-device	bridge			# simple inter-network bridging
27398f3a8d4Sroy#pseudo-device	vether			# Virtual Ethernet for bridge
2741d37d03cSimp
2751d37d03cSimp# miscellaneous pseudo-devices
2761d37d03cSimppseudo-device	pty			# pseudo-terminals
2779434c99eSchristos#pseudo-device	sequencer		# MIDI sequencer
2781d37d03cSimp# rnd works; RND_COM does not on port arc yet.
2791d37d03cSimp#options 	RND_COM			# use "com" randomness as well (BROKEN)
2801d37d03cSimppseudo-device	clockctl		# user control of clock subsystem
2811d37d03cSimp
2821d37d03cSimp# a pseudo device needed for Coda	# also needs CODA (above)
2831cc8b68dSchristos#pseudo-device	vcoda			# coda minicache <-> venus comm.
2841d37d03cSimp
2851d37d03cSimp# mouse & keyboard multiplexor pseudo-devices
2861d37d03cSimppseudo-device	wsmux
287