GENERIC revision 1.23
11.23Ssoda#	$NetBSD: GENERIC,v 1.23 2000/01/23 21:01:52 soda Exp $
21.23Ssoda#	$OpenBSD: GENERIC,v 1.17 1997/05/18 13:45:23 pefo Exp $
31.1Sjonathan#
41.23Ssoda#	Generic configuration file for MIPS R4x00 ARC Systems
51.1Sjonathan#
61.1Sjonathan
71.23Ssodainclude		"arch/arc/conf/std.arc"
81.1Sjonathan
91.23Ssodamaxusers	32
101.1Sjonathan
111.6Sthorpej# Need to set locally
121.23Ssodaoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
131.1Sjonathan
141.1Sjonathan# Standard system options
151.23Ssodaoptions 	KTRACE		# system call tracing support
161.23Ssoda#options 	LKM		# Loadable Kernel Modules
171.23Ssoda#options 	NTP		# NTP phase/frequency locked loop
181.23Ssoda
191.23Ssoda# Diagnostic/debugging support options
201.23Ssodaoptions 	DIAGNOSTIC	# extra kernel debugging checks
211.23Ssodaoptions 	DEBUG		# extra kernel debugging support
221.1Sjonathan
231.1Sjonathan# System V options
241.10Slukemoptions 	SYSVMSG		# System V-like message queues
251.10Slukemoptions 	SYSVSEM		# System V-like semaphores
261.10Slukemoptions 	SYSVSHM		# System V-like memory sharing
271.10Slukemoptions 	SHMMAXPGS=1024	# 1024 pages is the default
281.1Sjonathan
291.1Sjonathan# Filesystem options
301.6Sthorpejfile-system 	FFS		# fast filesystem
311.6Sthorpejfile-system 	MFS		# memory-based filesystem
321.23Ssoda#file-system	LFS		# Log-based filesystem (still experimental)
331.23Ssodafile-system 	CD9660		# ISO 9660 + Rock Ridge file system
341.23Ssodafile-system 	MSDOSFS		# Ability to read write MS-Dos filsystem
351.6Sthorpejfile-system 	NFS		# Sun NFS-compatible filesystem (client)
361.6Sthorpejfile-system 	KERNFS		# kernel data-structure filesystem
371.23Ssodafile-system	PROCFS		# /proc
381.6Sthorpejfile-system 	FDESC		# user file descriptor filesystem
391.6Sthorpej#file-system	UMAPFS		# uid/gid remapping filesystem
401.23Ssoda#file-system	UNION		# union file system
411.6Sthorpej#file-system	NULLFS		# null layer filesystem
421.21Swrstuden#file-system 	OVERLAY		# overlay file system
431.6Sthorpej#file-system	PORTAL		# portal filesystem (still experimental)
441.6Sthorpej
451.10Slukemoptions 	QUOTA		# FFS quotas
461.14Sbouyer#options 	FFS_EI		# FFS Endian Independant support
471.19Sfvdl#options 	SOFTDEP         # FFS soft updates support.
481.10Slukemoptions 	NFSSERVER	# Sun NFS-compatible filesystem (server)
491.7Smjacob
501.8Smjacob#options 	SCSIVERBOSE	# Verbose SCSI errors
511.1Sjonathan
521.20Sitojun# Pull in config fragments for kernel crypto.  This is required for
531.20Sitojun# options IPSEC etc. to work. If you want to run with IPSEC, uncomment
541.20Sitojun# one of these, based on whether you use crypto-us or crypto-intl, and
551.20Sitojun# adjust the prefixes as necessary.
561.20Sitojun
571.20Sitojun#prefix ../crypto-us/sys
581.20Sitojun#cinclude "conf/files.crypto-us"
591.20Sitojun#prefix
601.20Sitojun
611.20Sitojun#prefix ../crypto-intl/sys
621.20Sitojun#cinclude "conf/files.crypto-intl"
631.20Sitojun#prefix
641.20Sitojun
651.1Sjonathan# Networking options
661.23Ssoda#options 	GATEWAY		# IP packet forwarding
671.10Slukemoptions 	INET		# Internet protocols
681.23Ssoda#options 	INET6		# IPV6
691.20Sitojun#options 	IPSEC		# IP security
701.20Sitojun#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
711.20Sitojun#options 	IPSEC_DEBUG	# debug for IP security
721.23Ssoda#options 	TCP_COMPAT_42	# compatibility with 4.2BSD TCP/IP
731.10Slukem#options 	MULTICAST	# Multicast support
741.10Slukem#options 	MROUTING	# Multicast routing support
751.23Ssoda#options 	NS		# XNS
761.23Ssoda#options 	IPX		# IPX+SPX
771.23Ssoda#options 	ISO,TPIP	# OSI networking
781.23Ssoda#options 	EON		# OSI tunneling over IP
791.23Ssoda#options 	CCITT,LLC,HDLC	# X.25
801.23Ssoda#options 	PFIL_HOOKS	# pfil(9) packet filter hooks.
811.23Ssoda
821.23Ssoda# Compatibilitry modules
831.23Ssodaoptions 	COMPAT_43	# compatibility with 4.3BSD binaries
841.23Ssodaoptions 	COMPAT_11
851.23Ssodaoptions 	COMPAT_12
861.23Ssodaoptions 	COMPAT_13
871.23Ssodaoptions 	COMPAT_14
881.23Ssoda#options 	COMPAT_ULTRIX	# Ultrix binary compatibility (no go yet)
891.23Ssodaoptions 	COMPAT_386BSD_MBRPART # recognize old partition ID
901.23Ssoda
911.23Ssodaoptions 	"NKMEMCLUSTERS=1024"	# 4K pages in kernel malloc pool
921.23Ssoda#options 	KGDB			# support for kernel gdb
931.23Ssoda#options 	"KGDBRATE=19200"	# kernel gdb port rate (default 9600)
941.23Ssoda#options 	"KGDBDEV=15*256+0"	# device for kernel gdb
951.23Ssoda
961.23Ssoda# Special options
971.23Ssodaoptions 	MACHINE_NONCONTIG # Support noncontigous memory.
981.23Ssoda
991.23Ssodaoptions 	NFS_BOOT_BOOTP,NFS_BOOT_BOOTPARAM
1001.1Sjonathan
1011.6Sthorpejconfig		netbsd root on ? type ?
1021.1Sjonathan
1031.23Ssoda#
1041.23Ssoda# Definition of system
1051.23Ssoda#
1061.1Sjonathanmainbus0	at root
1071.1Sjonathancpu*		at mainbus0
1081.1Sjonathan
1091.23Ssoda#### Main local buses
1101.23Ssoda
1111.23Ssodapica*		at mainbus0	# ACER Pica systems local bus.
1121.23Ssodaisabr*		at mainbus0	# ISA Bus bridge (std ISA bus).
1131.23Ssoda
1141.23Ssoda#### PICA bus devices
1151.23Ssoda
1161.23Ssodaaclock0		at pica?
1171.1Sjonathanpc0		at pica?
1181.23Ssodaopms0		at pica?
1191.23Ssodacom0		at pica?
1201.23Ssodacom1		at pica?
1211.1Sjonathanlpt0		at pica?
1221.1Sjonathansn0		at pica?
1231.1Sjonathan
1241.1Sjonathanfdc0		at pica?
1251.1Sjonathanfd*		at fdc? drive ?
1261.1Sjonathan
1271.1Sjonathanasc0		at pica?
1281.1Sjonathanscsibus* 	at asc?
1291.1Sjonathan
1301.23Ssoda#### ISA Bus.
1311.23Ssoda
1321.23Ssodaisa*		at isabr?
1331.23Ssoda
1341.23Ssodaaclock0		at isa? port 0x70 irq 0
1351.23Ssoda
1361.23Ssodapc0    		at isa? port 0x60 irq 1         # generic PC console device
1371.23Ssodacom0		at isa? port 0x3f8 irq 4
1381.23Ssodacom1		at isa? port 0x2f8 irq 3
1391.23Ssodacom2		at isa? port 0x3e8 irq 4
1401.23Ssodacom3		at isa? port 0x2e8 irq 3
1411.23Ssoda
1421.23Ssoda# ISA ST506, ESDI, and IDE controllers
1431.23Ssoda# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
1441.23Ssoda# fall back to 16bits I/O if 32bits I/O are not functional).
1451.23Ssoda# Some controllers pass the initial 32bit test, but will fail later.
1461.23Ssoda# XXX - should be configured
1471.23Ssoda#wdc0	at isa? port 0x1f0 irq 14 flags 0x00
1481.23Ssoda##wdc1	at isa? port 0x170 irq 15 flags 0x00
1491.23Ssoda
1501.23Ssoda# IDE drives
1511.23Ssoda# Flags are used only with controllers that support DMA operations
1521.23Ssoda# and mode settings (e.g. some pciide controllers)
1531.23Ssoda# The lowest order four bits (rightmost digit) of the flags define the PIO
1541.23Ssoda# mode to use, the next set of four bits the DMA mode and the third set the
1551.23Ssoda# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
1561.23Ssoda# to use, and the last bit must be 1 for this setting to be used.
1571.23Ssoda# For DMA and UDMA, 0xf (1111) means 'disable'.
1581.23Ssoda# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
1591.23Ssoda# (0xc=1100, 0xa=1010, 0xf=1111)
1601.23Ssoda# 0x0000 means "use whatever the drive claims to support".
1611.23Ssoda# XXX - should be configured
1621.23Ssoda#wd*	at wdc? channel ? drive ? flags 0x0000
1631.23Ssoda
1641.23Ssoda# ATAPI bus support
1651.23Ssoda# XXX - should be configured
1661.23Ssoda#atapibus* at wdc? channel ?
1671.23Ssoda
1681.23Ssoda# ATAPI devices
1691.23Ssoda# flags have the same meaning as for IDE drives.
1701.23Ssoda# XXX - should be configured
1711.23Ssoda#cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
1721.23Ssoda#sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
1731.23Ssoda#uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
1741.23Ssoda
1751.23Ssoda
1761.23Ssoda# Parallel Printer Interfaces
1771.23Ssoda
1781.23Ssodalpt0		at isa? port 0x378 irq 7
1791.23Ssoda
1801.23Ssoda
1811.23Ssoda# Network Interfaces
1821.23Ssoda
1831.23Ssoda# XXX - should fix conflict with files.isa
1841.23Ssoda#ec0	at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
1851.23Ssoda# XXX - should fix conflict with files.isa
1861.23Ssoda#ep0		at isa? port ? irq ?           # 3C509 ethernet cards
1871.23Ssoda# XXX - should fix conflict with files.isa
1881.23Ssoda#ne0	at isa? port 0x280 irq 9		# NE[12]000 ethernet cards
1891.23Ssoda#ne1	at isa? port 0x300 irq 10
1901.23Ssoda#we0	at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC Ethernet
1911.23Ssoda#we1	at isa? port 0x300 iomem 0xcc000 irq 10
1921.23Ssoda
1931.23Ssoda# XXX - should be configured
1941.23Ssoda#btl0		at isa? port 0x330 irq ? drq ?
1951.23Ssoda#scsibus* 	at btl?
1961.23Ssoda
1971.23Ssoda#### SCSI Bus devices
1981.23Ssoda
1991.1Sjonathansd*		at scsibus? target ? lun ?
2001.1Sjonathanst*		at scsibus? target ? lun ?
2011.1Sjonathancd*		at scsibus? target ? lun ?
2021.23Ssodach*		at scsibus? target ? lun ?
2031.23Ssodass*		at scsibus? target ? lun ?
2041.23Ssodauk*		at scsibus? target ? lun ?
2051.23Ssoda
2061.23Ssoda#### PSEUDO Devices
2071.1Sjonathan
2081.23Ssodapseudo-device	loop		 1	# network loopback
2091.23Ssodapseudo-device	bpfilter	 8	# packet filter ports
2101.23Ssoda#pseudo-device	gre		2	# generic L3 over IP tunnel
2111.1Sjonathanpseudo-device	sl		 2	# serial-line IP ports
2121.1Sjonathanpseudo-device	ppp		 2	# serial-line PPP ports
2131.23Ssodapseudo-device	tun		 2	# network tunneling over tty
2141.20Sitojunpseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
2151.20Sitojun#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
2161.23Ssodapseudo-device	ipfilter		# ip filter
2171.23Ssoda
2181.23Ssodapseudo-device	pty		64	# pseudo ptys
2191.23Ssodapseudo-device	tb		 1	# tablet line discipline
2201.23Ssodapseudo-device	vnd		 4	# paging to files
2211.23Ssodapseudo-device	ccd		 4	# concatenated disk devices
2221.16Soster#pseudo-device 	raid		4	# RAIDframe disk driver
2231.23Ssoda#pseudo-device	md		 1	# memory disk devices
2241.11Sfair# rnd is EXPERIMENTAL
2251.11Sfair#pseudo-device	rnd			# /dev/random and in-kernel generator
226