GENERIC revision 1.25
11.25Ssoda#	$NetBSD: GENERIC,v 1.25 2000/01/26 12:48:44 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.25 $"
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.25Ssoda#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.25Ssodaoptions 	NKMEMCLUSTERS=1024	# 4K pages in kernel malloc pool
941.23Ssoda#options 	KGDB			# support for kernel gdb
951.25Ssoda#options 	KGDBRATE=19200		# kernel gdb port rate (default 9600)
961.25Ssoda#options 	KGDBDEV="15*256+0"	# device for kernel gdb
971.23Ssoda
981.25Ssoda# Kernel root file system and dump configuration.
991.23Ssodaoptions 	NFS_BOOT_BOOTP,NFS_BOOT_BOOTPARAM
1001.6Sthorpejconfig		netbsd root on ? type ?
1011.1Sjonathan
1021.23Ssoda#
1031.23Ssoda# Definition of system
1041.23Ssoda#
1051.1Sjonathanmainbus0	at root
1061.1Sjonathancpu*		at mainbus0
1071.1Sjonathan
1081.23Ssoda#### Main local buses
1091.23Ssoda
1101.23Ssodapica*		at mainbus0	# ACER Pica systems local bus.
1111.23Ssodaisabr*		at mainbus0	# ISA Bus bridge (std ISA bus).
1121.23Ssoda
1131.23Ssoda#### PICA bus devices
1141.23Ssoda
1151.23Ssodaaclock0		at pica?
1161.1Sjonathanpc0		at pica?
1171.23Ssodaopms0		at pica?
1181.23Ssodacom0		at pica?
1191.23Ssodacom1		at pica?
1201.1Sjonathanlpt0		at pica?
1211.1Sjonathansn0		at pica?
1221.1Sjonathan
1231.1Sjonathanfdc0		at pica?
1241.1Sjonathanfd*		at fdc? drive ?
1251.1Sjonathan
1261.1Sjonathanasc0		at pica?
1271.1Sjonathanscsibus* 	at asc?
1281.1Sjonathan
1291.23Ssoda#### ISA Bus.
1301.23Ssoda
1311.23Ssodaisa*		at isabr?
1321.23Ssoda
1331.23Ssodaaclock0		at isa? port 0x70 irq 0
1341.23Ssoda
1351.25Ssodapc0		at isa? port 0x60 irq 1		# generic PC console device
1361.23Ssodacom0		at isa? port 0x3f8 irq 4
1371.23Ssodacom1		at isa? port 0x2f8 irq 3
1381.23Ssodacom2		at isa? port 0x3e8 irq 4
1391.23Ssodacom3		at isa? port 0x2e8 irq 3
1401.23Ssoda
1411.23Ssoda# ISA ST506, ESDI, and IDE controllers
1421.23Ssoda# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
1431.23Ssoda# fall back to 16bits I/O if 32bits I/O are not functional).
1441.23Ssoda# Some controllers pass the initial 32bit test, but will fail later.
1451.23Ssoda# XXX - should be configured
1461.23Ssoda#wdc0	at isa? port 0x1f0 irq 14 flags 0x00
1471.23Ssoda##wdc1	at isa? port 0x170 irq 15 flags 0x00
1481.23Ssoda
1491.23Ssoda# IDE drives
1501.23Ssoda# Flags are used only with controllers that support DMA operations
1511.23Ssoda# and mode settings (e.g. some pciide controllers)
1521.23Ssoda# The lowest order four bits (rightmost digit) of the flags define the PIO
1531.23Ssoda# mode to use, the next set of four bits the DMA mode and the third set the
1541.23Ssoda# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
1551.23Ssoda# to use, and the last bit must be 1 for this setting to be used.
1561.23Ssoda# For DMA and UDMA, 0xf (1111) means 'disable'.
1571.23Ssoda# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
1581.23Ssoda# (0xc=1100, 0xa=1010, 0xf=1111)
1591.23Ssoda# 0x0000 means "use whatever the drive claims to support".
1601.23Ssoda# XXX - should be configured
1611.23Ssoda#wd*	at wdc? channel ? drive ? flags 0x0000
1621.23Ssoda
1631.23Ssoda# ATAPI bus support
1641.23Ssoda# XXX - should be configured
1651.23Ssoda#atapibus* at wdc? channel ?
1661.23Ssoda
1671.23Ssoda# ATAPI devices
1681.23Ssoda# flags have the same meaning as for IDE drives.
1691.23Ssoda# XXX - should be configured
1701.23Ssoda#cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
1711.23Ssoda#sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
1721.23Ssoda#uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
1731.23Ssoda
1741.23Ssoda
1751.23Ssoda# Parallel Printer Interfaces
1761.23Ssoda
1771.23Ssodalpt0		at isa? port 0x378 irq 7
1781.23Ssoda
1791.23Ssoda
1801.23Ssoda# Network Interfaces
1811.23Ssoda
1821.23Ssoda# XXX - should fix conflict with files.isa
1831.23Ssoda#ec0	at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
1841.23Ssoda# XXX - should fix conflict with files.isa
1851.25Ssoda#ep0		at isa? port ? irq ?		# 3C509 ethernet cards
1861.23Ssoda# XXX - should fix conflict with files.isa
1871.23Ssoda#ne0	at isa? port 0x280 irq 9		# NE[12]000 ethernet cards
1881.23Ssoda#ne1	at isa? port 0x300 irq 10
1891.23Ssoda#we0	at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC Ethernet
1901.23Ssoda#we1	at isa? port 0x300 iomem 0xcc000 irq 10
1911.23Ssoda
1921.23Ssoda# XXX - should be configured
1931.23Ssoda#btl0		at isa? port 0x330 irq ? drq ?
1941.23Ssoda#scsibus* 	at btl?
1951.23Ssoda
1961.23Ssoda#### SCSI Bus devices
1971.23Ssoda
1981.1Sjonathansd*		at scsibus? target ? lun ?
1991.1Sjonathanst*		at scsibus? target ? lun ?
2001.1Sjonathancd*		at scsibus? target ? lun ?
2011.23Ssodach*		at scsibus? target ? lun ?
2021.23Ssodass*		at scsibus? target ? lun ?
2031.23Ssodauk*		at scsibus? target ? lun ?
2041.23Ssoda
2051.23Ssoda#### PSEUDO Devices
2061.1Sjonathan
2071.23Ssodapseudo-device	loop		 1	# network loopback
2081.23Ssodapseudo-device	bpfilter	 8	# packet filter ports
2091.23Ssoda#pseudo-device	gre		2	# generic L3 over IP tunnel
2101.1Sjonathanpseudo-device	sl		 2	# serial-line IP ports
2111.1Sjonathanpseudo-device	ppp		 2	# serial-line PPP ports
2121.23Ssodapseudo-device	tun		 2	# network tunneling over tty
2131.20Sitojunpseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
2141.20Sitojun#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
2151.23Ssodapseudo-device	ipfilter		# ip filter
2161.23Ssoda
2171.23Ssodapseudo-device	pty		64	# pseudo ptys
2181.23Ssodapseudo-device	tb		 1	# tablet line discipline
2191.23Ssodapseudo-device	vnd		 4	# paging to files
2201.23Ssodapseudo-device	ccd		 4	# concatenated disk devices
2211.16Soster#pseudo-device 	raid		4	# RAIDframe disk driver
2221.23Ssoda#pseudo-device	md		 1	# memory disk devices
2231.11Sfair# rnd is EXPERIMENTAL
2241.11Sfair#pseudo-device	rnd			# /dev/random and in-kernel generator
225