GENERIC revision 1.12
11.12Scube#	$NetBSD: GENERIC,v 1.12 2005/03/25 23:28:44 cube Exp $
21.1Smatt#
31.1Smatt#
41.1Smatt
51.1Smattinclude "arch/ibmnws/conf/std.ibmnws"
61.1Smatt
71.2Smattoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
81.1Smatt
91.1Smatt#makeoptions	COPTS="-Os -mmultiple"	# -Os -mmultiple to reduce size.
101.1Smatt
111.1Smatt# Console settings
121.1Smattoptions		CONSOLE="\"com\""
131.1Smattoptions		CONSOLE_SPEED=9600
141.1Smattoptions		CONSOLE_ADDR=0x3f8
151.1Smatt
161.1Smatt# Enable the hooks used for initializing the ram-disk.
171.1Smattoptions 	MEMORY_DISK_HOOKS
181.1Smattoptions 	MEMORY_DISK_IS_ROOT		# Force root on ram-disk
191.1Smattoptions 	MEMORY_DISK_ROOT_SIZE=4096	# 2 Megabytes
201.1Smatt
211.1Smattmaxusers	8
221.1Smatt
231.2Smatt#options 	DDB
241.2Smatt
251.1Smatt# Compatibility options
261.1Smatt#options 	COMPAT_13	# NetBSD 1.3,
271.1Smatt#options 	COMPAT_14	# NetBSD 1.4,
281.2Smattoptions 	COMPAT_16	# NetBSD 1.6,
291.1Smatt#options 	COMPAT_43	# and 4.3BSD
301.9Schristosoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
311.1Smatt
321.1Smatt# File systems
331.1Smattfile-system 	FFS		# UFS
341.1Smatt#file-system	EXT2FS		# second extended file system (linux)
351.1Smattfile-system 	MFS		# memory file system
361.1Smattfile-system 	NFS		# Network File System client
371.1Smatt#file-system 	CD9660		# ISO 9660 + Rock Ridge file system
381.1Smatt#file-system 	MSDOSFS		# MS-DOS file system
391.1Smatt
401.1Smatt# File system options
411.1Smattoptions 	VNODE_OP_NOINLINE # Save space by not inlining vnode op calls
421.1Smatt#options 	FFS_EI		# FFS Endian Independant support
431.11Sdsl#options 	FFS_NO_SNAPSHOT	# ffs snapshots
441.1Smatt#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
451.1Smatt 				# immutable) behave as system flags.
461.1Smatt
471.1Smatt#options 	USERCONF	# userconf(4) support
481.1Smatt#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
491.8Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
501.1Smatt
511.1Smatt# Networking options
521.1Smattoptions 	INET		# IP + ICMP + TCP + UDP
531.7Sabs
541.7Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
551.7Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
561.7Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
571.7Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
581.7Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
591.7Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
601.7Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
611.7Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
621.7Sabs#options 	ALTQ_PRIQ	# Priority Queueing
631.7Sabs#options 	ALTQ_RED	# Random Early Detection
641.7Sabs#options 	ALTQ_RIO	# RED with IN/OUT
651.7Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
661.1Smatt# options 	NFS_BOOT_BOOTPARAM
671.2Smattoptions 	NFS_BOOT_DHCP
681.1Smatt
691.1Smatt#
701.1Smatt# wscons options
711.1Smatt#
721.1Smatt# builtin terminal emulations
731.1Smatt#options 	WSEMUL_VT100		# VT100 / VT220 emulation
741.1Smatt# different kernel output - see dev/wscons/wsdisplayvar.h
751.1Smatt#options 	WS_KERNEL_FG=WSCOL_GREEN
761.1Smatt#options 	WS_KERNEL_BG=WSCOL_BLACK
771.1Smatt# see dev/pckbc/wskbdmap_mfii.c for implemented layouts
781.1Smatt#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
791.1Smatt# allocate a number of virtual screens at autoconfiguration time
801.1Smatt#options 	WSDISPLAY_DEFAULTSCREENS=4
811.1Smatt# use a large software cursor that doesn't blink
821.1Smatt#options 	PCDISPLAY_SOFTCURSOR
831.1Smatt
841.1Smatt# Kernel root file system and dump configuration.
851.1Smattconfig	netbsd	root on ? type ?
861.1Smatt
871.1Smatt
881.1Smatt#
891.1Smatt# Device configuration
901.1Smatt#
911.1Smatt
921.1Smattmainbus0 at root
931.1Smattcpu0	at mainbus0
941.1Smatt
951.1Smatt
961.1Smatt# Basic Bus Support
971.1Smatt
981.1Smatt# PCI bus support
991.1Smattpci0	at mainbus0 bus ?
1001.1Smattpci*	at pchb? bus ?
1011.1Smatt
1021.1Smattoptions 	PCI_NETBSD_CONFIGURE
1031.2Smattoptions 	PCIVERBOSE
1041.1Smatt
1051.1Smatt# PCI bridges
1061.1Smattpchb*	at pci? dev ? function ?	# PCI-Host bridges
1071.1Smattpcib*	at pci? dev ? function ?	# PCI-ISA bridges
1081.1Smatt
1091.1Smatt# ISA bus support
1101.1Smattisa*	at pcib?			# ISA on PCI-ISA bridge
1111.1Smatt
1121.1Smatt# PCMCIA bus support
1131.1Smatt# pcmcia* at pcic? controller ? socket ?
1141.1Smatt
1151.1Smatt# ISA PCMCIA controllers
1161.1Smatt# pcic0	at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000
1171.1Smatt
1181.1Smatt#options 	PCIC_ISA_INTR_ALLOC_MASK=0x4a00 # free irq 9,11,14
1191.1Smatt#options 	PCIC_ISA_ALLOC_IOBASE=0x0400
1201.1Smatt#options 	PCIC_ISA_ALLOC_IOSIZE=0x0100
1211.1Smatt
1221.1Smatt# ISA Plug-and-Play bus support
1231.1Smatt# isapnp0 at isa?
1241.1Smatt
1251.1Smatt# on-board I/O for IBM Personal Power Series 830 IDE controller
1261.1Smatt# obio0	at mainbus0
1271.1Smatt
1281.1Smatt
1291.1Smatt# Console Devices
1301.1Smatt
1311.1Smatt# wscons
1321.1Smatt# pckbc0		at isa?			# pc keyboard controller
1331.1Smatt# pckbd*		at pckbc?		# PC keyboard
1341.1Smatt# pms*		at pckbc?		# PS/2 mouse for wsmouse
1351.1Smatt# vga*		at pci?
1361.1Smatt# wsdisplay*	at vga? console ?
1371.1Smatt# wskbd*		at pckbd? console ?
1381.1Smatt# wsmouse*	at pms? mux 0
1391.1Smatt
1401.12Scube# attimer0	at isa?
1411.1Smatt# pcppi0	at isa?				# PC prog. periph. interface
1421.1Smatt# isabeep0 at pcppi?			# "keyboard" beep
1431.1Smatt
1441.1Smatt# mcclock0 at isa? port 0x70		# mc146818 and compatible
1451.1Smatt
1461.1Smatt
1471.1Smatt# Serial Devices
1481.1Smatt
1491.1Smatt# ISA serial interfaces
1501.1Smattcom0	at isa? port 0x3f8 irq 4	# standard PC serial ports
1511.1Smattcom1	at isa? port 0x2f8 irq 3
1521.1Smatt
1531.1Smatt# Parallel Printer Interfaces
1541.1Smatt
1551.1Smatt# ISA parallel printer interfaces
1561.3Srjslpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
1571.1Smatt
1581.1Smatt
1591.1Smatt# SCSI Controllers and Devices
1601.1Smatt
1611.1Smatt# PCI SCSI controllers
1621.1Smatt# adw*	at pci? dev ? function ?	# AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
1631.1Smatt# ahc*	at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
1641.1Smatt# iha*	at pci? dev ? function ?	# Initio INIC-940/950 SCSI
1651.1Smatt# pcscp*	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
1661.1Smatt# siop*	at pci? dev ? function ?	# Symbios 53c8xx SCSI
1671.1Smatt
1681.1Smatt# PCMCIA SCSI controllers
1691.1Smatt# aic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
1701.1Smatt
1711.1Smatt# SCSI bus support
1721.1Smatt# scsibus* at adw?
1731.1Smatt# scsibus* at ahc?
1741.1Smatt# scsibus* at aic?
1751.1Smatt# scsibus* at iha?
1761.1Smatt# scsibus* at pcscp?
1771.1Smatt# scsibus* at siop?
1781.1Smatt
1791.1Smatt# SCSI devices
1801.1Smatt# sd*	at scsibus? target ? lun ?	# SCSI disk drives
1811.1Smatt# st*	at scsibus? target ? lun ?	# SCSI tape drives
1821.1Smatt# cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
1831.1Smatt
1841.1Smatt
1851.1Smatt# IDE and related devices
1861.1Smatt
1871.1Smatt# IBM Personal Power Series 830 IDE controller
1881.1Smatt# wdc0	at obio? port 0x1f0 irq 13
1891.1Smatt# wdc1	at obio? port 0x170 irq 13
1901.1Smatt
1911.1Smatt# ISA Plug-and-Play IDE controllers
1921.1Smatt# wdc*	at isapnp?
1931.1Smatt
1941.1Smatt# PCMCIA IDE controllers
1951.1Smatt# wdc*	at pcmcia? function ?
1961.1Smatt
1971.1Smatt# IDE drives
1981.1Smatt# Flags are used only with controllers that support DMA operations
1991.1Smatt# and mode settings (e.g. some pciide controllers)
2001.1Smatt# The lowest order four bits (rightmost digit) of the flags define the PIO
2011.1Smatt# mode to use, the next set of four bits the DMA mode and the third set the
2021.1Smatt# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
2031.1Smatt# to use, and the last bit must be 1 for this setting to be used.
2041.1Smatt# For DMA and UDMA, 0xf (1111) means 'disable'.
2051.1Smatt# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
2061.1Smatt# (0xc=1100, 0xa=1010, 0xf=1111)
2071.1Smatt# 0x0000 means "use whatever the drive claims to support".
2081.1Smatt# wd*	at wdc? channel ? drive ? flags 0x0000
2091.1Smatt
2101.1Smatt# ATAPI bus support
2111.1Smatt# atapibus* at wdc? channel ?
2121.1Smatt
2131.1Smatt# ATAPI devices
2141.1Smatt# flags have the same meaning as for IDE drives.
2151.1Smatt# cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
2161.1Smatt# sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
2171.1Smatt
2181.1Smatt# Miscellaneous mass storage devices
2191.1Smatt
2201.1Smatt# ISA floppy
2211.1Smatt# fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
2221.1Smatt# fd*	at fdc? drive ?
2231.1Smatt
2241.1Smatt# Network Interfaces
2251.1Smatt
2261.1Smatt# PCI network interfaces
2271.1Smattpcn*	at pci? dev ? function ?	# AMD PCnet-PCI Ethernet
2281.1Smattoptions 	PCN_NO_PROM		# PROM not used for ethernet addr
2291.1Smatt
2301.1Smatt# PCMCIA network interfaces
2311.1Smatt# ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
2321.1Smatt# ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
2331.1Smatt
2341.1Smatt# MII/PHY support
2351.1Smatt#acphy*  at mii? phy ?                   # DAltima AC101 and AMD Am79c874 PHYs
2361.1Smatt#amhphy* at mii? phy ?                   # AMD 79c901 Ethernet PHYs
2371.1Smatt#bmtphy* at mii? phy ?                   # Broadcom BCM5201 and BCM5202 PHYs
2381.1Smatt#brgphy* at mii? phy ?                   # Broadcom BCM5400-family PHYs
2391.1Smatt#dmphy*  at mii? phy ?                   # Davicom DM9101 PHYs
2401.1Smatt#exphy*  at mii? phy ?                   # 3Com internal PHYs
2411.1Smatt#gentbi* at mii? phy ?                   # Generic Ten-Bit 1000BASE-[CLS]X PHYs
2421.1Smatt#glxtphy* at mii? phy ?                  # Level One LXT-1000 PHYs
2431.1Smatt#gphyter* at mii? phy ?                  # NS83861 Gig-E PHY
2441.1Smatticsphy* at mii? phy ?                   # Integrated Circuit Systems ICS189x
2451.1Smatt#inphy*  at mii? phy ?                   # Intel 82555 PHYs
2461.1Smatt#iophy*  at mii? phy ?                   # Intel 82553 PHYs
2471.1Smatt#lxtphy* at mii? phy ?                   # Level One LXT-970 PHYs
2481.1Smatt#makphy* at mii? phy ?                   # Marvell Semiconductor 88E1000 PHYs
2491.1Smatt#nsphy*  at mii? phy ?                   # NS83840 PHYs
2501.1Smatt#nsphyter* at mii? phy ?                 # NS83843 PHYs
2511.1Smatt#pnaphy* at mii? phy ?                   # generic HomePNA PHYs
2521.1Smatt#qsphy*  at mii? phy ?                   # Quality Semiconductor QS6612 PHYs
2531.1Smatt#sqphy*  at mii? phy ?                   # Seeq 80220/80221/80223 PHYs
2541.1Smatt#tlphy*  at mii? phy ?                   # ThunderLAN PHYs
2551.1Smatt#tqphy*  at mii? phy ?                   # TDK Semiconductor PHYs
2561.1Smatt#ukphy*  at mii? phy ?                   # generic unknown PHYs
2571.1Smatt#urlphy* at mii? phy ?                   # Realtek RTL8150L internal PHYs
2581.1Smatt
2591.4Srjs# Audio support
2601.4Srjspaud0 at isa? port 0x830 irq 10 drq 0 drq2 1
2611.4Srjsaudio*	at audiobus?
2621.4Srjs
2631.1Smatt# Pseudo-Devices
2641.1Smatt
2651.1Smatt# disk/mass storage pseudo-devices
2661.1Smattpseudo-device	md		1	# memory disk device (ramdisk)
2671.1Smatt
2681.1Smatt# network pseudo-devices
2691.1Smattpseudo-device	bpfilter	8	# network tap
2701.1Smattpseudo-device	loop			# network loopback
2711.1Smatt
2721.1Smatt# miscellaneous pseudo-devices
2731.1Smattpseudo-device	pty			# pseudo-terminals
2741.1Smattpseudo-device	rnd			# /dev/random and in-kernel generator
2751.1Smatt#options 	RND_COM			# use "com" randomness as well
2761.1Smattpseudo-device	ksyms
2771.1Smattpseudo-device	clockctl
278