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