GENERIC revision 1.7
1#	$NetBSD: GENERIC,v 1.7 2004/06/26 07:32:06 abs Exp $
2#
3#
4
5include "arch/ibmnws/conf/std.ibmnws"
6
7options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
8
9#makeoptions	COPTS="-Os -mmultiple"	# -Os -mmultiple to reduce size.
10
11# Console settings
12options		CONSOLE="\"com\""
13options		CONSOLE_SPEED=9600
14options		CONSOLE_ADDR=0x3f8
15
16# Enable the hooks used for initializing the ram-disk.
17options 	MEMORY_DISK_HOOKS
18options 	MEMORY_DISK_IS_ROOT		# Force root on ram-disk
19options 	MEMORY_DISK_ROOT_SIZE=4096	# 2 Megabytes
20
21maxusers	8
22
23#options 	DDB
24
25# Compatibility options
26#options 	COMPAT_13	# NetBSD 1.3,
27#options 	COMPAT_14	# NetBSD 1.4,
28options 	COMPAT_16	# NetBSD 1.6,
29#options 	COMPAT_43	# and 4.3BSD
30
31# File systems
32file-system 	FFS		# UFS
33#file-system	EXT2FS		# second extended file system (linux)
34file-system 	MFS		# memory file system
35file-system 	NFS		# Network File System client
36#file-system 	CD9660		# ISO 9660 + Rock Ridge file system
37#file-system 	MSDOSFS		# MS-DOS file system
38
39# File system options
40options 	VNODE_OP_NOINLINE # Save space by not inlining vnode op calls
41#options 	FFS_EI		# FFS Endian Independant support
42#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
43 				# immutable) behave as system flags.
44
45#options 	USERCONF	# userconf(4) support
46#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
47
48# Networking options
49options 	INET		# IP + ICMP + TCP + UDP
50
51#options 	ALTQ		# Manipulate network interfaces' output queues
52#options 	ALTQ_BLUE	# Stochastic Fair Blue
53#options 	ALTQ_CBQ	# Class-Based Queueing
54#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
55#options 	ALTQ_FIFOQ	# First-In First-Out Queue
56#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
57#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
58#options 	ALTQ_LOCALQ	# Local queueing discipline
59#options 	ALTQ_PRIQ	# Priority Queueing
60#options 	ALTQ_RED	# Random Early Detection
61#options 	ALTQ_RIO	# RED with IN/OUT
62#options 	ALTQ_WFQ	# Weighted Fair Queueing
63# options 	NFS_BOOT_BOOTPARAM
64options 	NFS_BOOT_DHCP
65
66#
67# wscons options
68#
69# builtin terminal emulations
70#options 	WSEMUL_VT100		# VT100 / VT220 emulation
71# different kernel output - see dev/wscons/wsdisplayvar.h
72#options 	WS_KERNEL_FG=WSCOL_GREEN
73#options 	WS_KERNEL_BG=WSCOL_BLACK
74# see dev/pckbc/wskbdmap_mfii.c for implemented layouts
75#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
76# allocate a number of virtual screens at autoconfiguration time
77#options 	WSDISPLAY_DEFAULTSCREENS=4
78# use a large software cursor that doesn't blink
79#options 	PCDISPLAY_SOFTCURSOR
80
81# Kernel root file system and dump configuration.
82config	netbsd	root on ? type ?
83
84
85#
86# Device configuration
87#
88
89mainbus0 at root
90cpu0	at mainbus0
91
92
93# Basic Bus Support
94
95# PCI bus support
96pci0	at mainbus0 bus ?
97pci*	at pchb? bus ?
98
99options 	PCI_NETBSD_CONFIGURE
100options 	PCIVERBOSE
101
102# PCI bridges
103pchb*	at pci? dev ? function ?	# PCI-Host bridges
104pcib*	at pci? dev ? function ?	# PCI-ISA bridges
105
106# ISA bus support
107isa*	at pcib?			# ISA on PCI-ISA bridge
108
109# PCMCIA bus support
110# pcmcia* at pcic? controller ? socket ?
111
112# ISA PCMCIA controllers
113# pcic0	at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000
114
115#options 	PCIC_ISA_INTR_ALLOC_MASK=0x4a00 # free irq 9,11,14
116#options 	PCIC_ISA_ALLOC_IOBASE=0x0400
117#options 	PCIC_ISA_ALLOC_IOSIZE=0x0100
118
119# ISA Plug-and-Play bus support
120# isapnp0 at isa?
121
122# on-board I/O for IBM Personal Power Series 830 IDE controller
123# obio0	at mainbus0
124
125
126# Console Devices
127
128# wscons
129# pckbc0		at isa?			# pc keyboard controller
130# pckbd*		at pckbc?		# PC keyboard
131# pms*		at pckbc?		# PS/2 mouse for wsmouse
132# vga*		at pci?
133# wsdisplay*	at vga? console ?
134# wskbd*		at pckbd? console ?
135# wsmouse*	at pms? mux 0
136
137# pcppi0	at isa?				# PC prog. periph. interface
138# isabeep0 at pcppi?			# "keyboard" beep
139
140# mcclock0 at isa? port 0x70		# mc146818 and compatible
141
142
143# Serial Devices
144
145# ISA serial interfaces
146com0	at isa? port 0x3f8 irq 4	# standard PC serial ports
147com1	at isa? port 0x2f8 irq 3
148
149# Parallel Printer Interfaces
150
151# ISA parallel printer interfaces
152lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
153
154
155# SCSI Controllers and Devices
156
157# PCI SCSI controllers
158# adw*	at pci? dev ? function ?	# AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
159# ahc*	at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
160# iha*	at pci? dev ? function ?	# Initio INIC-940/950 SCSI
161# pcscp*	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
162# siop*	at pci? dev ? function ?	# Symbios 53c8xx SCSI
163
164# PCMCIA SCSI controllers
165# aic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
166
167# SCSI bus support
168# scsibus* at adw?
169# scsibus* at ahc?
170# scsibus* at aic?
171# scsibus* at iha?
172# scsibus* at pcscp?
173# scsibus* at siop?
174
175# SCSI devices
176# sd*	at scsibus? target ? lun ?	# SCSI disk drives
177# st*	at scsibus? target ? lun ?	# SCSI tape drives
178# cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
179
180
181# IDE and related devices
182
183# IBM Personal Power Series 830 IDE controller
184# wdc0	at obio? port 0x1f0 irq 13
185# wdc1	at obio? port 0x170 irq 13
186
187# ISA Plug-and-Play IDE controllers
188# wdc*	at isapnp?
189
190# PCMCIA IDE controllers
191# wdc*	at pcmcia? function ?
192
193# IDE drives
194# Flags are used only with controllers that support DMA operations
195# and mode settings (e.g. some pciide controllers)
196# The lowest order four bits (rightmost digit) of the flags define the PIO
197# mode to use, the next set of four bits the DMA mode and the third set the
198# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
199# to use, and the last bit must be 1 for this setting to be used.
200# For DMA and UDMA, 0xf (1111) means 'disable'.
201# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
202# (0xc=1100, 0xa=1010, 0xf=1111)
203# 0x0000 means "use whatever the drive claims to support".
204# wd*	at wdc? channel ? drive ? flags 0x0000
205
206# ATAPI bus support
207# atapibus* at wdc? channel ?
208
209# ATAPI devices
210# flags have the same meaning as for IDE drives.
211# cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
212# sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
213
214# Miscellaneous mass storage devices
215
216# ISA floppy
217# fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
218# fd*	at fdc? drive ?
219
220# Network Interfaces
221
222# PCI network interfaces
223pcn*	at pci? dev ? function ?	# AMD PCnet-PCI Ethernet
224options 	PCN_NO_PROM		# PROM not used for ethernet addr
225
226# PCMCIA network interfaces
227# ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
228# ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
229
230# MII/PHY support
231#acphy*  at mii? phy ?                   # DAltima AC101 and AMD Am79c874 PHYs
232#amhphy* at mii? phy ?                   # AMD 79c901 Ethernet PHYs
233#bmtphy* at mii? phy ?                   # Broadcom BCM5201 and BCM5202 PHYs
234#brgphy* at mii? phy ?                   # Broadcom BCM5400-family PHYs
235#dmphy*  at mii? phy ?                   # Davicom DM9101 PHYs
236#exphy*  at mii? phy ?                   # 3Com internal PHYs
237#gentbi* at mii? phy ?                   # Generic Ten-Bit 1000BASE-[CLS]X PHYs
238#glxtphy* at mii? phy ?                  # Level One LXT-1000 PHYs
239#gphyter* at mii? phy ?                  # NS83861 Gig-E PHY
240icsphy* at mii? phy ?                   # Integrated Circuit Systems ICS189x
241#inphy*  at mii? phy ?                   # Intel 82555 PHYs
242#iophy*  at mii? phy ?                   # Intel 82553 PHYs
243#lxtphy* at mii? phy ?                   # Level One LXT-970 PHYs
244#makphy* at mii? phy ?                   # Marvell Semiconductor 88E1000 PHYs
245#nsphy*  at mii? phy ?                   # NS83840 PHYs
246#nsphyter* at mii? phy ?                 # NS83843 PHYs
247#pnaphy* at mii? phy ?                   # generic HomePNA PHYs
248#qsphy*  at mii? phy ?                   # Quality Semiconductor QS6612 PHYs
249#sqphy*  at mii? phy ?                   # Seeq 80220/80221/80223 PHYs
250#tlphy*  at mii? phy ?                   # ThunderLAN PHYs
251#tqphy*  at mii? phy ?                   # TDK Semiconductor PHYs
252#ukphy*  at mii? phy ?                   # generic unknown PHYs
253#urlphy* at mii? phy ?                   # Realtek RTL8150L internal PHYs
254
255# Audio support
256paud0 at isa? port 0x830 irq 10 drq 0 drq2 1
257audio*	at audiobus?
258
259# Pseudo-Devices
260
261# disk/mass storage pseudo-devices
262pseudo-device	md		1	# memory disk device (ramdisk)
263
264# network pseudo-devices
265pseudo-device	bpfilter	8	# network tap
266pseudo-device	loop			# network loopback
267
268# miscellaneous pseudo-devices
269pseudo-device	pty			# pseudo-terminals
270pseudo-device	rnd			# /dev/random and in-kernel generator
271#options 	RND_COM			# use "com" randomness as well
272pseudo-device	ksyms
273pseudo-device	clockctl
274