IQ80321 revision 1.81
11.81Smartin#	$NetBSD: IQ80321,v 1.81 2014/08/03 09:18:16 martin Exp $
21.1Sthorpej#
31.1Sthorpej#	IQ80321 -- Intel IQ80321 Evaluation Board Kernel
41.1Sthorpej#
51.1Sthorpej
61.1Sthorpejinclude	"arch/evbarm/conf/std.iq80321"
71.5Satatat
81.5Satatat#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
91.1Sthorpej
101.1Sthorpej# estimated number of users
111.1Sthorpej
121.1Sthorpejmaxusers	32
131.1Sthorpej
141.1Sthorpej# Standard system options
151.1Sthorpej
161.1Sthorpejoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
171.1Sthorpej#options 	NTP		# NTP phase/frequency locked loop
181.1Sthorpej
191.1Sthorpej# CPU options
201.1Sthorpej
211.8Sthorpej# For XScale systems
221.1Sthorpejoptions 	CPU_XSCALE_80321	# Support the XScale core
231.18Sthorpejmakeoptions	CPUFLAGS="-mcpu=xscale"
241.1Sthorpej
251.1Sthorpej# Architecture options
261.10Sbriggsoptions 	XSCALE_CACHE_READ_WRITE_ALLOCATE
271.11Sbriggs#options 	HZ=512
281.1Sthorpej
291.1Sthorpej# File systems
301.1Sthorpej
311.1Sthorpejfile-system	FFS		# UFS
321.1Sthorpej#file-system	LFS		# log-structured file system
331.1Sthorpejfile-system	MFS		# memory file system
341.1Sthorpejfile-system	NFS		# Network file system
351.1Sthorpej#file-system 	ADOSFS		# AmigaDOS-compatible file system
361.1Sthorpej#file-system 	EXT2FS		# second extended file system (linux)
371.1Sthorpej#file-system	CD9660		# ISO 9660 + Rock Ridge file system
381.1Sthorpej#file-system	MSDOSFS		# MS-DOS file system
391.1Sthorpejfile-system	FDESC		# /dev/fd
401.1Sthorpejfile-system	KERNFS		# /kern
411.1Sthorpejfile-system	NULLFS		# loopback file system
421.1Sthorpejfile-system	PROCFS		# /proc
431.74Smsaitoh#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
441.1Sthorpej#file-system	UMAPFS		# NULLFS + uid and gid remapping
451.1Sthorpej#file-system	UNION		# union file system
461.44Schristosfile-system	PTYFS		# /dev/pts/N support
471.1Sthorpej
481.1Sthorpej# File system options
491.67Sbouyer#options 	QUOTA		# legacy UFS quotas
501.67Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
511.68Swiz#options 	FFS_EI		# FFS Endian Independent support
521.1Sthorpejoptions 	NFSSERVER
531.70Sdhollandoptions 	WAPBL		# File system journaling support
541.45Stsutsui#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
551.1Sthorpej
561.1Sthorpej# Networking options
571.1Sthorpej
581.1Sthorpej#options 	GATEWAY		# packet forwarding
591.1Sthorpejoptions 	INET		# IP + ICMP + TCP + UDP
601.1Sthorpejoptions 	INET6		# IPV6
611.1Sthorpej#options 	IPSEC		# IP security
621.1Sthorpej#options 	IPSEC_DEBUG	# debug for IP security
631.1Sthorpej#options 	MROUTING	# IP multicast routing
641.33Smanu#options 	PIM		# Protocol Independent Multicast
651.1Sthorpej#options 	NETATALK	# AppleTalk networking
661.1Sthorpej#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
671.1Sthorpej#options 	PPP_DEFLATE	# Deflate compression support for PPP
681.1Sthorpej#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
691.1Sthorpej#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
701.1Sthorpej
711.1Sthorpejoptions 	NFS_BOOT_BOOTP
721.1Sthorpejoptions 	NFS_BOOT_DHCP
731.1Sthorpej#options 	NFS_BOOT_BOOTPARAM
741.1Sthorpej
751.1Sthorpej# Compatibility options
761.1Sthorpej
771.81Smartinoptions		COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
781.1Sthorpej#options 	COMPAT_43	# 4.3BSD compatibility.
791.75Sapboptions 	COMPAT_60	# NetBSD 6.0 compatibility.
801.60Sbshoptions 	COMPAT_50	# NetBSD 5.0 compatibility.
811.54Stsutsuioptions 	COMPAT_40	# NetBSD 4.0 compatibility.
821.43Schristosoptions 	COMPAT_30	# NetBSD 3.0 compatibility.
831.39Ssimonboptions 	COMPAT_20	# NetBSD 2.0 compatibility.
841.21Schrisoptions 	COMPAT_16	# NetBSD 1.6 compatibility.
851.1Sthorpejoptions 	COMPAT_15	# NetBSD 1.5 compatibility.
861.1Sthorpejoptions 	COMPAT_14	# NetBSD 1.4 compatibility.
871.1Sthorpej#options 	COMPAT_13	# NetBSD 1.3 compatibility.
881.1Sthorpej#options 	COMPAT_12	# NetBSD 1.2 compatibility.
891.1Sthorpej#options 	COMPAT_11	# NetBSD 1.1 compatibility.
901.1Sthorpej#options 	COMPAT_10	# NetBSD 1.0 compatibility.
911.1Sthorpej#options 	COMPAT_09	# NetBSD 0.9 compatibility.
921.1Sthorpej#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
931.34Schristosoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
941.1Sthorpej
951.1Sthorpej# Shared memory options
961.1Sthorpej
971.1Sthorpejoptions 	SYSVMSG		# System V-like message queues
981.1Sthorpejoptions 	SYSVSEM		# System V-like semaphores
991.1Sthorpejoptions 	SYSVSHM		# System V-like memory sharing
1001.1Sthorpej
1011.1Sthorpej# Device options
1021.1Sthorpej
1031.1Sthorpej#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
1041.3Slukem#options 	MEMORY_DISK_ROOT_SIZE=3400	# Size in blocks
1051.1Sthorpej#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
1061.1Sthorpej
1071.1Sthorpej# Console options.  The default console is speed is 115200 baud.
1081.1Sthorpej#options 	CONSPEED=9600		# Console speed
1091.1Sthorpej
1101.1Sthorpej# Miscellaneous kernel options
1111.1Sthorpejoptions 	KTRACE		# system call tracing, a la ktrace(1)
1121.1Sthorpejoptions 	IRQSTATS	# manage IRQ statistics
1131.1Sthorpej#options 	KMEMSTATS	# kernel memory statistics
1141.1Sthorpej#options 	SCSIVERBOSE	# Verbose SCSI errors
1151.1Sthorpejoptions 	PCIVERBOSE	# Verbose PCI descriptions
1161.1Sthorpejoptions 	MIIVERBOSE	# Verbose MII autoconfuration messages
1171.1Sthorpej#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1181.1Sthorpej#options 	DDB_KEYCODE=0x40
1191.13Slukemoptions 	USERCONF	# userconf(4) support
1201.1Sthorpej#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
1211.32Satatat#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
1221.1Sthorpej
1231.1Sthorpej# Development and Debugging options
1241.1Sthorpej
1251.12Sthorpejoptions 	PERFCTRS	# performance counters
1261.80Sdhollandoptions 	DIAGNOSTIC	# internal consistency checks
1271.1Sthorpej#options 	DEBUG
1281.1Sthorpej#options 	PMAP_DEBUG	# Enable pmap_debug_level code
1291.1Sthorpej#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
1301.1Sthorpejoptions 	DDB		# in-kernel debugger
1311.1Sthorpejoptions 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1321.19Srearnsha#makeoptions	DEBUG="-g"	# compile full symbol table
1331.71Smattoptions 	SYMTAB_SPACE=610000
1341.1Sthorpej
1351.1Sthorpejconfig		netbsd		root on ? type ?
1361.2Sthorpejconfig		netbsd-wm0	root on wm0 type nfs
1371.15Sthorpejconfig		netbsd-wd0	root on wd0 type ffs
1381.15Sthorpejconfig		netbsd-sd0	root on sd0 type ffs
1391.1Sthorpej
1401.1Sthorpej# The main bus device
1411.1Sthorpejmainbus0	at root
1421.1Sthorpej
1431.31Swiz# The boot CPU
1441.1Sthorpejcpu0		at mainbus?
1451.1Sthorpej
1461.1Sthorpej# On-board device support
1471.1Sthorpejobio*		at mainbus?
1481.14Sthorpejcom0		at obio? addr 0xfe800000 xint 1	# on-board TI 165C50 UART
1491.1Sthorpej
1501.1Sthorpej# i80321 I/O Processor peripheral support
1511.1Sthorpejiopxs*		at mainbus?
1521.7Sthorpej
1531.9Sthorpejiopaau*		at iopxs?		# Application Accelerator Unit
1541.22Sthorpejiopiic*		at iopxs?		# I2C Controller Unit(s)
1551.22Sthorpejiic0		at iopiic?
1561.22Sthorpejiic1		at iopiic?
1571.7Sthorpejiopwdog*	at iopxs?		# Watchdog timer
1581.7Sthorpejpci0		at iopxs? bus ?		# PCI/PCI-X support
1591.1Sthorpej
1601.1Sthorpej# PCI-PCI bridges
1611.1Sthorpejppb*		at pci? dev ? function ?
1621.1Sthorpejpci*		at ppb? bus ?
1631.15Sthorpej
1641.15Sthorpej#
1651.15Sthorpej# Storage devices
1661.15Sthorpej#
1671.15Sthorpej
1681.15Sthorpej# PCI IDE/S-ATA controllers and devices
1691.24Sbouyerpciide* 	at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
1701.29Sthorpejartsata*	at pci? dev ? function ?	# Intel i31244 SATA controller
1711.24Sbouyercmdide* 	at pci? dev ? function ?	# CMD tech IDE controllers
1721.24Sbouyerhptide* 	at pci? dev ? function ?	# Triones/HighPoint IDE controllers
1731.24Sbouyerpdcide* 	at pci? dev ? function ?	# Promise IDE controllers
1741.35Sbouyerpdcsata* 	at pci? dev ? function ?	# Promise SATA150 controllers
1751.26Sthorpejsatalink*	at pci? dev ? function ?	# SiI SATALink controllers
1761.27Sthorpej
1771.27Sthorpejatabus* 	at ata? channel ?
1781.23Sbouyerwd*		at atabus? drive ? flags 0x0000
1791.15Sthorpej
1801.15Sthorpej# PCI SCSI controllers
1811.15Sthorpejahc*		at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
1821.15Sthorpejisp*		at pci? dev ? function ?	# Qlogic ISP SCSI
1831.15Sthorpejsiop*		at pci? dev ? function ?	# Symbios/LSI 53c8xx SCSI
1841.15Sthorpejesiop*		at pci? dev ? function ?	# Symbios/LSI 53c8xx SCSI
1851.16Sthorpejmpt*		at pci? dev ? function ?	# LSI Fusion SCSI/FC
1861.15Sthorpej
1871.15Sthorpejscsibus*	at scsi?
1881.15Sthorpej
1891.15Sthorpej# SCSI devices
1901.15Sthorpejsd*		at scsibus? target ? lun ?	# SCSI disk drives
1911.15Sthorpejst*		at scsibus? target ? lun ?	# SCSI tape drives
1921.15Sthorpejcd*		at scsibus? target ? lun ?	# SCSI CD-ROM drives
1931.15Sthorpej#ch*		at scsibus? target ? lun ?	# SCSI media changers
1941.15Sthorpej#uk*		at scsibus? target ? lun ?	# unknown SCSI devices
1951.1Sthorpej
1961.1Sthorpej#
1971.1Sthorpej# Networking devices
1981.1Sthorpej#
1991.1Sthorpej
2001.1Sthorpej# PCI network devices
2011.7Sthorpejfxp*		at pci? dev ? function ?	# Intel i8255x 10/100 Ethernet
2021.1Sthorpejwm*		at pci? dev ? function ?	# Intel i82544 Gig-E
2031.1Sthorpej
2041.1Sthorpej# MII/PHY support
2051.7Sthorpejinphy*		at mii? phy ?			# Intel i82555 10/100 PHYs
2061.1Sthorpejmakphy*		at mii? phy ?			# Marvell 88E1000 PHYs
2071.1Sthorpejukphy*		at mii? phy ?			# Generic IEEE 802.3u PHYs
2081.1Sthorpej
2091.1Sthorpej# Pseudo-Devices
2101.1Sthorpej
2111.1Sthorpej# disk/mass storage pseudo-devices
2121.64Shannken#pseudo-device	md			# memory disk device (ramdisk)
2131.48Scubepseudo-device	vnd			# disk-like interface to files
2141.62Spooka#pseudo-device	fss			# file system snapshot device
2151.74Smsaitoh#pseudo-device	putter			# for puffs and pud
2161.1Sthorpej
2171.1Sthorpej# network pseudo-devices
2181.47Srpaulopseudo-device	bpfilter		# Berkeley packet filter
2191.1Sthorpejpseudo-device	loop			# network loopback
2201.10Sbriggspseudo-device	kttcp			# network loopback
2211.1Sthorpej
2221.1Sthorpej# miscellaneous pseudo-devices
2231.1Sthorpejpseudo-device	pty			# pseudo-terminals
2241.6Slukempseudo-device	clockctl		# user control of clock subsystem
2251.17Sthorpejpseudo-device	ksyms			# /dev/ksyms
2261.9Sthorpej
2271.9Sthorpej# data mover pseudo-devices
2281.73Sskrll#pseudo-device	swdmover		# software dmover(9) back-end
2291.9Sthorpejpseudo-device	dmoverio		# /dev/dmover dmover(9) interface
230