#	$NetBSD: GENERIC32_IP3x,v 1.6.2.4 2004/07/15 20:20:21 he Exp $
#
# GENERIC32_IP3x machine description file
# 
# This machine description file is used to generate the default NetBSD
# kernel.  The generic kernel does not include all options, subsystems
# and device drivers, but should be useful for most applications.
#
# The machine description file can be customised for your specific
# machine to reduce the kernel size and improve its performance.
#
# For further information on compiling NetBSD kernels, see the config(8)
# man page.
#
# For further information on hardware support for this architecture, see
# the intro(4) man page.  For further information about kernel options
# for this architecture, see the options(4) man page.  For an explanation
# of each device driver in this file see the section 4 man page for the
# device.
#
#
# Currently this config file supports O2 (IP32).
#

include 	"arch/sgimips/conf/std.sgimips"

makeoptions	TEXTADDR="0x80069000"	# entry point

options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary

#ident		"GENERIC32_IP3x-$Revision: 1.6.2.4 $"

maxusers	32

# CPU related options
options 	MIPS3		# MIPS3 support
options		ENABLE_MIPS4_CACHE_R10K # enable R10000 cache ops
#options	BLINK		# blinkenlitzen

# Standard system options
#options 	INSECURE	# disable kernel security levels

#options 	NTP		# NTP phase/frequence locked loop
options 	KTRACE		# system call tracing via ktrace(1)
options 	SYSTRACE	# system call vetting via systrace(1)

options 	SYSVMSG		# System V message queues
options 	SYSVSEM		# System V semaphores
#options 	SEMMNI=10	# number of semaphore identifiers
#options 	SEMMNS=60	# number of semaphores in system
#options 	SEMUME=10	# max number of undo entries per process
#options 	SEMMNU=30	# number of undo structures in system
options 	SYSVSHM		# System V shared memory
#options 	SHMMAXPGS=1024	# 1024 pages is the default
options 	P1003_1B_SEMAPHORE # p1003.1b semaphore support

#options 	LKM		# loadable kernel modules (XXX: working?)

options 	USERCONF	# userconf(4) support
#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel

# Enable experimental buffer queue strategy for better responsiveness under 
# high disk I/O load. Use it with caution - it's not proven to be stable yet.
#options 	NEW_BUFQ_STRATEGY

# Diagnostic/debugging support options
#options 	DIAGNOSTIC	# expensive kernel consistency checks
#options 	DEBUG		# expensive debugging checks/support
#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
options 	DDB		# in-kernel debugger
options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
#options 	KGDB		# remote debugger
#options 	KGDB_DEV=0x2301		# KGDB port - this is Serial(1)
#options 	KGDB_DEVRATE=19200	# KGDB Baud Rate
#makeoptions	DEBUG="-g"	# compile full symbol table

# Compatibility options
options 	COMPAT_15	# NetBSD 1.5,
options         COMPAT_16
#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.

options 	COMPAT_IRIX	# binary compatibility with IRIX
#options	COMPAT_LINUX	# binary compatibility with Linux
#options	COMPAT_ULTRIX	# binary compatibility with Ultrix 

# File systems
file-system 	FFS		# UFS
file-system 	EXT2FS		# second extended file system (linux)
file-system 	LFS		# log-structured file system
file-system 	MFS		# memory file system
file-system 	NFS		# Network File System client
file-system 	NTFS		# Windows/NT file system (experimental)
file-system 	CD9660		# ISO 9660 + Rock Ridge file system
file-system 	MSDOSFS		# MS-DOS file system
file-system 	FDESC		# /dev/fd
file-system 	KERNFS		# /kern
file-system 	NULLFS		# loopback file system
file-system 	OVERLAY		# overlay file system
file-system 	PORTAL		# portal filesystem (still experimental)
file-system 	PROCFS		# /proc
file-system 	UMAPFS		# NULLFS + uid and gid remapping
file-system 	UNION		# union file system
file-system	CODA		# Coda File System; also needs vcoda (below)

# File system options
options 	QUOTA		# UFS quotas
#options 	FFS_EI		# FFS Endian Independent support
options 	SOFTDEP		# FFS soft updates support.
options 	NFSSERVER	# Network File System server
#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
				# immutable) behave as system flags.

# Networking options
#options 	GATEWAY		# packet forwarding
options 	INET		# IP + ICMP + TCP + UDP
options 	INET6		# IPV6
#options 	IPSEC		# IP security
#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
#options 	IPSEC_DEBUG	# debug for IP security
#options 	MROUTING	# IP multicast routing
options 	NS		# XNS
#options 	NSIP		# XNS tunneling over IP
options 	ISO,TPIP	# OSI
#options 	EON		# OSI tunneling over IP
options 	CCITT,LLC,HDLC	# X.25
options 	NETATALK	# AppleTalk networking protocols
options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
options 	PPP_DEFLATE	# Deflate compression support for PPP
options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
options 	PFIL_HOOKS	# pfil(9) packet filter hooks
options 	IPFILTER_LOG	# ipmon(8) log support
#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG

#options 	ALTQ		# Manipulate network interfaces' output queues
#options 	ALTQ_BLUE	# Stochastic Fair Blue
#options 	ALTQ_CBQ	# Class-Based Queueing
#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
#options 	ALTQ_FIFOQ	# First-In First-Out Queue
#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
#options 	ALTQ_LOCALQ	# Local queueing discipline
#options 	ALTQ_PRIQ	# Priority Queueing
#options 	ALTQ_RED	# Random Early Detection
#options 	ALTQ_RIO	# RED with IN/OUT
#options 	ALTQ_WFQ	# Weighted Fair Queueing

# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
options 	MIIVERBOSE	# verbose PHY autoconfig messages
options 	PCIVERBOSE	# verbose PCI device autoconfig messages
#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
options 	SCSIVERBOSE	# human readable SCSI error messages

options 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM

#options 	MEMORY_DISK_HOOKS
#options 	MEMORY_DISK_IS_ROOT
#options 	MEMORY_DISK_SERVER=0
#options 	MINIROOTSIZE=8192

#options 	SCSI_DELAY=5

# Kernel root file system and dump configuration.
config		netbsd	root on ? type ?

# Main bus and CPU
mainbus0 	at root
cpu0 		at mainbus?

# O2 busses
crime0 		at mainbus0 addr 0x14000000
mace0 		at mainbus0 addr 0x1f000000
macepci0 	at mace0 offset 0x080000 intr 7
pci0 		at macepci0 bus 0

# MACE devices
mec0 		at mace0 offset 0x280000 intr 3
pckbc0		at mace0 offset 0x320000 intr 5
#lpt0 		at mace0 offset 0x380000 intr 4 intrmask 0x000f0000
com0 		at mace0 offset 0x390000 intr 4 intrmask 0x03f00000
com1 		at mace0 offset 0x398000 intr 4 intrmask 0xfc000000
mcclock0	at mace0 offset 0x3a0000

# PCI cryptographic devices
hifn*	at pci? dev ? function ?	# Hifn 7755/7811/795x
ubsec*	at pci? dev ? function ?	# Broadcom 5501/5601/580x/582x

# PCI network devices
#an*     at pci? dev ? function ?        # Aironet PC4500/PC4800 (802.11)
#bge*    at pci? dev ? function ?        # Broadcom 570x gigabit Ethernet
#en*     at pci? dev ? function ?        # ENI/Adaptec ATM
ep*     at pci? dev ? function ?        # 3Com 3c59x
epic*   at pci? dev ? function ?        # SMC EPIC/100 Ethernet
esh*    at pci? dev ? function ?        # Essential HIPPI card
ex*     at pci? dev ? function ?        # 3Com 90x[BC]
fpa*    at pci? dev ? function ?        # DEC DEFPA FDDI
fxp*    at pci? dev ? function ?        # Intel EtherExpress PRO 10+/100B
#gsip*   at pci? dev ? function ?        # NS83820 Gigabit Ethernet
#hme*   at pci? dev ? function ?        # Sun Microelectronics STP2002-STQ
le*     at pci? dev ? function ?        # PCnet-PCI Ethernet
lmc*    at pci? dev ? function ?        # Lan Media Corp SSI/HSSI/DS3
mtd*    at pci? dev ? function ?        # Myson MTD803 3-in-1 Ethernet
ne*     at pci? dev ? function ?        # NE2000-compatible Ethernet
ntwoc*  at pci? dev ? function ?        # Riscom/N2 PCI Sync Serial
pcn*    at pci? dev ? function ?        # AMD PCnet-PCI Ethernet
rtk*    at pci? dev ? function ?        # Realtek 8129/8139
sf*     at pci? dev ? function ?        # Adaptec AIC-6915 Ethernet
sip*    at pci? dev ? function ?        # SiS 900/DP83815 Ethernet
#skc*   at pci? dev ? function ?        # SysKonnect SK9821 Gigabit Ethernet
#sk*    at skc?                         # SysKonnect SK9821 Gigabit Ethernet
ste*    at pci? dev ? function ?        # Sundance ST-201 Ethernet
#stge*   at pci? dev ? function ?        # Sundance/Tamarack TC9021 Gigabit
ti*     at pci? dev ? function ?        # Alteon ACEnic gigabit Ethernet
tl*     at pci? dev ? function ?        # ThunderLAN-based Ethernet
tlp*    at pci? dev ? function ?        # DECchip 21x4x and clones
vr*     at pci? dev ? function ?        # VIA Rhine Fast Ethernet
wi*     at pci? dev ? function ?        # Intersil Prism Mini-PCI (802.11b)
wm*     at pci? dev ? function ?        # Intel 82543/82544 gigabit

# MII/PHY support
acphy*  at mii? phy ?                   # Altima AC101 and AMD Am79c874 PHYs
amhphy* at mii? phy ?                   # AMD 79c901 Ethernet PHYs
bmtphy*	at mii? phy ?			# Broadcom BCM5201 and BCM5202 PHYs
brgphy* at mii? phy ?                   # Broadcom BCM5400-family PHYs
dmphy*  at mii? phy ?                   # Davicom DM9101 PHYs
exphy*	at mii? phy ?			# 3Com internal PHYs
gentbi* at mii? phy ?                   # Generic Ten-Bit 1000BASE-[CLS]X PHYs
glxtphy* at mii? phy ?			# Level One LXT-1000 PHYs
gphyter* at mii? phy ?			# NS83861 Gig-E PHY
icsphy* at mii? phy ?                   # Integrated Circuit Systems ICS189x
inphy*	at mii? phy ?			# Intel 82555 PHYs
iophy*  at mii? phy ?                   # Intel 82553 PHYs
lxtphy* at mii? phy ?                   # Level One LXT-970 PHYs
makphy*	at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
nsphy*	at mii? phy ?			# NS83840 PHYs
nsphyter* at mii? phy ?                 # NS83843 PHYs
pnaphy* at mii? phy ?                   # generic HomePNA PHYs
qsphy*  at mii? phy ?                   # Quality Semiconductor QS6612 PHYs
sqphy*  at mii? phy ?                   # Seeq 80220/80221/80223 PHYs
tlphy*  at mii? phy ?                   # ThunderLAN PHYs
tqphy*  at mii? phy ?                   # TDK Semiconductor PHYs
ukphy*	at mii? phy ?			# generic unknown PHYs
urlphy* at mii? phy ?                   # Realtek RTL8150L internal PHYs

# O2 SCSI
ahc* 		at pci? dev ? function ?
scsibus* 	at scsi?

sd*     at scsibus? target ? lun ?	# SCSI disks
st*     at scsibus? target ? lun ?	# SCSI tapes
cd*     at scsibus? target ? lun ?	# SCSI CD-ROMs
ch*     at scsibus? target ? lun ?	# SCSI changer devices
ss*     at scsibus? target ? lun ?	# SCSI scanners
ses*    at scsibus? target ? lun ?	# SCSI SES/SAF-TE devices
uk*     at scsibus? target ? lun ?	# unknown SCSI

pckbd*		at pckbc?
pms*		at pckbc?
wskbd*		at pckbd? console ?
wsmouse* 	at pms? mux 0
#wsdisplay* 	at foofb? console ?

# USB Controller and Devices

# PCI USB controllers
ehci*	at pci? dev ? function ?        # Enhanced Host Controller
ohci*   at pci? dev ? function ?        # Open Host Controller
uhci*   at pci? dev ? function ?        # Universal Host Controller (Intel)

# USB bus support
usb*	at ehci?
usb*    at ohci?
usb*    at uhci?

# USB Hubs
uhub*   at usb?
uhub*   at uhub? port ? configuration ? interface ?

# USB HID device
uhidev* at uhub? port ? configuration ? interface ?

# USB Mice
ums*    at uhidev? reportid ?
wsmouse* at ums? mux 0

# USB Keyboards
ukbd*   at uhidev? reportid ?
wskbd*  at ukbd? console ? mux 1

# USB Generic HID devices
uhid*   at uhidev? reportid ?

# USB Printer
ulpt*   at uhub? port ? configuration ? interface ?

# USB Modem
umodem* at uhub? port ? configuration ?
ucom*   at umodem?

# USB Mass Storage
umass*  at uhub? port ? configuration ? interface ?
#wd* at umass?

# USB audio
uaudio* at uhub? port ? configuration ?

# USB MIDI
umidi* at uhub? port ? configuration ?

# USB IrDA
# USB-IrDA bridge spec
uirda* at uhub? port ? configuration ? interface ?
irframe* at uirda?

# SigmaTel STIr4200 USB/IrDA Bridge
ustir* at uhub? port ?
irframe* at ustir?

# USB Ethernet adapters
aue*    at uhub? port ?         # ADMtek AN986 Pegasus based adapters
cue*    at uhub? port ?         # CATC USB-EL1201A based adapters
kue*    at uhub? port ?         # Kawasaki LSI KL5KUSB101B based adapters
uax*    at uhub? port ?         # ASIX AX88172 based adapters
url*    at uhub? port ?         # Realtek RTL8150L based adapters
udav*   at uhub? port ?         # Davicom DM9601 based adapters

# Prolific PL2301/PL2302 host-to-host adapter
upl*    at uhub? port ?

# Serial adapters
ubsa*   at uhub? port ?         # Belkin serial adapter
ucom*   at ubsa? portno ?

uftdi*  at uhub? port ?         # FTDI FT8U100AX serial adapter
ucom*   at uftdi? portno ?

umct*   at uhub? port ?         # MCT USB-RS232 serial adapter
ucom*   at umct? portno ?

uplcom* at uhub? port ?         # I/O DATA USB-RSAQ2 serial adapter
ucom*   at uplcom? portno ?

uvscom* at uhub? port ?         # SUNTAC Slipper U VS-10U serial adapter
ucom*   at uvscom? portno ?

# Diamond Multimedia Rio 500
urio*   at uhub? port ?

# USB Handspring Visor
uvisor* at uhub? port ?
ucom*   at uvisor?

# USB scanners
uscanner* at uhub? port ?

# USB scanners that use SCSI emulation, e.g., HP5300
usscanner* at uhub? port ?

# Y@P firmware loader
uyap* at uhub? port ?

# D-Link DSB-R100 USB radio
udsbr*  at uhub? port ?
radio*  at udsbr?

# USB Generic driver
ugen*   at uhub? port ?

# Audio support
audio*  at audiobus?

# MIDI support
midi*   at midibus?

# Pseudo-Devices

pseudo-device	crypto			# opencrypto framework

# disk/mass storage pseudo-devices
pseudo-device	ccd		4	# concatenated/striped disk devices
#pseudo-device	cgd		4	# cryptographic disk devices
#pseudo-device	raid		4	# RAIDframe disk driver
#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
pseudo-device	md		1	# memory disk device (ramdisk)
pseudo-device	vnd		4	# disk-like interface to files

# network pseudo-devices
pseudo-device	bpfilter	8	# Berkeley packet filter
pseudo-device	ipfilter		# IP filter (firewall) and NAT
pseudo-device	loop			# network loopback
pseudo-device	ppp		2	# Point-to-Point Protocol
pseudo-device	sl		2	# Serial Line IP
pseudo-device	strip		2	# Starmode Radio IP (Metricom)
pseudo-device	tun		2	# network tunneling over tty
pseudo-device	gre		2	# generic L3 over IP tunnel
pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
pseudo-device	vlan			# IEEE 802.1q encapsulation
pseudo-device	bridge			# simple inter-network bridging
#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too

# miscellaneous pseudo-devices
pseudo-device	pty			# pseudo-terminals
pseudo-device	tb		1	# tablet line discipline
pseudo-device	sequencer	1	# MIDI sequencer
pseudo-device	rnd			# /dev/random and in-kernel generator
pseudo-device	clockctl		# user control of clock subsystem
pseudo-device	ksyms			# /dev/ksyms
#pseudo-device	wsfont

# a pseudo device needed for Coda	# also needs CODA (above)
pseudo-device	vcoda		4	# coda minicache <-> venus comm.

# pseudo devices used for IRIX binary compatibility
pseudo-device	irix_kmem		# IRIX /dev/kmem
pseudo-device	irix_usema		# IRIX /dev/usema
