xref: /netbsd-src/sys/arch/sparc64/conf/GENERIC (revision 4724848cf0da353df257f730694b7882798e5daf)
1# $NetBSD: GENERIC,v 1.239 2023/02/09 14:09:49 abs 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/sparc64/conf/std.sparc64"
22
23options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
24
25#ident		"GENERIC-$Revision: 1.239 $"
26
27maxusers	64
28
29## System kernel configuration.  See options(4) for more detail.
30
31
32# Options for variants of the Sun SPARC architecure.
33options 	SUN4U		# sun4u - UltraSPARC
34options 	SUN4V		# sun4v - UltraSPARC T1/T2+/T3/T4/T5
35#options 	BLINK		# blink the system LED
36
37#### System options that are the same for all ports
38
39## Root device configuration: change the ?'s if you are going to use a
40## nonstandard root partition (other than where the kernel is booted from)
41## and/or nonstandard root type (not ffs or nfs).  Normally this can be
42## automagically determined at boot time.
43
44config		netbsd	root on ? type ?
45
46## UVM options.
47#options 	UVM_PAGE_TRKOWN
48#options 	UVMHIST
49#options 	UVMHIST_PRINT	# Loud!
50
51## System call tracing (see ktrace(1)).
52options 	KTRACE
53
54## System V compatible IPC subsystem.  (msgctl(2), semctl(2), and shmctl(2))
55options 	SYSVMSG		# System V message queues
56options 	SYSVSEM		# System V semaphores
57options 	SYSVSHM		# System V shared memory
58
59options 	MODULAR		# new style module(7) framework
60options 	MODULAR_DEFAULT_AUTOLOAD
61
62options 	USERCONF	# userconf(4) support
63#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
64options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
65
66# Alternate buffer queue strategies for better responsiveness under high
67# disk I/O load.
68#options 	BUFQ_READPRIO
69options 	BUFQ_PRIOCSCAN
70
71## NFS boot options; tries DHCP/BOOTP then BOOTPARAM
72options 	NFS_BOOT_BOOTPARAM
73#options 	NFS_BOOT_BOOTP
74options 	NFS_BOOT_DHCP
75
76#### Debugging options
77
78## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
79## serial console break or keyboard reset, where the PROM would normally
80## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
81# we enable DDB in GENERIC for now.
82options 	DDB			# kernel dynamic debugger
83options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
84options 	DDB_VERBOSE_HELP	# enable verbose online help
85#options 	DDB_ONPANIC=1		# see also sysctl(7): `ddb.onpanic'
86
87## You may also use gdb, on another computer connected to this machine over
88## a serial port.
89# options 	KGDB
90# options 	KGDB_DEVNAME="\"sabtty1\""	# kgdb device name
91# options 	KGDB_DEVRATE=38400		# baud rate (defaults to 9600)
92
93
94## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
95## such that gdb(1) can be used on a kernel coredump.
96
97#makeoptions	DEBUG="-g"
98
99
100## Adds code to the kernel that does internal consistency checks, and will
101## cause the kernel to panic if corruption of internal data structures
102## is detected.
103options 	DIAGNOSTIC	# extra kernel sanity checking
104
105## Enable (possibly expensive) debugging code that may also display messages
106## on the system console
107#options 	DEBUG
108#options 	LOCKDEBUG
109#options 	SYSCALL_DEBUG
110
111## Make SCSI error messages more verbose when explaining their meanings.
112options 	SCSIVERBOSE
113options 	PCIVERBOSE
114options 	MIIVERBOSE	# verbose PHY autoconfig messages
115#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
116
117## `INSECURE' turns off the kernel security level (securelevel = 0 always).
118## This allows writing to /dev/mem, loading kernel modules while multi-user,
119## and other insecurities good only for development work.  Do not use this
120## option on a production machine.
121#options 	INSECURE
122
123## `FDSCRIPTS' allows non-readable but executable scripts by providing a
124## pre-opened opaque file to the script interpreter.  `SETUIDSCRIPTS',
125## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
126## opaque file mechanism.  Perl calls this "secure setuid scripts."
127
128#options 	FDSCRIPTS
129#options 	SETUIDSCRIPTS
130
131## Options for compatibility with previous releases foreign system binaries.
132## In the cases of COMPAT_SUNOS, you may need to set up additional user-level
133## utilities or system configuration files. See compat_sunos(8).
134
135include 	"conf/compat_netbsd09.config"
136options 	COMPAT_SUNOS	# SunOS 4.x binary compatibility
137options 	COMPAT_NETBSD32	# NetBSD/sparc binary compatibility -- 64-bit only
138options 	EXEC_AOUT	# execve(2) support for a.out binaries
139options 	EXEC_ELF32	# Exec module for SunOS 5.x binaries.
140
141# Wedge support
142options 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
143options 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges
144#options 	DKWEDGE_METHOD_BSDLABEL	# Support disklabel entries as wedges
145#options 	DKWEDGE_METHOD_MBR	# Support MBR partitions as wedges
146#options 	DKWEDGE_METHOD_APPLE	# Support Apple partitions as wedges
147#options 	DKWEDGE_METHOD_RDB	# Support RDB partitions as wedges
148
149## File systems.
150include "conf/filesystems.config"
151
152## File system options.
153options 	FFS_EI		# FFS Endian Independent support
154#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
155options 	QUOTA		# legacy UFS quotas
156options 	QUOTA2		# new, in-filesystem UFS quotas
157options 	UFS_DIRHASH	# UFS Large Directory Hashing
158options 	UFS_EXTATTR	# Extended attribute support for UFS1
159options 	WAPBL		# File system journaling support
160options 	NFSSERVER	# Network File System server
161
162## Network protocol support.  In most environments, INET is required.
163options 	INET		# IP (Internet Protocol) v4
164options 	INET6		# IPV6
165#options 	IPSEC		# IP security
166#options 	IPSEC_DEBUG	# debug for IP security
167#options 	GATEWAY		# packet forwarding ("router switch")
168options 	MROUTING	# packet forwarding of multicast packets
169options 	PIM		# Protocol Independent Multicast
170options 	NETATALK	# AppleTalk (over Ethernet) protocol
171options 	NTP		# Network Time Protocol in-kernel support
172#options 	PPS_SYNC	# Add serial line synchronization for NTP
173options 	PPP_BSDCOMP	# Add BSD compression to ppp device
174options 	PPP_DEFLATE	# Add deflate (libz) compression to ppp device
175options 	PPP_FILTER	# Add active filters for ppp (via bpf)
176#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
177
178#options 	ALTQ		# Manipulate network interfaces' output queues
179#options 	ALTQ_BLUE	# Stochastic Fair Blue
180#options 	ALTQ_CBQ	# Class-Based Queueing
181#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
182#options 	ALTQ_FIFOQ	# First-In First-Out Queue
183#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
184#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
185#options 	ALTQ_LOCALQ	# Local queueing discipline
186#options 	ALTQ_PRIQ	# Priority Queueing
187#options 	ALTQ_RED	# Random Early Detection
188#options 	ALTQ_RIO	# RED with IN/OUT
189#options 	ALTQ_WFQ	# Weighted Fair Queueing
190
191
192#### Main bus and CPUs .. all systems.
193mainbus0 at root
194options 	MULTIPROCESSOR		# include multiprocessor support
195cpu*		at mainbus0		# declare additional CPUs
196
197#### Bus types found on SPARC systems.
198
199sbus*	at mainbus0				# SBus-based systems
200psycho* at mainbus0				# PCI-based systems
201schizo* at mainbus?
202pyro*	at mainbus?
203vpci*	at mainbus0
204central* at mainbus?
205fhc*	at mainbus?
206pci*	at psycho?
207pci*	at schizo?
208pci*	at pyro?
209pci*	at vpci?
210pci*	at ppb?
211ppb*	at pci?
212fhc*	at central?
213ebus*	at mainbus0				# ebus devices
214ebus*	at pci?					# ebus devices
215# XXX 'puc's aren't really bridges, but there's no better place for them here
216puc*	at pci? dev ? function ?		# PCI "universal" comm. cards
217vbus0	at mainbus0
218cbus*	at vbus?
219
220#### Standard system devices -- all required for a given architecture
221
222## PROM console driver -- if all else fails
223pcons0	at mainbus0				# PROM console
224
225## Auxiliary system registers -- We use the OBP for power management
226auxio*	at ebus?				# auxio registers
227auxio*	at sbus? slot ? offset ?		# auxio registers
228
229# We also need:
230bpp*	at sbus? slot ? offset ?		# parallel port
231lpt*	at ebus?				# parallel port
232
233## Mostek clock found on sbus on Ultra-1,2 systems
234## and found on ebus on Ultra-5 and other systems.
235clock*	at sbus? slot ? offset ?
236clock*	at fhc?
237clock*	at ebus?
238
239## DS1287 compatible clock found on ebus on Netra X1 and other systems.
240rtc*	at ebus?
241
242## Timer chip found on 4/300, sun4c, sun4m and (some) sun4u systems.
243timer*	at mainbus0				# sun4c
244
245## found in schizo-based systems
246jbusi2c* 	at mainbus0
247iic* 	at jbusi2c?
248
249# Virtual devices for sun4v systems.
250vrtc0	at vbus?
251vdsk*	at cbus?
252vnet*	at cbus?
253
254#### Serial port configuration
255
256## Zilog 8530 serial chips.  Each has two-channels.
257## zs0 is ttya and ttyb.  zs1 is the keyboard and mouse.
258zs*	at sbus? slot ? offset ?
259zs*	at fhc?
260zstty*	at zs? channel ?			# ttys
261kbd0	at zstty?
262ms0	at zstty?
263
264## PCI machines have serial ports:
265##	Siemens SAB82532 controller: ttya and ttyb (`su'; sab)
266##	Part of NS PC87332VLJ Super I/O controller: kbd/mouse (`se'; com)
267
268## The SAB82532 controller has two serial ports
269sab*	at ebus?				# ttya/ttyb
270sabtty* at sab? channel ?
271
272## Part of a PC87332VLJ
273com*	at ebus?				# `com' driver for `su'
274kbd0	at com?					# keyboard
275ms0	at com?					# mouse
276
277## Tadpole SPARCle PS/2 keyboard and mouse
278pckbc*		at ebus?		# PC keyboard controller
279options 	HAVE_TADPMU		# include support for Tadpole Viper PMU
280pckbd*		at pckbc?		# PC keyboard
281pms*		at pckbc?		# PS/2 mouse for wsmouse
282options 	PMS_SYNAPTICS_TOUCHPAD	# Enable support for Synaptics Touchpads
283wskbd*		at pckbd? console ?
284wsmouse*	at pms? mux 0
285
286## Tadpole SPARCle SD card
287wb* 		at ebus?		# Winbond W83L518D SD/MMC reader
288sdmmc* 		at wb?
289ld* 		at sdmmc?
290
291## Magma Serial/Parallel driver (not tested)
292#magma*	at sbus? slot ? offset ?
293#mtty*	at magma?
294#mbpp*	at magma?
295
296## SUNW,spif Serial/Parallel driver
297spif*	at sbus? slot ? offset ?
298stty*	at spif?
299sbpp*	at spif?
300
301## PCI serial interfaces
302com*	at puc? port ?			# 16x50s on "universal" comm boards
303cy*	at pci? dev ? function ?	# Cyclades Cyclom-Y serial boards
304cz*	at pci? dev ? function ?	# Cyclades-Z multi-port serial boards
305
306# PCI cryptographic devices
307hifn*	at pci? dev ? function ?	# Hifn 7755/7811/795x
308ubsec*	at pci? dev ? function ?	# Broadcom 5501/5601/580x/582x
309
310
311#### Disk controllers and disks
312
313## The following flags may be set for the NCR53c94 based esp driver:
314##	bits 0-7:  disable disconnect/reselect for the corresponding target
315##	bits 8-15: disable synchronous negotiation for target [bit-8]
316##	bits 16-23: disable tagged queuing for target [bit-16]
317
318## sun4u on-board SCSI, and FSBE/S SBus SCSI cards, an NCR53c94 or
319## equivalent behind an LSI Logic DMA controller
320
321dma*	at sbus? slot ? offset ?		# SBus
322esp*	at dma?					# SBus
323
324esp*	at sbus? slot ? offset ?
325isp*	at sbus? slot ? offset ?
326isp*	at pci? dev ? function ?	# Qlogic ISP [12]0x0 SCSI/FibreChannel
327siop*	at pci?				# 53C8xx ("glm" compatible)
328esiop*	at pci?				# 53C875 and newer ("glm" compatible)
329
330# PCI SCSI controllers
331#	UT marks untested.
332adv*	at pci? dev ? function ?	# AdvanSys 1200[A,B], 9xx[U,UA] SCSI UT
333adw*	at pci? dev ? function ?	# AdvanSys 9x0UW[D], 3940U[2,3]W SCSI UT
334ahc*	at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
335bha*	at pci? dev ? function ?	# BusLogic 9xx SCSI UT
336dpt*	at pci? dev ? function ?	# DPT SmartCache/SmartRAID UT
337iha*	at pci? dev ? function ?	# Initio INIC-940/950 SCSI
338mpt*	at pci? dev ? function ?	# LSILogic 9x9 and 53c1030
339njs*	at pci? dev ? function ?	# Workbit NinjaSCSI-32
340pcscp*	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
341trm*	at pci? dev ? function ?	# Tekram DC-395U/UW/F, DC-315/U SCSI
342
343scsibus* at scsi?
344
345## These entries find devices on all SCSI busses and assign
346## unit numbers dynamically.
347sd*	at scsibus? target ? lun ?		# SCSI disks
348st*	at scsibus? target ? lun ?		# SCSI tapes
349cd*	at scsibus? target ? lun ?		# SCSI CD-ROMs
350ch*	at scsibus? target ? lun ?		# SCSI changer devices
351ss*	at scsibus? target ? lun ?		# SCSI scanners
352ses*	at scsibus? target ? lun ?		# SCSI SES/SAF-TE devices
353uk*	at scsibus? target ? lun ?		# unknown SCSI
354
355# IDE and related devices
356# PCI IDE controllers - see pciide(4) for supported hardware.
357# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
358# how to set up DMA modes for this chip. This may work, or may cause
359# a machine hang with some controllers.
360pciide* at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
361acardide* at pci? dev ? function ?	# Acard IDE controllers
362aceride* at pci? dev ? function ?	# Acer Lab IDE controllers
363artsata* at pci? dev ? function ?	# Intel i31244 SATA controller
364cmdide* at pci? dev ? function ?	# CMD tech IDE controllers
365cypide* at pci? dev ? function ?	# Cypress IDE controllers
366hptide* at pci? dev ? function ?	# Triones/HighPoint IDE controllers
367optiide* at pci? dev ? function ?	# Opti IDE controllers
368pdcide* at pci? dev ? function ?	# Promise IDE controllers
369pdcsata* at pci? dev ? function ?	# Promise SATA150 controllers
370satalink* at pci? dev ? function ?	# SiI SATALink controllers
371siisata* at pci? dev ? function ?	# SiI SteelVine controllers
372siside* at pci? dev ? function ?	# SiS IDE controllers
373slide*	at pci? dev ? function ?	# Symphony Labs IDE controllers
374viaide* at pci? dev ? function ?	# VIA/AMD/Nvidia IDE controllers
375
376# ATA (IDE) bus support
377atabus* at ata?
378atapibus* at atapi?
379
380# IDE drives
381# Flags are used only with controllers that support DMA operations
382# and mode settings (e.g. some pciide controllers)
383# The lowest order four bits (rightmost digit) of the flags define the PIO
384# mode to use, the next set of four bits the DMA mode and the third set the
385# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
386# to use, and the last bit must be 1 for this setting to be used.
387# For DMA and UDMA, 0xf (1111) means 'disable'.
388# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
389# (0xc=1100, 0xa=1010, 0xf=1111)
390# 0x0000 means "use whatever the drive claims to support".
391wd*	at atabus? drive ? flags 0x0000
392
393cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
394sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
395uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
396
397# RAID controllers and devices (untested)
398cac*	at pci? dev ? function ?	# Compaq PCI array controllers
399mlx*	at pci? dev ? function ?	# Mylex DAC960 & DEC SWXCR family
400twe*	at pci? dev ? function ?	# 3ware Escalade RAID controllers
401
402ld*	at cac? unit ?			# logical disk devices
403ld*	at twe? unit ?
404ld*	at mlx? unit ?
405
406# Virtio devices
407virtio* at pci? dev ? function ?	# Virtio PCI device
408# the baloon driver can not work on machines with non-4k pages
409#viomb*	at virtio?			# Virtio memory balloon device
410ld*	at virtio?			# Virtio disk device
411vioif*	at virtio?			# Virtio network device
412viornd* at virtio?			# Virtio entropy device
413vioscsi* at virtio?			# Virtio SCSI device
414
415## Floppy controller and drive found on SPARCstations.
416
417# need share with the sparc, and everyone else.  needs to use auxio.
418# actually, the ebus version has (will have) direct access to its AUXIO
419# register space (it is mapped in to fdthree not auxio).
420fdc0	at sbus? slot ? offset ?		# SUNW,fdtwo
421#fdc0	at ebus?				# fdthree, EXPERIMENTAL
422fd*	at fdc0					# the drive itself
423
424#
425# accept filters
426pseudo-device	accf_data		# "dataready" accept filter
427pseudo-device	accf_http		# "httpready" accept filter
428
429## A disk-like interface to files.  Can be used to create floppy, CD,
430## miniroot images, etc.
431
432pseudo-device	vnd
433#options 	VND_COMPRESSION		# compressed vnd(4)
434
435## Concatenated and striped disks; with this, you can create a software-based
436## disk array similar to a "RAID 0" setup.  See ccd(4).
437
438pseudo-device	ccd
439
440## Cryptographic disk devices.  See cgd(4).
441
442pseudo-device	cgd
443
444## RAIDframe disk driver: software RAID driver.  See raid(4).
445
446pseudo-device	raid
447options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
448# Options to enable various other RAIDframe RAID types.
449# options 	RF_INCLUDE_EVENODD=1
450# options 	RF_INCLUDE_RAID5_RS=1
451# options 	RF_INCLUDE_PARITYLOGGING=1
452# options 	RF_INCLUDE_CHAINDECLUSTER=1
453# options 	RF_INCLUDE_INTERDECLUSTER=1
454# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
455# options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
456
457
458## Memory disk device, used on boot floppies with compressed
459## kernel-plus-root-disk images.
460
461pseudo-device	md
462
463
464#### Network interfaces
465
466## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue
467## Three flavors of additional SBus ethernets are available.  One attaches
468## directly like the sun4c on-board, one uses the ledma device like the
469## sun4m on-board, and one uses the lebuffer device.
470
471ledma0		at sbus? slot ? offset ?	# sun4m on-board
472le0		at ledma0			# sun4m on-board
473le*		at sbus? slot ? offset ?	# SBus
474ledma*		at sbus? slot ? offset ?	# SBus
475le*		at ledma?			# SBus
476lebuffer0	at sbus? slot ? offset ?	# SBus
477le0		at lebuffer?			# SBus
478lebuffer*	at sbus? slot ? offset ?	# SBus
479le*		at lebuffer?			# SBus
480
481## Happy Meal Ethernet
482hme*		at sbus? slot ? offset ?
483hme*		at pci? dev ? function ?	# network "hme" compatible
484
485## qec/be, qec/hme
486qec*		at sbus? slot ? offset ?
487be*		at qec?
488qe*		at qec?
489
490# PCI network interfaces
491#	UT marks untested.
492an*	at pci? dev ? function ?	# Aironet PC4500/PC4800 (802.11) UT
493ath*	at pci? dev ? function ?	# Atheros 5210/5211/5212 802.11 UT
494bge*	at pci? dev ? function ?	# Broadcom 570x gigabit Ethernet
495bnx*	at pci? dev ? function ?	# Broadcom NetXtreme II Ethernet
496cas*	at pci? dev ? function ?	# Sun Cassini/Cassini+ Ethernet
497# XXX causes ICE
498#ep*	at pci? dev ? function ?	# 3Com 3c59x
499epic*	at pci? dev ? function ?	# SMC EPIC/100 Ethernet
500ex*	at pci? dev ? function ?	# 3Com 90x[B]
501fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
502gem*	at pci? dev ? function ?	# Apple GMAC and Sun ERI gigabit enet
503gem*	at sbus? slot ? offset ?
504gsip*	at pci? dev ? function ?	# National Semiconductor DP83820 GigE
505ixg*	at pci? dev ? function ?	# Intel 8259x 10 gigabit
506mskc*	at pci? dev ? function ?	# Marvell Yukon 2 Gigabit Ethernet
507msk*	at mskc?			# Marvell Yukon 2 Gigabit Ethernet
508ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet UT
509ntwoc*	at pci? dev ? function ?	# Riscom/N2 PCI Sync Serial UT
510# XXX cause uncorrectable DMA error
511#pcn*	at pci? dev ? function ?	# PCnet-PCI Ethernet
512ral*	at pci? dev ? function ?	# ralink wifi UT
513re*	at pci? dev ? function ?	# Realtek 8139C+/8169/8169S/8110S
514rtk*	at pci? dev ? function ?	# Realtek 8129/8139
515sip*	at pci? dev ? function ?	# SiS 900 Ethernet
516skc*	at pci? dev ? function ?	# SysKonnect SK9821 Gigabit Ethernet
517sk*	at skc?				# SysKonnect SK9821 Gigabit Ethernet
518ti*	at pci? dev ? function ?	# Alteon ACEnic gigabit Ethernet UT
519tl*	at pci? dev ? function ?	# ThunderLAN-based Ethernet
520tlp*	at pci? dev ? function ?	# DECchip 21x4x and clones
521vge*	at pci? dev ? function ?	# VIA VT612X Gigabit Ethernet
522vr*	at pci? dev ? function ?	# VIA Rhine Fast Ethernet
523wi*	at pci? dev ? function ?	# Lucent/Intersil WaveLAN/IEEE
524wm*	at pci? dev ? function ?	# Intel 8254x gigabit
525
526# MII/PHY support
527acphy*	at mii? phy ?			# Altima AC101 and AMD Am79c874 PHYs
528bmtphy* at mii? phy ?			# Broadcom BCM5201 and BCM5202 PHYs
529brgphy* at mii? phy ?			# Broadcom BCM5400-family PHYs
530ciphy*	at mii? phy ?			# Cicada CS8201 Gig-E PHYs
531dmphy*	at mii? phy ?			# Davicom DM9101 PHYs
532exphy*	at mii? phy ?			# 3Com internal PHYs
533gentbi* at mii? phy ?			# Generic Ten-Bit 1000BASE-[CLS]X PHYs
534gphyter* at mii? phy ?			# NS83861 Gig-E PHY
535icsphy* at mii? phy ?			# Integrated Circuit Systems ICS189x
536igphy*	at mii? phy ?			# Intel IGP01E1000
537ikphy*	at mii? phy ?			# Intel 82563 PHYs
538inphy*	at mii? phy ?			# Intel 82555 PHYs
539iophy*	at mii? phy ?			# Intel 82553 PHYs
540lxtphy* at mii? phy ?			# Level One LXT-970 PHYs
541makphy* at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
542nsphy*	at mii? phy ?			# NS83840 PHYs
543nsphyter* at mii? phy ? 		# NS83843 PHYs
544qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
545rgephy* at mii? phy ?			# Realtek 8169S/8110S internal PHYs
546rlphy*	at mii? phy ?			# Realtek 8139/8201L PHYs
547sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
548tlphy*	at mii? phy ?			# ThunderLAN PHYs
549tqphy*	at mii? phy ?			# TDK Semiconductor PHYs
550ukphy*	at mii? phy ?			# generic unknown PHYs
551
552# PCI USB controllers
553ehci*	at pci? dev ? function ?	# Enhanced Host Controller
554ohci*	at pci? dev ? function ?	# Open Host Controller
555uhci*	at pci? dev ? function ?	# Universal Host Controller (Intel)
556
557# USB bus support
558usb*	at ehci?
559usb*	at ohci?
560usb*	at uhci?
561#usb*	at slhci?
562
563# USB device drivers
564include "dev/usb/usbdevices.config"
565
566# Firewire support
567fwohci* at pci? dev ? function ?	# IEEE1394 Open Host Controller
568ieee1394if* at fwohci?
569fwip*	at ieee1394if?			# IP over IEEE1394
570sbp*	at ieee1394if? euihi ? euilo ?
571
572## Loopback network interface; required
573pseudo-device	loop
574
575## SLIP and CSLIP interfaces, for IP over a serial line.
576pseudo-device	sl
577
578## PPP, the successor to SLIP.  See pppd(8).
579pseudo-device	ppp
580
581## PPP over Ethernet (RFC 2516)
582pseudo-device	pppoe
583
584## Network "tunnel" device, allowing protocol stacks to run in the userland.
585## This is used by the third-party user-mode "ppp" program, and others.
586pseudo-device	tun
587pseudo-device	tap			# virtual Ethernet
588
589## Generic L3 over IP tunnel
590pseudo-device	gre			# generic L3 over IP tunnel
591
592## Berkeley Packet Filter, required to run RARPD.  A generic C-language
593## interface that allows selective examining of incoming packets.
594pseudo-device	bpfilter
595
596pseudo-device	carp			# Common Address Redundancy Protocol
597
598## IEEE 802.1q encapsulation
599pseudo-device	vlan
600
601## Simple inter-network traffic bridging
602pseudo-device	bridge
603pseudo-device	vether			# Virtual Ethernet for bridge
604pseudo-device	agr			# IEEE 802.3ad link aggregation
605
606pseudo-device	npf			# NPF packet filter
607
608## for IPv6
609pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
610#pseudo-device	faith			# IPv[46] tcp relay translation i/f
611pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
612
613
614#### CardBus and PCMCIA devices
615
616# PCI CardBus bridge support
617#cbb*	at pci? dev ? function ?
618#cardslot* at cbb?
619
620# CardBus bus support
621#cardbus* at cardslot?
622#pcmcia* at cardslot?
623
624## SBus to PCMCIA bridge
625#nell*	at sbus? slot ? offset ?		# PCMCIA bridge
626#pcmcia* at nell?
627
628## CardBus cards; UT marks untested.
629
630# CardBus serial interfaces
631#com*	at cardbus? function ?	# Modems and serial cards UT
632
633# CardBus SCSI controllers
634#adv*	at cardbus? function ?	# AdvanSys 1200[A,B], 9xx[U,UA] SCSI UT
635#ahc*	at cardbus? function ?	# Adaptec ADP-1480 UT
636#njs*	at cardbus? function ?	# Workbit NinjaSCSI-32
637
638# CardBus IDE controllers
639#njata*	at cardbus? function ? flags 0x01	# Workbit NinjaATA-32
640
641# CardBus network interfaces
642#ath*	at cardbus? function ?	# Atheros 5210/5211/5212 802.11
643#athn*	at cardbus? function ?	# Atheros AR9k (802.11a/g/n) UT
644#atw*	at cardbus? function ?	# ADMtek ADM8211 (802.11) UT
645#bwi*	at cardbus? function ?	# Broadcom BCM43xx wireless
646#ex*	at cardbus? function ?	# 3Com 3C575TX
647#fxp*	at cardbus? function ?	# Intel i8255x UT
648#ral*	at cardbus? function ?	# Ralink Technology RT25x0 802.11a/b/g UT
649#re*	at cardbus? function ?	# Realtek 8139C+/8169/8169S/8110S UT
650#rtk*	at cardbus? function ?	# Realtek 8129/8139 UT
651#rtw*	at cardbus? function ?	# Realtek 8180L (802.11) UT
652#tlp*	at cardbus? function ?	# DECchip 21143
653
654# CardBus USB controllers
655#ehci*	at cardbus? function ?	# Enhanced Host Controller
656#ohci*	at cardbus? function ?	# Open Host Controller
657#uhci*	at cardbus? function ?	# Universal Host Controller (Intel) UT
658
659# CardBus IEEE1394 controllers
660#fwohci* at cardbus? function ?	# IEEE1394 Open Host Controller UT
661
662## PCMCIA cards; UT marks untested.
663
664# PCMCIA serial interfaces
665#com*	at pcmcia? function ?		# Modems and serial cards
666
667#pcmcom* at pcmcia? function ?		# PCMCIA multi-port serial cards UT
668#com*	at pcmcom? slave ?		# ...and the slave devices
669
670# PCMCIA SCSI controllers
671#aic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI UT
672#esp*	at pcmcia? function ?		# Qlogic ESP406/FAS408 SCSI UT
673#spc*	at pcmcia? function ?		# Fujitsu MB87030/MB89352 SCSI
674
675# PCMCIA IDE controllers
676#wdc*	at pcmcia? function ?
677
678# PCMCIA network interfaces
679#an*	at pcmcia? function ?		# Aironet PC4500/PC4800 (802.11) UT
680#awi*	at pcmcia? function ?		# BayStack 650/660 (802.11FH/DS) UT
681#cnw*	at pcmcia? function ?		# Xircom/Netwave AirSurfer UT
682#cs*	at pcmcia? function ?		# CS89xx Ethernet UT
683#ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
684#mbe*	at pcmcia? function ?		# MB8696x based Ethernet UT
685#ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
686#ray*	at pcmcia? function ?		# Raytheon Raylink (802.11) UT
687#sm*	at pcmcia? function ?		# Megahertz Ethernet UT
688#wi*	at pcmcia? function ?		# Lucent/Intersil WaveLan IEEE (802.11)
689#xirc*	at pcmcia? function ?		# Xircom CreditCard Ethernet UT
690#com*	at xirc?
691#xi*	at xirc?
692#mhzc*	at pcmcia? function ?		# Megahertz Ethernet/Modem combo cards
693#com*	at mhzc?
694#sm*	at mhzc?
695
696# PCMCIA USB controllers
697#slhci*	at pcmcia? function ?		# ScanLogic SL811HS UT
698
699#### Bluetooth Controller and Device support
700
701## Bluetooth PCMCIA Controllers
702#bt3c* at pcmcia? function ?		# 3Com 3CRWB6096-A
703#btbc* at pcmcia? function ?		# AnyCom BlueCard LSE041/039/139
704
705## Bluetooth USB Controllers
706ubt* at uhub? port ?
707aubtfwl* at uhub? port ?
708
709## Bluetooth Device Hub
710#bthub* at bcsp?
711#bthub* at bt3c?
712#bthub* at btbc?
713#bthub* at btuart?
714bthub* at ubt?
715
716## Bluetooth HID support
717bthidev* at bthub?
718
719## Bluetooth Mouse
720btms* at bthidev? reportid ?
721wsmouse* at btms? mux 0
722
723## Bluetooth Keyboard
724btkbd* at bthidev? reportid ?
725wskbd* at btkbd? console ? mux 1
726
727## Bluetooth Apple Magic Mouse
728btmagic* at bthub?
729wsmouse* at btmagic? mux 0
730
731## Bluetooth Audio support
732btsco* at bthub?
733
734#### Audio and video devices
735
736## /dev/audio support (`audiocs' plus `audio')
737##
738audiocs*	at sbus? slot ? offset ?	# SUNW,CS4231
739audiocs*	at ebus?			# SUNW,CS4231 in U5/U10
740autri*		at pci? dev ? function ?	# Blade 100 'sound'
741auacer* 	at pci? dev ? function ?	# Ultra45
742
743audio*		at audiobus?
744
745spkr*		at audio?			# PC speaker (synthesized)
746
747midi*		at midibus?
748
749
750## Sun "bwtwo" black and white framebuffer
751bwtwo0		at sbus? slot ? offset ?
752bwtwo*		at sbus? slot ? offset ?
753
754## Sun "cgthree" Sbus color framebuffer
755cgthree0	at sbus? slot ? offset ?
756cgthree*	at sbus? slot ? offset ?
757
758## Sun "cgsix" accelerated color framebuffer.
759cgsix*		at sbus? slot ? offset ?
760
761## Southland Media Systems (now Quantum 3D) MGX
762mgx*		at sbus? slot ? offset ?
763
764## Sun FFB
765ffb*		at mainbus0
766upa*		at mainbus?
767ffb*		at upa?
768
769## Sun XVR-1000
770gfb*		at mainbus0
771
772# On board vga on U5/U10 etc.
773machfb* 	at pci?
774
775# Sun XVR-100
776radeonfb*	at pci?
777
778# Sun PGX32 / TechSource Raptor GFX 8P
779pm2fb*		at pci?
780
781# 3Dlabs Wildcat based boards like XVR-500, 1200 etc.
782wcfb*		at pci?
783
784# generic PCI framebuffers
785genfb*		at pci?
786genfb*		at sbus? slot ? offset ?
787
788# make sure the console display is always wsdisplay0
789wsdisplay0	at wsemuldisplaydev? console 1
790wsdisplay*	at wsemuldisplaydev?
791
792# wsmouse for sun ms
793wsmouse*	at ms0
794
795# wskbd for sun kbd
796wskbd0		at kbd0
797
798# various options for wscons - we try to look as much like a standard
799# sun console as possible
800#options 	WSEMUL_SUN		# sun terminal emulation
801options 	WSEMUL_VT100		# allow us to be wsvt25
802options 	WS_DEFAULT_FG=WSCOL_BLACK
803options 	WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
804options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
805options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some more ioctls
806options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
807options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
808options 	WSDISPLAY_DEFAULTSCREENS=4
809options 	FONT_GALLANT12x22		# PROM font look-alike
810options 	FONT_DROID_SANS_MONO12x22	# antialiased font
811
812#### Other device configuration
813
814psm*		at ebus?		# Ultrabook IIi microcontroller
815pcfiic* 	at ebus?		# various environmental monitoring
816iic*		at pcfiic?
817lom*		at ebus?		# LOMlite lights out management
818
819# Netra X1 / T1 style environmental monitoring
820alipm*		at pci?
821iic*		at alipm?
822
823spdmem* 	at iic? addr?
824admtemp*	at iic? addr?
825adm1026hm*	at iic? addr?
826ecadc*		at iic? addr?	# envctrl/envctrltwo on E250/E450
827lmtemp* 	at iic? addr?
828tda*		at iic? addr?	# fan control on SB1000/2000
829dbcool* 	at iic? addr?	# SB25000
830seeprom*	at iic? addr?	# i2c-at24c64 fru's
831pcagpio* 	at iic? addr?	# V210/V240 GPIO's
832pcf8574io* 	at iic? addr?	# E250 GPIO's
833
834### Other pseudo-devices
835
836pseudo-device	crypto			# /dev/crypto device
837pseudo-device	swcrypto		# software crypto implementation
838
839## Pseudo ttys, required for network logins and programs like screen.
840
841pseudo-device	pty			# pseudo-ttys (for network, etc.)
842
843## Random device, used to implement /dev/random (a source of random noise),
844## and generate randomness for some kernel formulae.
845
846
847pseudo-device	wsmux			# mouse & keyboard multiplexor
848pseudo-device	wsfont
849pseudo-device	clockctl		# user control of clock subsystem
850pseudo-device	ksyms			# /dev/ksyms
851pseudo-device	fss			# file system snapshot device
852#pseudo-device	bcsp			# BlueCore Serial Protocol
853#pseudo-device	btuart			# Bluetooth HCI UART (H4)
854pseudo-device	lockstat		# lock profiling
855pseudo-device 	swwdog			# software watchdog timer -- swwdog(4)
856
857# drvctl - needed to show device dictionary via drvctl(8)
858pseudo-device	drvctl
859
860include "dev/veriexec.config"
861
862options 	PAX_ASLR_DEBUG=1	# PaX ASLR debug
863options 	PAX_SEGVGUARD=0		# PaX Segmentation fault guard
864# XXX: there is no PLT format for sparc64 that cooperates with
865# MPROTECT, so disable it for now
866# options 	PAX_MPROTECT=0		# PaX mprotect(2) restrictions
867# options 	PAX_MPROTECT_DEBUG=1	# PaX mprotect debug
868options 	PAX_ASLR=1		# PaX Address Space Layout Randomization
869
870# Pull in optional local configuration - always at end
871cinclude	"arch/sparc64/conf/GENERIC.local"
872