RPC44 revision 1.4
11.4Stsutsui# $NetBSD: RPC44,v 1.4 2003/09/27 10:07:57 tsutsui Exp $
21.1Simp#
31.1Simp# GENERIC machine description file
41.1Simp# 
51.1Simp# This machine description file is used to generate the default NetBSD
61.1Simp# kernel.  The generic kernel does not include all options, subsystems
71.1Simp# and device drivers, but should be useful for most applications.
81.1Simp#
91.1Simp# The machine description file can be customised for your specific
101.1Simp# machine to reduce the kernel size and improve its performance.
111.1Simp#
121.1Simp# For further information on compiling NetBSD kernels, see the config(8)
131.1Simp# man page.
141.1Simp#
151.1Simp# For further information on hardware support for this architecture, see
161.1Simp# the intro(4) man page.  For further information about kernel options
171.1Simp# for this architecture, see the options(4) man page.  For an explanation
181.1Simp# of each device driver in this file see the section 4 man page for the
191.1Simp# device.
201.1Simp
211.1Simpinclude		"arch/arc/conf/std.arc"
221.1Simp
231.1Simpoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
241.1Simp
251.4Stsutsui#ident		"GENERIC-$Revision: 1.4 $"
261.1Simp
271.1Simpmaxusers	32		# estimated number of users
281.1Simp
291.1Simp# Platform support
301.2Stsutsuioptions 	PLATFORM_DESKTECH_ARCSTATION_I	# DeskStation rPC44
311.1Simp
321.1Simp# Standard system options
331.1Simp
341.1Simpoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
351.1Simpoptions 	NTP		# NTP phase/frequency locked loop
361.1Simp
371.1Simpoptions 	KTRACE		# system call tracing via ktrace(1)
381.1Simpoptions 	SYSTRACE	# system call vetting via systrace(1)
391.1Simp
401.1Simpoptions 	SYSVMSG		# System V-like message queues
411.1Simpoptions 	SYSVSEM		# System V-like semaphores
421.1Simp#options 	SEMMNI=10	# number of semaphore identifiers
431.1Simp#options 	SEMMNS=60	# number of semaphores in system
441.1Simp#options 	SEMUME=10	# max number of undo entries per process
451.1Simp#options 	SEMMNU=30	# number of undo structures in system
461.1Simpoptions 	SYSVSHM		# System V-like memory sharing
471.1Simp#options 	SHMMAXPGS=1024	# 1024 pages is the default
481.1Simp
491.1Simpoptions 	LKM		# loadable kernel modules
501.1Simp
511.1Simpoptions 	USERCONF	# userconf(4) support
521.1Simp#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
531.1Simp
541.1Simp# Enable experimental buffer queue strategy for better responsiveness under 
551.1Simp# high disk I/O load. Use it with caution - it's not proven to be stable yet.
561.1Simp#options 	NEW_BUFQ_STRATEGY
571.1Simp
581.1Simp# Diagnostic/debugging support options
591.1Simpoptions 	DIAGNOSTIC		# cheap kernel consistency checks
601.1Simp#options 	DEBUG			# expensive debugging checks/support
611.1Simp#options 	KMEMSTATS		# kernel memory statistics (vmstat -m)
621.1Simpoptions 	DDB			# in-kernel debugger
631.1Simp#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
641.1Simp#options 	KGDB			# remote gdb
651.1Simp#options 	KGDB_DEVRATE=19200	# kernel gdb port rate (default 9600)
661.1Simp#options 	KGDB_DEV="17*256+0"	# device for kernel gdb
671.1Simp#makeoptions	DEBUG="-g"		# compile full symbol table
681.1Simp
691.1Simp# Compatibility options
701.1Simp#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
711.1Simpoptions 	COMPAT_10	# NetBSD 1.0,
721.1Simpoptions 	COMPAT_11	# NetBSD 1.1,
731.1Simpoptions 	COMPAT_12	# NetBSD 1.2,
741.1Simpoptions 	COMPAT_13	# NetBSD 1.3,
751.1Simpoptions 	COMPAT_14	# NetBSD 1.4,
761.4Stsutsuioptions 	COMPAT_16	# NetBSD 1.6,
771.1Simpoptions 	COMPAT_43	# and 4.3BSD
781.1Simpoptions 	COMPAT_386BSD_MBRPART # recognize old partition ID
791.1Simp
801.1Simp# mipsel specific
811.1Simpoptions 	COMPAT_ULTRIX	# Ultrix binary compatibility
821.1Simpoptions 	EXEC_ECOFF	# Ultrix RISC binaries are ECOFF format
831.1Simp
841.1Simp# File systems
851.1Simpfile-system 	FFS		# fast filesystem
861.1Simp#file-system 	EXT2FS		# second extended file system (linux)
871.1Simp#file-system 	LFS		# log-structured file system
881.1Simp#file-system 	MFS		# memory file system
891.1Simp#file-system 	NTFS		# Windows/NT file system (experimental)
901.1Simpfile-system 	CD9660		# ISO 9660 + Rock Ridge file system
911.1Simpfile-system 	MSDOSFS		# MS-DOS file system
921.1Simpfile-system 	NFS		# Network File System client
931.1Simpfile-system 	FDESC		# /dev/fd
941.1Simpfile-system 	KERNFS		# /kern
951.1Simpfile-system 	NULLFS		# loopback file system
961.1Simpfile-system 	OVERLAY		# overlay file system
971.1Simpfile-system 	PORTAL		# portal filesystem (still experimental)
981.1Simpfile-system 	PROCFS		# /proc
991.1Simpfile-system 	UMAPFS		# NULLFS + uid and gid remapping
1001.1Simpfile-system 	UNION		# union file system
1011.1Simp#file-system	CODA		# Coda File System; also needs vcoda (below)
1021.1Simp
1031.1Simp# File system options
1041.1Simpoptions 	QUOTA		# FFS quotas
1051.1Simp#options 	FFS_EI		# FFS Endian Independent support
1061.1Simpoptions 	SOFTDEP		# FFS soft updates support.
1071.1Simpoptions 	NFSSERVER	# Network File System server
1081.1Simp#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1091.1Simp				# immutable) behave as system flags.
1101.1Simp
1111.1Simp# Networking options
1121.1Simp#options 	GATEWAY		# IP packet forwarding
1131.1Simpoptions 	INET		# IP + ICMP + TCP + UDP
1141.1Simp#options 	INET6		# IPV6
1151.1Simp#options 	IPSEC		# IP security
1161.1Simp#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
1171.1Simp#options 	IPSEC_DEBUG	# debug for IP security
1181.1Simp#options 	MROUTING	# IP multicast routing
1191.1Simp#options 	NS		# XNS
1201.1Simp#options 	NSIP		# XNS tunneling over IP
1211.1Simp#options 	ISO,TPIP	# OSI networking
1221.1Simp#options 	EON		# OSI tunneling over IP
1231.1Simp#options 	CCITT,LLC,HDLC	# X.25
1241.1Simp#options 	NETATALK	# AppleTalk networking protocols
1251.1Simp#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1261.1Simp#options 	PPP_DEFLATE	# Deflate compression support for PPP
1271.1Simp#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1281.1Simp#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
1291.1Simp#options 	IPFILTER_LOG	# ipmon(8) log support
1301.1Simp##options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
1311.1Simp#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1321.1Simp
1331.1Simp# These options enable verbose messages for several subsystems.
1341.1Simp# Warning, these may compile large string tables into the kernel!
1351.1Simpoptions 	EISAVERBOSE	# verbose EISA device autoconfig messages
1361.1Simp#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
1371.1Simp#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1381.1Simpoptions 	SCSIVERBOSE	# human readable SCSI error messages
1391.1Simp
1401.1Simp# wscons terminal emulation
1411.1Simpoptions 	WSEMUL_VT100	# VT100 emulation
1421.1Simp
1431.1Simp# Kernel root file system and dump configuration.
1441.1Simpoptions 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
1451.1Simpconfig		netbsd	root on ? type ?
1461.1Simp#config		netbsd	root on sd0a type ffs
1471.1Simp#config		netbsd	root on ? type nfs
1481.1Simp
1491.1Simp#
1501.1Simp# Device configuration
1511.1Simp#
1521.1Simp
1531.1Simpmainbus0	at root
1541.1Simpcpu*		at mainbus0
1551.1Simp
1561.1Simp# PLATFORM_DESKTECH_ARCSTATION_I
1571.2Stsutsuiarcsisabr*	at mainbus0	# DeskStation rPC44 ISA host bridge.
1581.1Simpisa*		at arcsisabr?
1591.1Simp#isadma0 	at isa? 			# bogus?
1601.1Simptimer0		at isa? port 0x40 irq 0
1611.1Simpmcclock0 	at isa? port 0x70
1621.1Simppc0		at isa? irq 1			# generic PC console device
1631.1Simpopms0		at isa? irq 12			# PS/2 auxiliary port mouse
1641.1Simpvga0		at isa?
1651.1Simppckbc0		at isa?				# PC keyboard controller
1661.1Simpcom0		at isa? port 0x3f8 irq 4
1671.1Simpcom1		at isa? port 0x2f8 irq 3
1681.1Simpcom2		at isa? port 0x3e8 irq 4
1691.1Simpcom3		at isa? port 0x2e8 irq 3
1701.1Simp#bha0		at isa? port 0x330 irq ? drq ?  # BusLogic [457]4X SCSI
1711.1Simp#ast0		at isa? port 0x1a0 irq 3	# AST 4-port serial cards
1721.1Simp#com*		at ast? slave ?
1731.1Simp
1741.1Simp# Joystick driver. Probe is a little strange; add only if you have one.
1751.1Simp#joy0		at isa? port 0x201
1761.1Simp
1771.1Simp# ISA ST506, ESDI, and IDE controllers
1781.1Simp# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
1791.1Simp# fall back to 16bits I/O if 32bits I/O are not functional).
1801.1Simp# Some controllers pass the initial 32bit test, but will fail later.
1811.1Simp# XXX - should be configured
1821.1Simpwdc0		at isa? port 0x1f0 irq 14 flags 0x00
1831.1Simp#wdc1		at isa? port 0x170 irq 15 flags 0x00
1841.1Simp#wdc*		at isapnp?
1851.1Simp
1861.1Simp# IDE drives
1871.1Simp# Flags are used only with controllers that support DMA operations
1881.1Simp# and mode settings (e.g. some pciide controllers)
1891.1Simp# The lowest order four bits (rightmost digit) of the flags define the PIO
1901.1Simp# mode to use, the next set of four bits the DMA mode and the third set the
1911.1Simp# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
1921.1Simp# to use, and the last bit must be 1 for this setting to be used.
1931.1Simp# For DMA and UDMA, 0xf (1111) means 'disable'.
1941.1Simp# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
1951.1Simp# (0xc=1100, 0xa=1010, 0xf=1111)
1961.1Simp# 0x0000 means "use whatever the drive claims to support".
1971.1Simp# XXX - should be configured
1981.1Simpwd*		at wdc? channel ? drive ? flags 0x0000
1991.1Simp
2001.1Simp# ATAPI bus support
2011.1Simp# XXX - should be configured
2021.1Simp#atapibus*	at wdc? channel ?
2031.1Simp
2041.1Simp# ISA parallel printer interfaces
2051.1Simplpt0		at isa? port 0x378 irq 7
2061.1Simp
2071.1Simp# ISA network interfaces
2081.1Simp# XXX - should be configured
2091.1Simp#ec0		at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
2101.1Simpep0		at isa? port ? irq ?		# 3C509 ethernet cards
2111.1Simpne0		at isa? port 0x280 irq 9	# NE[12]000 ethernet cards
2121.1Simp#ne1		at isa? port 0x300 irq 10
2131.1Simp#ne*		at isapnp?			# NE[12]000 PnP ethernet
2141.1Simpwe0		at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC Ethernet
2151.1Simp#we1		at isa? port 0x300 iomem 0xcc000 irq 10
2161.1Simp
2171.1Simp# XXX - should be configured
2181.1Simp#btl0		at isa? port 0x330 irq ? drq ?
2191.1Simp#scsibus*	at btl?
2201.1Simp
2211.1Simp#### SCSI bus devices
2221.1Simp
2231.1Simp#sd*		at scsibus? target ? lun ?
2241.1Simp#st*		at scsibus? target ? lun ?
2251.1Simp#cd*		at scsibus? target ? lun ?
2261.1Simp#ch*		at scsibus? target ? lun ?
2271.1Simp#ss*		at scsibus? target ? lun ?
2281.1Simp#uk*		at scsibus? target ? lun ?
2291.1Simp
2301.1Simp#### ATAPI bus devices
2311.1Simp
2321.1Simp# flags have the same meaning as for IDE drives.
2331.1Simp#cd*		at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
2341.1Simp#sd*		at atapibus? drive ? flags 0x0000	# ATAPI disk drives
2351.1Simp#uk*		at atapibus? drive ? flags 0x0000	# ATAPI unknown
2361.1Simp
2371.1Simp#### Workstation Console attachments
2381.1Simp
2391.1Simpwsdisplay*	at vga?
2401.1Simp#wsdisplay*	at tga?
2411.1Simppckbd*		at pckbc?	# PC keyboard (kbd port)
2421.1Simpwskbd*		at pckbd?
2431.1Simppms*		at pckbc?	# PS/2-style mouse (aux port)
2441.1Simpwsmouse*	at pms?
2451.1Simp
2461.1Simp#### Pseudo devices
2471.1Simp
2481.1Simp# disk/mass storage pseudo-devices
2491.1Simp#pseudo-device	ccd		4	# concatenated/striped disk devices
2501.1Simp#pseudo-device	cgd		4	# cryptographic disk devices
2511.1Simp#pseudo-device	raid		8	# RAIDframe disk driver
2521.1Simp# Options to enable various other RAIDframe RAID types.
2531.1Simp# options	RF_INCLUDE_EVENODD=1
2541.1Simp# options	RF_INCLUDE_RAID5_RS=1
2551.1Simp# options	RF_INCLUDE_PARITYLOGGING=1
2561.1Simp# options	RF_INCLUDE_CHAINDECLUSTER=1
2571.1Simp# options	RF_INCLUDE_INTERDECLUSTER=1
2581.1Simp# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
2591.1Simp# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
2601.1Simppseudo-device	md		1	# memory disk device (ramdisk)
2611.1Simppseudo-device	vnd		4	# disk-like interface to files
2621.1Simp
2631.1Simp# network pseudo-devices
2641.1Simppseudo-device	bpfilter	8	# Berkeley packet filter
2651.1Simp#pseudo-device	ipfilter		# IP filter (firewall) and NAT
2661.1Simppseudo-device	loop		1	# network loopback
2671.1Simp#pseudo-device	ppp		2	# Point-to-Point Protocol
2681.1Simp#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2691.1Simp#pseudo-device	sl		2	# Serial Line IP
2701.1Simp#pseudo-device	strip		2	# Starmode Radio IP (Metricom)
2711.1Simppseudo-device	tun		2	# network tunneling over tty
2721.1Simp#pseudo-device	gre		2	# generic L3 over IP tunnel
2731.1Simp#pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
2741.1Simp#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
2751.1Simp#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
2761.1Simp#pseudo-device	vlan			# IEEE 802.1q encapsulation
2771.1Simp#pseudo-device	bridge			# simple inter-network bridging
2781.1Simp
2791.1Simp# miscellaneous pseudo-devices
2801.1Simppseudo-device	pty			# pseudo-terminals
2811.1Simp#pseudo-device	tb		1	# tablet line discipline
2821.1Simp#pseudo-device	sequencer	1	# MIDI sequencer
2831.1Simp# rnd works; RND_COM does not on port arc yet.
2841.1Simppseudo-device	rnd			# /dev/random and in-kernel generator
2851.1Simp#options 	RND_COM			# use "com" randomness as well (BROKEN)
2861.1Simppseudo-device	clockctl		# user control of clock subsystem
2871.1Simp
2881.1Simp# a pseudo device needed for Coda	# also needs CODA (above)
2891.1Simp#pseudo-device	vcoda		4	# coda minicache <-> venus comm.
2901.1Simp
2911.1Simp# mouse & keyboard multiplexor pseudo-devices
2921.1Simppseudo-device	wsmux
293