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