GENERIC revision 1.194
1# $NetBSD: GENERIC,v 1.194 2020/01/19 01:25:04 thorpej Exp $
2#
3# GENERIC machine description file
4#
5# This machine description file is used to generate the default NetBSD
6# kernel.  The generic kernel does not include all options, subsystems
7# and device drivers, but should be useful for most applications.
8#
9# The machine description file can be customised for your specific
10# machine to reduce the kernel size and improve its performance.
11#
12# For further information on compiling NetBSD kernels, see the config(8)
13# man page.
14#
15# For further information on hardware support for this architecture, see
16# the intro(4) man page.  For further information about kernel options
17# for this architecture, see the options(4) man page.  For an explanation
18# of each device driver in this file see the section 4 man page for the
19# device.
20
21include 	"arch/arc/conf/std.arc"
22
23options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
24
25#ident		"GENERIC-$Revision: 1.194 $"
26
27maxusers	32		# estimated number of users
28
29# Platform support
30options 	PLATFORM_ACER_PICA_61		# PICA, NEC ImageRISCstation
31options 	PLATFORM_DESKTECH_ARCSTATION_I	# DeskStation rPC44
32options 	PLATFORM_DESKTECH_TYNE		# DeskStation Tyne
33options 	PLATFORM_MICROSOFT_JAZZ		# MIPS Magnum
34options 	PLATFORM_NEC_J96A		# NEC Express 5800/240 EISA R4K
35options 	PLATFORM_NEC_JC94		# NEC Express 5800/230 PCI R4K
36options 	PLATFORM_NEC_R94		# NEC RISCstation 2200 EISA
37options 	PLATFORM_NEC_R96	# NEC Express RISCserver, RISCserver 2200
38options 	PLATFORM_NEC_RAX94		# NEC RISCstation 2200 PCI
39options 	PLATFORM_NEC_RD94		# NEC RISCstation 2250
40options 	PLATFORM_SNI_RM200PCI
41
42# CPU related options
43makeoptions	CPUFLAGS="-march=mips3 -mabi=32"
44
45# Standard system options
46
47options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
48options 	NTP		# NTP phase/frequency locked loop
49
50options 	KTRACE		# system call tracing via ktrace(1)
51
52options 	SYSVMSG		# System V-like message queues
53options 	SYSVSEM		# System V-like semaphores
54options 	SYSVSHM		# System V-like memory sharing
55
56options 	USERCONF	# userconf(4) support
57#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
58options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
59
60# Alternate buffer queue strategies for better responsiveness under high
61# disk I/O load.
62#options 	BUFQ_READPRIO
63options 	BUFQ_PRIOCSCAN
64
65# Diagnostic/debugging support options
66#options 	DIAGNOSTIC		# cheap kernel consistency checks
67#options 	DEBUG			# expensive debugging checks/support
68options 	DDB			# in-kernel debugger
69#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
70#options 	KGDB			# remote gdb
71#options 	KGDB_DEVRATE=19200	# kernel gdb port rate (default 9600)
72#options 	KGDB_DEV="17*256+0"	# device for kernel gdb
73#makeoptions	DEBUG="-g"		# compile full symbol table
74
75# Compatibility options
76include 	"conf/compat_netbsd10.config"
77
78options 	COMPAT_386BSD_MBRPART # recognize old partition ID
79
80# mipsel specific
81options 	COMPAT_ULTRIX	# Ultrix binary compatibility
82options 	EXEC_ECOFF	# Ultrix RISC binaries are ECOFF format
83
84# File systems
85file-system 	FFS		# fast filesystem
86file-system 	EXT2FS		# second extended file system (linux)
87file-system 	LFS		# log-structured file system
88file-system 	MFS		# memory file system
89file-system 	NTFS		# Windows/NT file system (experimental)
90file-system 	CD9660		# ISO 9660 + Rock Ridge file system
91file-system 	MSDOSFS		# MS-DOS file system
92file-system 	NFS		# Network File System client
93file-system 	FDESC		# /dev/fd
94file-system 	KERNFS		# /kern
95file-system 	NULLFS		# loopback file system
96file-system 	OVERLAY		# overlay file system
97file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
98file-system 	PROCFS		# /proc
99file-system 	UMAPFS		# NULLFS + uid and gid remapping
100file-system 	UNION		# union file system
101#file-system	CODA		# Coda File System; also needs vcoda (below)
102file-system	PTYFS		# /dev/pts/N support
103file-system	TMPFS		# Efficient memory file-system
104#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
105
106# File system options
107options 	QUOTA		# legacy UFS quotas
108options 	QUOTA2		# new, in-filesystem UFS quotas
109#options 	FFS_EI		# FFS Endian Independent support
110options 	WAPBL		# File system journaling support
111#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
112options 	NFSSERVER	# Network File System server
113#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
114				# immutable) behave as system flags.
115#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
116options 	UFS_EXTATTR	# Extended attribute support for UFS1
117
118# Networking options
119#options 	GATEWAY		# IP packet forwarding
120options 	INET		# IP + ICMP + TCP + UDP
121options 	INET6		# IPV6
122#options 	IPSEC		# IP security
123#options 	IPSEC_DEBUG	# debug for IP security
124#options 	MROUTING	# IP multicast routing
125#options 	PIM		# Protocol Independent Multicast
126options 	NETATALK	# AppleTalk networking protocols
127options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
128options 	PPP_DEFLATE	# Deflate compression support for PPP
129options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
130#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
131
132#options 	ALTQ		# Manipulate network interfaces' output queues
133#options 	ALTQ_BLUE	# Stochastic Fair Blue
134#options 	ALTQ_CBQ	# Class-Based Queueing
135#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
136#options 	ALTQ_FIFOQ	# First-In First-Out Queue
137#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
138#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
139#options 	ALTQ_LOCALQ	# Local queueing discipline
140#options 	ALTQ_PRIQ	# Priority Queueing
141#options 	ALTQ_RED	# Random Early Detection
142#options 	ALTQ_RIO	# RED with IN/OUT
143#options 	ALTQ_WFQ	# Weighted Fair Queueing
144
145# JIT compiler for bpfilter
146#options	SLJIT
147#options	BPFJIT
148
149# These options enable verbose messages for several subsystems.
150# Warning, these may compile large string tables into the kernel!
151#options 	EISAVERBOSE	# verbose EISA device autoconfig messages
152options 	MIIVERBOSE	# verbose PHY autoconfig messages
153options 	PCIVERBOSE	# verbose PCI device autoconfig messages
154#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
155options 	SCSIVERBOSE	# human readable SCSI error messages
156
157# wscons terminal emulation
158options 	WSEMUL_VT100	# VT100 emulation
159options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
160
161# Kernel root file system and dump configuration.
162options 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
163config		netbsd	root on ? type ?
164#config		netbsd	root on sd0a type ffs
165#config		netbsd	root on ? type nfs
166
167#
168# Device configuration
169#
170
171mainbus0	at root
172cpu*		at mainbus0
173
174#### Jazz-Internal bus devices
175
176# PLATFORM_ACER_PICA_61
177# PLATFORM_MICROSOFT_JAZZ
178# PLATFORM_NEC_J96A
179# PLATFORM_NEC_JC94
180# PLATFORM_NEC_R94
181# PLATFORM_NEC_R96
182# PLATFORM_NEC_RAX94
183# PLATFORM_NEC_RD94
184jazzio*		at mainbus0	# Jazz-Internal bus host bridge.
185
186timer0		at jazzio?
187mcclock0 	at jazzio?
188#pc0		at jazzio?
189#opms0		at jazzio?
190vga0		at jazzio?	# Jazz localbus VGA
191pckbc0		at jazzio?	# PC keyboard controller
192com0		at jazzio?
193com1		at jazzio?
194lpt0		at jazzio?
195sn0		at jazzio?
196
197fdc0		at jazzio?
198fd*		at fdc? drive ?
199
200asc0		at jazzio? flags 0x000000	# NCR53C9x SCSI
201osiop*		at jazzio? flags 0x00000	# NCR53C710 SCSI
202oosiop* 	at jazzio?			# NCR53C700 SCSI
203
204#### ISA bus devices
205
206# PLATFORM_ACER_PICA_61
207# PLATFORM_MICROSOFT_JAZZ
208# PLATFORM_NEC_J96A
209# PLATFORM_NEC_R94
210# PLATFORM_NEC_R96
211jazzisabr*	at mainbus0	# Jazz-(E)ISA bus bridge.
212isa*		at jazzisabr?
213
214# PLATFORM_DESKTECH_ARCSTATION_I
215arcsisabr*	at mainbus0	# DeskStation rPC44 ISA host bridge.
216isa*		at arcsisabr?
217
218# PLATFORM_DESKTECH_TYNE
219tyneisabr*	at mainbus0	# DeskStation Tyne ISA host bridge.
220isa*		at tyneisabr?
221
222#isadma0 	at isa?
223
224isapnp0 	at isa?
225
226timer0		at isa? port 0x40 irq 0
227mcclock0 	at isa? port 0x70
228
229#pc0		at isa? irq 1			# generic PC console device
230#opms0		at isa? irq 12			# PS/2 auxiliary port mouse
231vga0		at isa?
232#options 	VGA_RASTERCONSOLE
233options 	VGA_RESET
234pckbc0		at isa?				# PC keyboard controller
235com0		at isa? port 0x3f8 irq 4
236com1		at isa? port 0x2f8 irq 3
237com2		at isa? port 0x3e8 irq 4
238com3		at isa? port 0x2e8 irq 3
239ast0		at isa? port 0x1a0 irq 3	# AST 4-port serial cards
240com*		at ast? slave ?
241
242# Joystick driver. Probe is a little strange; add only if you have one.
243#joy0		at isa? port 0x201
244
245# ISA ST506, ESDI, and IDE controllers
246# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
247# fall back to 16bits I/O if 32bits I/O are not functional).
248# Some controllers pass the initial 32bit test, but will fail later.
249wdc0		at isa? port 0x1f0 irq 14 flags 0x00
250#wdc1		at isa? port 0x170 irq 15 flags 0x00
251wdc*		at isapnp?
252
253# ISA parallel printer interfaces
254lpt0		at isa? port 0x378 irq 7
255
256# ISA network interfaces
257#ec0		at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
258ep*		at isa? port ? irq ?		# 3C509 ethernet cards
259ep*		at isapnp?			# 3C509B ethernet card
260ne0		at isa? port 0x280 irq 9	# NE[12]000 ethernet cards
261ne1		at isa? port 0x300 irq 10
262ne*		at isapnp?			# NE[12]000 PnP ethernet
263we0		at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC Ethernet
264we1		at isa? port 0x300 iomem 0xcc000 irq 10
265
266# XXX - should be configured
267#btl0		at isa? port 0x330 irq ? drq ?
268
269#### PCI bus devices
270
271# PLATFORM_NEC_JC94
272# PLATFORM_NEC_RAX94
273# PLATFORM_NEC_RD94
274necpb*		at mainbus0	# NEC RISCstation PCI host bridge.
275pci*		at necpb?
276pci*		at ppb? bus ?
277options 	PCI_NETBSD_CONFIGURE
278
279ppb*		at pci? dev ? function ?	# PCI-PCI bridges
280
281# PCI cryptographic devices
282hifn*	at pci? dev ? function ?	# Hifn 7755/7811/795x
283ubsec*	at pci? dev ? function ?	# Broadcom 5501/5601/580x/582x
284
285#vga*	 	at pci? dev ? function ?
286tga*		at pci? dev ? function ?	# DEC ZLXp-E[123] Graphics
287
288# PCI SCSI controllers
289adv*		at pci? dev ? function ?	# AdvanSys 1200[A,B], 9xx[U,UA]
290ahc*		at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
291iha*		at pci? dev ? function ?	# Initio INIC-940/950 SCSI
292njs*		at pci? dev ? function ?	# Workbit NinjaSCSI-32
293pcscp*		at pci? dev ? function ?	# AMD Am53c974 PCscsi-PCI SCSI
294siop*		at pci? dev ? function ?	# NCR/Symbios 53c8xx SCSI
295esiop*		at pci? dev ? function ?	# NCR/Symbios 53c875/95/1010
296trm*		at pci? dev ? function ?	# Tekram DC-395/315 SCSI
297
298# PCI IDE controllers - see pciide(4) for supported hardware.
299# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
300# how to set up DMA modes for this chip. This may work, or may cause
301# a machine hang with some controllers.
302pciide* 	at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
303acardide*	at pci? dev ? function ?	# Acard IDE controllers
304#aceride* 	at pci? dev ? function ?	# Acer Lab IDE controllers
305#artsata*	at pci? dev ? function ?	# Intel i31244 SATA controller
306cmdide* 	at pci? dev ? function ?	# CMD tech IDE controllers
307#cypide* 	at pci? dev ? function ?	# Cypress IDE controllers
308hptide* 	at pci? dev ? function ?	# Triones/HighPoint IDE controllers
309optiide* 	at pci? dev ? function ?	# Opti IDE controllers
310pdcide* 	at pci? dev ? function ?	# Promise IDE controllers
311pdcsata* 	at pci? dev ? function ?	# Promise SATA150 controllers
312satalink*	at pci? dev ? function ?	# SiI SATALink controllers
313#siside* 	at pci? dev ? function ?	# SiS IDE controllers
314slide*  	at pci? dev ? function ?	# Symphony Labs IDE controllers
315viaide* 	at pci? dev ? function ?	# VIA/AMD/Nvidia IDE controllers
316
317# PCI network devices
318#an*		at pci? dev ? function ?	# Aironet PC4500/PC4800 (802.11)
319bge*		at pci? dev ? function ?	# Broadcom 570x gigabit Ethernet
320ep*		at pci? dev ? function ?	# 3Com 3c59x
321epic*		at pci? dev ? function ?	# SMC EPIC/100 Ethernet
322#esh*		at pci? dev ? function ?	# Essential HIPPI card
323ex*		at pci? dev ? function ?	# 3Com 90x[BC]
324#fpa*		at pci? dev ? function ?	# DEC DEFPA FDDI
325fxp*		at pci? dev ? function ?	# Intel EtherExpress PRO
326gsip*		at pci? dev ? function ?	# NS83820 Gigabit Ethernet
327#hme*		at pci? dev ? function ?	# Sun STP2002-STQ
328#le*		at pci? dev ? function ?	# PCnet-PCI Ethernet
329#mtd*		at pci? dev ? function ?	# Myson MTD803 3-in-1 Ethernet
330ne*		at pci? dev ? function ?	# NE2000-compatible
331#ntwoc*		at pci? dev ? function ?	# Riscom/N2 PCI Sync Serial
332pcn*		at pci? dev ? function ?	# AMD PCnet-PCI Ethernet
333re*		at pci? dev ? function ?	# Realtek 8139C+/8169/8110S
334rtk*		at pci? dev ? function ?	# Realtek 8129/8139
335sf*		at pci? dev ? function ?	# Adaptec AIC-6915 Ethernet
336sip*		at pci? dev ? function ?	# SiS 900/DP83815 Ethernet
337#skc*		at pci? dev ? function ?	# SysKonnect SK9821
338#sk*		at skc?				# SysKonnect SK9821
339ste*		at pci? dev ? function ?	# Sundance ST-201 Ethernet
340#stge*		at pci? dev ? function ?	# Sundance/Tamarack TC9021
341#ti*		at pci? dev ? function ?	# Alteon ACEnic gigabit Ethernet
342tl*		at pci? dev ? function ?	# ThunderLAN-based Ethernet
343tlp*		at pci? dev ? function ?	# DECchip 21x4x and clones
344vge*		at pci? dev ? function ?	# VIA VT612X Gigabit Ethernet
345vr*		at pci? dev ? function ?        # VIA Rhine Fast Ethernet
346#wi*		at pci? dev ? function ?	# Intersil Prism Mini-PCI
347wm*		at pci? dev ? function ?	# Intel 82543/82544 gigabit
348
349#### MII/PHY support
350acphy*		at mii? phy ?		# Altima AC101 and AMD Am79c874 PHYs
351amhphy* 	at mii? phy ?		# AMD 79c901 Ethernet PHYs
352bmtphy*		at mii? phy ?		# Broadcom BCM5201 and BCM5202 PHYs
353brgphy* 	at mii? phy ?		# Broadcom BCM5400-family PHYs
354ciphy*		at mii? phy ?		# Cicada CS8201 Gig-E PHYs
355dmphy*		at mii? phy ?		# Davicom DM9101 PHYs
356exphy*		at mii? phy ?		# 3Com internal PHYs
357#gentbi* 	at mii? phy ?		# Generic Ten-Bit 1000BASE-[CLS]X PHYs
358glxtphy* 	at mii? phy ?		# Level One LXT-1000 PHYs
359gphyter* 	at mii? phy ?		# NS83861 Gig-E PHY
360icsphy*		at mii? phy ?		# Integrated Circuit Systems ICS189x
361ikphy*		at mii? phy ?		# Intel 82563 PHYs
362inphy*		at mii? phy ?		# Intel 82555 PHYs
363iophy*		at mii? phy ?		# Intel 82553 PHYs
364lxtphy*		at mii? phy ?		# Level One LXT-970 PHYs
365makphy* 	at mii? phy ?		# Marvell Semiconductor 88E1000 PHYs
366nsphy*		at mii? phy ?		# NS83840 PHYs
367nsphyter*	at mii? phy ?		# NS83843 PHYs
368qsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
369sqphy*		at mii? phy ?		# Seeq 80220/80221/80223 PHYs
370tlphy*		at mii? phy ?		# ThunderLAN PHYs
371tqphy*		at mii? phy ?		# TDK Semiconductor PHYs
372ukphy*		at mii? phy ?		# generic unknown PHYs
373#urlphy* 	at mii? phy ?		# Realtek RTL8150L internal PHYs
374
375# SCSI bus support
376scsibus*	at scsi?
377
378#### SCSI bus devices
379
380sd*		at scsibus? target ? lun ?
381st*		at scsibus? target ? lun ?
382cd*		at scsibus? target ? lun ?
383ch*		at scsibus? target ? lun ?
384ss*		at scsibus? target ? lun ?
385uk*		at scsibus? target ? lun ?
386
387# ATA (IDE) bus support
388atabus* 	at ata?
389
390# IDE drives
391# Flags are used only with controllers that support DMA operations
392# and mode settings (e.g. some pciide controllers)
393# The lowest order four bits (rightmost digit) of the flags define the PIO
394# mode to use, the next set of four bits the DMA mode and the third set the
395# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
396# to use, and the last bit must be 1 for this setting to be used.
397# For DMA and UDMA, 0xf (1111) means 'disable'.
398# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
399# (0xc=1100, 0xa=1010, 0xf=1111)
400# 0x0000 means "use whatever the drive claims to support".
401wd*		at atabus? drive ? flags 0x0000
402
403# ATAPI bus support
404atapibus*	at atapi?
405
406#### ATAPI bus devices
407
408# flags have the same meaning as for IDE drives.
409cd*		at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
410sd*		at atapibus? drive ? flags 0x0000	# ATAPI disk drives
411uk*		at atapibus? drive ? flags 0x0000	# ATAPI unknown
412
413#### Workstation Console attachments
414
415wsdisplay*	at vga?
416wsdisplay*	at tga?
417pckbd*		at pckbc?	# PC keyboard (kbd port)
418wskbd*		at pckbd?
419pms*		at pckbc?	# PS/2-style mouse (aux port)
420wsmouse*	at pms?
421
422#### Pseudo devices
423
424pseudo-device 	crypto			# /dev/crypto device
425pseudo-device	swcrypto		# software crypto implementation
426
427# disk/mass storage pseudo-devices
428pseudo-device	ccd			# concatenated/striped disk devices
429#pseudo-device	cgd			# cryptographic disk devices
430pseudo-device	raid			# RAIDframe disk driver
431#options 	RAID_AUTOCONFIG
432# Options to enable various other RAIDframe RAID types.
433#options 	RF_INCLUDE_EVENODD=1
434#options 	RF_INCLUDE_RAID5_RS=1
435#options 	RF_INCLUDE_PARITYLOGGING=1
436#options 	RF_INCLUDE_CHAINDECLUSTER=1
437#options 	RF_INCLUDE_INTERDECLUSTER=1
438#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
439#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
440pseudo-device	fss			# file system snapshot device
441pseudo-device	md			# memory disk device (ramdisk)
442pseudo-device	vnd			# disk-like interface to files
443#options 	VND_COMPRESSION		# compressed vnd(4)
444pseudo-device	putter			# for puffs and pud
445
446# network pseudo-devices
447pseudo-device	bpfilter		# Berkeley packet filter
448pseudo-device	carp			# Common Address Redundancy Protocol
449pseudo-device	npf			# NPF packet filter
450pseudo-device	loop			# network loopback
451pseudo-device	ppp			# Point-to-Point Protocol
452pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
453pseudo-device	sl			# Serial Line IP
454pseudo-device	tun			# network tunneling over tty
455pseudo-device	tap			# virtual Ethernet
456#pseudo-device	gre			# generic L3 over IP tunnel
457pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
458#pseudo-device	faith			# IPv[46] tcp relay translation i/f
459pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
460pseudo-device	vlan			# IEEE 802.1q encapsulation
461pseudo-device	bridge			# simple inter-network bridging
462#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
463pseudo-device	agr			# IEEE 802.3ad link aggregation
464
465#
466# accept filters
467pseudo-device   accf_data		# "dataready" accept filter
468pseudo-device   accf_http		# "httpready" accept filter
469
470# miscellaneous pseudo-devices
471pseudo-device	pty			# pseudo-terminals
472#pseudo-device	sequencer		# MIDI sequencer
473# rnd works; RND_COM does not on port arc yet.
474#options 	RND_COM			# use "com" randomness as well (BROKEN)
475pseudo-device	clockctl		# user control of clock subsystem
476
477# a pseudo device needed for Coda	# also needs CODA (above)
478#pseudo-device	vcoda			# coda minicache <-> venus comm.
479
480# mouse & keyboard multiplexor pseudo-devices
481#pseudo-device	wsmux
482pseudo-device	ksyms			# /dev/ksyms
483
484include "dev/veriexec.config"
485