GENERIC revision 1.24
11.24Ssoda#	$NetBSD: GENERIC,v 1.24 2000/01/24 08:04:11 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.24Ssoda
91.24Ssoda#ident		"GENERIC-$Revision: 1.24 $"
101.1Sjonathan
111.23Ssodamaxusers	32
121.1Sjonathan
131.6Sthorpej# Need to set locally
141.23Ssodaoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
151.1Sjonathan
161.1Sjonathan# Standard system options
171.23Ssodaoptions 	KTRACE		# system call tracing support
181.23Ssoda#options 	LKM		# Loadable Kernel Modules
191.23Ssoda#options 	NTP		# NTP phase/frequency locked loop
201.23Ssoda
211.23Ssoda# Diagnostic/debugging support options
221.23Ssodaoptions 	DIAGNOSTIC	# extra kernel debugging checks
231.23Ssodaoptions 	DEBUG		# extra kernel debugging support
241.1Sjonathan
251.1Sjonathan# System V options
261.10Slukemoptions 	SYSVMSG		# System V-like message queues
271.10Slukemoptions 	SYSVSEM		# System V-like semaphores
281.10Slukemoptions 	SYSVSHM		# System V-like memory sharing
291.10Slukemoptions 	SHMMAXPGS=1024	# 1024 pages is the default
301.1Sjonathan
311.1Sjonathan# Filesystem options
321.6Sthorpejfile-system 	FFS		# fast filesystem
331.6Sthorpejfile-system 	MFS		# memory-based filesystem
341.23Ssoda#file-system	LFS		# Log-based filesystem (still experimental)
351.23Ssodafile-system 	CD9660		# ISO 9660 + Rock Ridge file system
361.23Ssodafile-system 	MSDOSFS		# Ability to read write MS-Dos filsystem
371.6Sthorpejfile-system 	NFS		# Sun NFS-compatible filesystem (client)
381.6Sthorpejfile-system 	KERNFS		# kernel data-structure filesystem
391.23Ssodafile-system	PROCFS		# /proc
401.6Sthorpejfile-system 	FDESC		# user file descriptor filesystem
411.6Sthorpej#file-system	UMAPFS		# uid/gid remapping filesystem
421.23Ssoda#file-system	UNION		# union file system
431.6Sthorpej#file-system	NULLFS		# null layer filesystem
441.21Swrstuden#file-system 	OVERLAY		# overlay file system
451.6Sthorpej#file-system	PORTAL		# portal filesystem (still experimental)
461.6Sthorpej
471.10Slukemoptions 	QUOTA		# FFS quotas
481.14Sbouyer#options 	FFS_EI		# FFS Endian Independant support
491.19Sfvdl#options 	SOFTDEP         # FFS soft updates support.
501.10Slukemoptions 	NFSSERVER	# Sun NFS-compatible filesystem (server)
511.7Smjacob
521.8Smjacob#options 	SCSIVERBOSE	# Verbose SCSI errors
531.1Sjonathan
541.20Sitojun# Pull in config fragments for kernel crypto.  This is required for
551.20Sitojun# options IPSEC etc. to work. If you want to run with IPSEC, uncomment
561.20Sitojun# one of these, based on whether you use crypto-us or crypto-intl, and
571.20Sitojun# adjust the prefixes as necessary.
581.20Sitojun
591.20Sitojun#prefix ../crypto-us/sys
601.20Sitojun#cinclude "conf/files.crypto-us"
611.20Sitojun#prefix
621.20Sitojun
631.20Sitojun#prefix ../crypto-intl/sys
641.20Sitojun#cinclude "conf/files.crypto-intl"
651.20Sitojun#prefix
661.20Sitojun
671.1Sjonathan# Networking options
681.23Ssoda#options 	GATEWAY		# IP packet forwarding
691.10Slukemoptions 	INET		# Internet protocols
701.23Ssoda#options 	INET6		# IPV6
711.20Sitojun#options 	IPSEC		# IP security
721.20Sitojun#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
731.20Sitojun#options 	IPSEC_DEBUG	# debug for IP security
741.23Ssoda#options 	TCP_COMPAT_42	# compatibility with 4.2BSD TCP/IP
751.10Slukem#options 	MULTICAST	# Multicast support
761.10Slukem#options 	MROUTING	# Multicast routing support
771.23Ssoda#options 	NS		# XNS
781.23Ssoda#options 	IPX		# IPX+SPX
791.23Ssoda#options 	ISO,TPIP	# OSI networking
801.23Ssoda#options 	EON		# OSI tunneling over IP
811.23Ssoda#options 	CCITT,LLC,HDLC	# X.25
821.23Ssoda#options 	PFIL_HOOKS	# pfil(9) packet filter hooks.
831.23Ssoda
841.23Ssoda# Compatibilitry modules
851.23Ssodaoptions 	COMPAT_43	# compatibility with 4.3BSD binaries
861.23Ssodaoptions 	COMPAT_11
871.23Ssodaoptions 	COMPAT_12
881.23Ssodaoptions 	COMPAT_13
891.23Ssodaoptions 	COMPAT_14
901.23Ssoda#options 	COMPAT_ULTRIX	# Ultrix binary compatibility (no go yet)
911.23Ssodaoptions 	COMPAT_386BSD_MBRPART # recognize old partition ID
921.23Ssoda
931.23Ssodaoptions 	"NKMEMCLUSTERS=1024"	# 4K pages in kernel malloc pool
941.23Ssoda#options 	KGDB			# support for kernel gdb
951.23Ssoda#options 	"KGDBRATE=19200"	# kernel gdb port rate (default 9600)
961.23Ssoda#options 	"KGDBDEV=15*256+0"	# device for kernel gdb
971.23Ssoda
981.23Ssoda# Special options
991.23Ssodaoptions 	MACHINE_NONCONTIG # Support noncontigous memory.
1001.23Ssoda
1011.23Ssodaoptions 	NFS_BOOT_BOOTP,NFS_BOOT_BOOTPARAM
1021.1Sjonathan
1031.6Sthorpejconfig		netbsd root on ? type ?
1041.1Sjonathan
1051.23Ssoda#
1061.23Ssoda# Definition of system
1071.23Ssoda#
1081.1Sjonathanmainbus0	at root
1091.1Sjonathancpu*		at mainbus0
1101.1Sjonathan
1111.23Ssoda#### Main local buses
1121.23Ssoda
1131.23Ssodapica*		at mainbus0	# ACER Pica systems local bus.
1141.23Ssodaisabr*		at mainbus0	# ISA Bus bridge (std ISA bus).
1151.23Ssoda
1161.23Ssoda#### PICA bus devices
1171.23Ssoda
1181.23Ssodaaclock0		at pica?
1191.1Sjonathanpc0		at pica?
1201.23Ssodaopms0		at pica?
1211.23Ssodacom0		at pica?
1221.23Ssodacom1		at pica?
1231.1Sjonathanlpt0		at pica?
1241.1Sjonathansn0		at pica?
1251.1Sjonathan
1261.1Sjonathanfdc0		at pica?
1271.1Sjonathanfd*		at fdc? drive ?
1281.1Sjonathan
1291.1Sjonathanasc0		at pica?
1301.1Sjonathanscsibus* 	at asc?
1311.1Sjonathan
1321.23Ssoda#### ISA Bus.
1331.23Ssoda
1341.23Ssodaisa*		at isabr?
1351.23Ssoda
1361.23Ssodaaclock0		at isa? port 0x70 irq 0
1371.23Ssoda
1381.23Ssodapc0    		at isa? port 0x60 irq 1         # generic PC console device
1391.23Ssodacom0		at isa? port 0x3f8 irq 4
1401.23Ssodacom1		at isa? port 0x2f8 irq 3
1411.23Ssodacom2		at isa? port 0x3e8 irq 4
1421.23Ssodacom3		at isa? port 0x2e8 irq 3
1431.23Ssoda
1441.23Ssoda# ISA ST506, ESDI, and IDE controllers
1451.23Ssoda# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
1461.23Ssoda# fall back to 16bits I/O if 32bits I/O are not functional).
1471.23Ssoda# Some controllers pass the initial 32bit test, but will fail later.
1481.23Ssoda# XXX - should be configured
1491.23Ssoda#wdc0	at isa? port 0x1f0 irq 14 flags 0x00
1501.23Ssoda##wdc1	at isa? port 0x170 irq 15 flags 0x00
1511.23Ssoda
1521.23Ssoda# IDE drives
1531.23Ssoda# Flags are used only with controllers that support DMA operations
1541.23Ssoda# and mode settings (e.g. some pciide controllers)
1551.23Ssoda# The lowest order four bits (rightmost digit) of the flags define the PIO
1561.23Ssoda# mode to use, the next set of four bits the DMA mode and the third set the
1571.23Ssoda# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
1581.23Ssoda# to use, and the last bit must be 1 for this setting to be used.
1591.23Ssoda# For DMA and UDMA, 0xf (1111) means 'disable'.
1601.23Ssoda# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
1611.23Ssoda# (0xc=1100, 0xa=1010, 0xf=1111)
1621.23Ssoda# 0x0000 means "use whatever the drive claims to support".
1631.23Ssoda# XXX - should be configured
1641.23Ssoda#wd*	at wdc? channel ? drive ? flags 0x0000
1651.23Ssoda
1661.23Ssoda# ATAPI bus support
1671.23Ssoda# XXX - should be configured
1681.23Ssoda#atapibus* at wdc? channel ?
1691.23Ssoda
1701.23Ssoda# ATAPI devices
1711.23Ssoda# flags have the same meaning as for IDE drives.
1721.23Ssoda# XXX - should be configured
1731.23Ssoda#cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
1741.23Ssoda#sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
1751.23Ssoda#uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
1761.23Ssoda
1771.23Ssoda
1781.23Ssoda# Parallel Printer Interfaces
1791.23Ssoda
1801.23Ssodalpt0		at isa? port 0x378 irq 7
1811.23Ssoda
1821.23Ssoda
1831.23Ssoda# Network Interfaces
1841.23Ssoda
1851.23Ssoda# XXX - should fix conflict with files.isa
1861.23Ssoda#ec0	at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
1871.23Ssoda# XXX - should fix conflict with files.isa
1881.23Ssoda#ep0		at isa? port ? irq ?           # 3C509 ethernet cards
1891.23Ssoda# XXX - should fix conflict with files.isa
1901.23Ssoda#ne0	at isa? port 0x280 irq 9		# NE[12]000 ethernet cards
1911.23Ssoda#ne1	at isa? port 0x300 irq 10
1921.23Ssoda#we0	at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC Ethernet
1931.23Ssoda#we1	at isa? port 0x300 iomem 0xcc000 irq 10
1941.23Ssoda
1951.23Ssoda# XXX - should be configured
1961.23Ssoda#btl0		at isa? port 0x330 irq ? drq ?
1971.23Ssoda#scsibus* 	at btl?
1981.23Ssoda
1991.23Ssoda#### SCSI Bus devices
2001.23Ssoda
2011.1Sjonathansd*		at scsibus? target ? lun ?
2021.1Sjonathanst*		at scsibus? target ? lun ?
2031.1Sjonathancd*		at scsibus? target ? lun ?
2041.23Ssodach*		at scsibus? target ? lun ?
2051.23Ssodass*		at scsibus? target ? lun ?
2061.23Ssodauk*		at scsibus? target ? lun ?
2071.23Ssoda
2081.23Ssoda#### PSEUDO Devices
2091.1Sjonathan
2101.23Ssodapseudo-device	loop		 1	# network loopback
2111.23Ssodapseudo-device	bpfilter	 8	# packet filter ports
2121.23Ssoda#pseudo-device	gre		2	# generic L3 over IP tunnel
2131.1Sjonathanpseudo-device	sl		 2	# serial-line IP ports
2141.1Sjonathanpseudo-device	ppp		 2	# serial-line PPP ports
2151.23Ssodapseudo-device	tun		 2	# network tunneling over tty
2161.20Sitojunpseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
2171.20Sitojun#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
2181.23Ssodapseudo-device	ipfilter		# ip filter
2191.23Ssoda
2201.23Ssodapseudo-device	pty		64	# pseudo ptys
2211.23Ssodapseudo-device	tb		 1	# tablet line discipline
2221.23Ssodapseudo-device	vnd		 4	# paging to files
2231.23Ssodapseudo-device	ccd		 4	# concatenated disk devices
2241.16Soster#pseudo-device 	raid		4	# RAIDframe disk driver
2251.23Ssoda#pseudo-device	md		 1	# memory disk devices
2261.11Sfair# rnd is EXPERIMENTAL
2271.11Sfair#pseudo-device	rnd			# /dev/random and in-kernel generator
228