Home | History | Annotate | Line # | Download | only in conf
      1 # $NetBSD: GENERIC,v 1.275 2025/05/01 02:04:32 mrg 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 
     21 include 	"arch/sparc/conf/std.sparc"
     22 
     23 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
     24 
     25 #ident 		"GENERIC-$Revision: 1.275 $"
     26 
     27 maxusers	32
     28 
     29 ## System kernel configuration.  See options(4) for more detail.
     30 
     31 
     32 # Options for variants of the Sun SPARC architecture.
     33 # We currently support three architecture types; at least one is required.
     34 options 	SUN4		# sun4/100, sun4/200, sun4/300
     35 options 	SUN4C		# sun4c - SS1, 1+, 2, ELC, SLC, IPC, IPX, etc.
     36 options 	SUN4M		# sun4m - SS10, SS20, Classic, etc.
     37 options 	SUN4D		# sun4d - SS1000, SC2000
     38 
     39 options 	SUN4_MMU3L	# sun4/400 3-level MMU
     40 
     41 ## System options specific to the sparc machine type
     42 
     43 # Blink the power LED on some machines to indicate the system load.
     44 #options 	BLINK
     45 
     46 # wscons stuff
     47 #options 	WSEMUL_SUN
     48 options 	WSEMUL_VT100
     49 options 	WSDISPLAY_COMPAT_RAWKBD
     50 options 	WSDISPLAY_CUSTOM_OUTPUT
     51 options 	WS_DEFAULT_FG=WSCOL_BLACK
     52 options 	WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
     53 options 	WS_KERNEL_FG=WSCOL_GREEN
     54 options 	WS_KERNEL_BG=WSCOL_LIGHT_WHITE
     55 options 	WSDISPLAY_COMPAT_PCVT
     56 options 	WSDISPLAY_COMPAT_SYSCONS
     57 options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
     58 
     59 options 	WSDISPLAY_SCROLLSUPPORT
     60 
     61 options 	FONT_GALLANT12x22	# the console font
     62 options 	FONT_BOLD8x16		# a somewhat smaller font
     63 
     64 #### System options that are the same for all ports
     65 
     66 ## Root device configuration: change the ?'s if you are going to use a
     67 ## nonstandard root partition (other than where the kernel is booted from)
     68 ## and/or nonstandard root type (not ffs or nfs).  Normally this can be
     69 ## automagically determined at boot time.
     70 
     71 config		netbsd	root on ? type ?
     72 
     73 ## System call tracing (see ktrace(1)).
     74 options 	KTRACE
     75 
     76 ## System V compatible IPC subsystem.  (msgctl(2), semctl(2), and shmctl(2))
     77 options 	SYSVMSG		# System V message queues
     78 options 	SYSVSEM		# System V semaphores
     79 options 	SYSVSHM		# System V shared memory
     80 
     81 options 	MODULAR		# new style module(7) framework
     82 options 	MODULAR_DEFAULT_AUTOLOAD
     83 
     84 options 	USERCONF	# userconf(4) support
     85 #options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
     86 options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
     87 
     88 # Alternate buffer queue strategies for better responsiveness under high
     89 # disk I/O load.
     90 #options 	BUFQ_READPRIO
     91 options 	BUFQ_PRIOCSCAN
     92 
     93 ## NFS boot options; tries DHCP/BOOTP then BOOTPARAM
     94 options 	NFS_BOOT_BOOTPARAM
     95 #options 	NFS_BOOT_BOOTP
     96 options 	NFS_BOOT_DHCP
     97 
     98 #### Debugging options
     99 
    100 ## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
    101 ## serial console break or keyboard reset, where the PROM would normally
    102 ## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
    103 options 	DDB			# kernel dynamic debugger
    104 options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
    105 #options 	DDB_ONPANIC=1		# see also sysctl(7): `ddb.onpanic'
    106 
    107 ## You may also use gdb, on another computer connected to this machine over
    108 ## a serial port.  Both KGDB_DEV and KGDB_DEVRATE should be specified;
    109 ## KGDB_DEV is a dev_t encoded device number of the serial port to use, where
    110 ## the minor device number encodes the PROM enumeration of the serial ports,
    111 ## i.e.:
    112 ## 0xc00 = ttya, 0xc01 = ttyb, 0xc02 = ttyc, 0xc03 = ttyd.
    113 ## (Note: ttyc and ttyd are available only on some sun4 models)
    114 #options 	KGDB			# support for kernel gdb
    115 #options 	KGDB_DEV=0xc01		# kgdb device number (this is `ttyb')
    116 #options 	KGDB_DEVRATE=38400	# baud rate
    117 
    118 
    119 ## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
    120 ## such that gdb(1) can be used on a kernel coredump.
    121 
    122 #makeoptions	DEBUG="-g"
    123 
    124 
    125 ## Adds code to the kernel that does internal consistency checks, and will
    126 ## cause the kernel to panic if corruption of internal data structures
    127 ## is detected.
    128 options 	DIAGNOSTIC	# extra kernel sanity checking
    129 
    130 ## Enable (possibly expensive) debugging code that may also display messages
    131 ## on the system console
    132 #options 	DEBUG
    133 #options 	LOCKDEBUG
    134 #options 	SYSCALL_DEBUG
    135 
    136 ## Make SCSI error messages more verbose when explaining their meanings.
    137 options 	SCSIVERBOSE
    138 
    139 options 	MIIVERBOSE	# verbose PHY autoconfig messages
    140 
    141 ## `INSECURE' turns off the kernel security level (securelevel = 0 always).
    142 ## This allows writing to /dev/mem, loading kernel modules while multi-user,
    143 ## and other insecurities good only for development work.  Do not use this
    144 ## option on a production machine.
    145 #options 	INSECURE
    146 
    147 ## `FDSCRIPTS' allows non-readable but executable scripts by providing a
    148 ## pre-opened opaque file to the script interpreter.  `SETUIDSCRIPTS',
    149 ## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
    150 ## opaque file mechanism.  Perl calls this "secure setuid scripts."
    151 
    152 #options 	FDSCRIPTS
    153 #options 	SETUIDSCRIPTS
    154 
    155 ## Options for compatibility with previous releases foreign system binaries.
    156 ## In the cases of COMPAT_SUNOS, you may need to set up additional user-level
    157 ## utilities or system configuration files. See compat_sunos(8).
    158 
    159 include 	"conf/compat_netbsd10.config"
    160 options 	COMPAT_SUNOS	# SunOS 4.x binary compatibility
    161 
    162 ## File systems.  You probably need at least one of FFS or NFS.
    163 file-system	FFS		# Berkeley Fast Filesystem
    164 file-system	NFS		# Sun NFS-compatible filesystem client
    165 file-system	KERNFS		# kernel data-structure filesystem
    166 file-system	NULLFS		# NULL layered filesystem
    167 file-system 	OVERLAY		# overlay file system
    168 file-system	MFS		# memory-based filesystem
    169 file-system	FDESC		# user file descriptor filesystem
    170 file-system	UMAPFS		# uid/gid remapping filesystem
    171 file-system	LFS		# Log-based filesystem (still experimental)
    172 file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
    173 file-system	PROCFS		# /proc
    174 file-system	CD9660		# ISO 9660 + Rock Ridge file system
    175 file-system	UNION		# union file system
    176 file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
    177 file-system	CODA		# Coda File System; also needs vcoda (below)
    178 file-system	PTYFS		# /dev/pts/N support
    179 file-system	TMPFS		# Efficient memory file-system
    180 #file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
    181 
    182 ## File system options.
    183 #options 	FFS_EI		# FFS Endian Independent support
    184 #options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
    185 options 	QUOTA		# legacy UFS quotas
    186 #options 	QUOTA2		# new, in-filesystem UFS quotas
    187 options 	UFS_DIRHASH	# UFS Large Directory Hashing
    188 options 	UFS_EXTATTR	# Extended attribute support for UFS1
    189 options 	WAPBL		# File system journaling support
    190 options 	LFS_DIRHASH	# LFS version of UFS_DIRHASH - experimental
    191 options 	NFSSERVER	# Network File System server
    192 
    193 ## Network protocol support.  In most environments, INET is required.
    194 options 	INET		# IP (Internet Protocol) v4
    195 options 	INET6		# IPV6
    196 #options 	IPSEC		# IP security
    197 #options 	IPSEC_DEBUG	# debug for IP security
    198 #options 	GATEWAY		# packet forwarding ("router switch")
    199 #options 	MROUTING	# packet forwarding of multicast packets
    200 #options 	PIM		# Protocol Independent Multicast
    201 #options 	NETATALK	# AppleTalk (over Ethernet) protocol
    202 options 	NTP		# Network Time Protocol in-kernel support
    203 #options 	PPS_SYNC	# Add serial line synchronization for NTP
    204 options 	PPP_BSDCOMP	# Add BSD compression to ppp device
    205 options 	PPP_DEFLATE	# Add deflate (libz) compression to ppp device
    206 options 	PPP_FILTER	# Add active filters for ppp (via bpf)
    207 
    208 #options 	ALTQ		# Manipulate network interfaces' output queues
    209 #options 	ALTQ_BLUE	# Stochastic Fair Blue
    210 #options 	ALTQ_CBQ	# Class-Based Queueing
    211 #options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
    212 #options 	ALTQ_FIFOQ	# First-In First-Out Queue
    213 #options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
    214 #options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
    215 #options 	ALTQ_LOCALQ	# Local queueing discipline
    216 #options 	ALTQ_PRIQ	# Priority Queueing
    217 #options 	ALTQ_RED	# Random Early Detection
    218 #options 	ALTQ_RIO	# RED with IN/OUT
    219 #options 	ALTQ_WFQ	# Weighted Fair Queueing
    220 
    221 
    222 
    223 #### Main bus and CPU .. all systems.
    224 mainbus0 at root
    225 cpu0	at mainbus0
    226 cpuunit0	at mainbus0			# sun4d
    227 cpuunit*	at mainbus0			# sun4d
    228 cpu0	at cpuunit0				# sun4d
    229 
    230 #### SX rendering engine found in SS20 and SS10SX
    231 sx0	at mainbus0
    232 
    233 #### Bus types found on SPARC systems.
    234 
    235 sbus0	at mainbus0				# sun4c
    236 obio0	at mainbus0				# sun4 and sun4m
    237 sparcvme0	at mainbus0			# sun4
    238 iommu0	at mainbus0				# sun4m
    239 sbus0	at iommu0				# sun4m
    240 sparcvme0	at iommu0			# sun4m
    241 vme0	at sparcvme0				# MI VME attachment
    242 bootbus0	at cpuunit0			# sun4d
    243 bootbus*	at cpuunit?			# sun4d
    244 
    245 ## SBus expander box
    246 xbox*	at sbus? slot ? offset ?
    247 sbus*	at xbox?
    248 
    249 ## SBus to PCMCIA bridge
    250 nell*	at sbus? slot ? offset ?		# PCMCIA bridge
    251 pcmcia*	at nell?
    252 tslot*	at sbus? slot ? offset ?		# PCMCIA bridge (tadpole 3gx)
    253 pcmcia*	at tslot?
    254 
    255 #### Standard system devices -- all required for a given architecture
    256 
    257 ## Auxiliary system registers on sun4c and sun4m
    258 auxreg0	at mainbus0				# sun4c
    259 auxreg0	at obio0				# sun4m
    260 auxiotwo0 at obio0				# only on Tadpole SPARCbook.
    261 
    262 ## Power status and control register on Sun4m systems
    263 power0	at obio0
    264 
    265 ## Mostek clock found on 4/300, sun4c, sun4m and sun4d systems.
    266 ## The Mostek clock NVRAM is the "eeprom" on sun4/300 systems.
    267 clock0	at mainbus0				# sun4c
    268 clock0	at obio0				# sun4m
    269 clock0	at obio0 addr 0xf2000000		# sun4/300
    270 clock0	at bootbus0				# sun4d
    271 
    272 ## Intersil clock found on 4/100 and 4/200 systems.
    273 oclock0	at obio0 addr 0xf3000000		# sun4/200
    274 oclock0	at obio0 addr 0x03000000		# sun4/100
    275 
    276 ## Memory error registers.
    277 memreg0	at mainbus0				# sun4c
    278 memreg0	at obio0				# sun4m
    279 memreg0	at obio0 addr 0xf4000000		# sun4/200 and sun4/300
    280 memreg0	at obio0 addr 0x04000000		# sun4/100
    281 
    282 ## ECC memory control
    283 eccmemctl0 at mainbus0				# sun4m
    284 
    285 ## Timer chip found on 4/300, sun4c, and sun4m systems.
    286 timer0	at mainbus0				# sun4c
    287 timer0	at obio0				# sun4m
    288 timer0	at obio0 addr 0xef000000		# sun4/300
    289 
    290 ## EEPROM found on 4/100 and 4/200 systems.  Note that the 4/300
    291 ## doesn't use this driver; the `EEPROM' is in the NVRAM on the
    292 ## Mostek clock chip on 4/300 systems.
    293 eeprom0	at obio0 addr 0xf2000000		# sun4/200
    294 eeprom0	at obio0 addr 0x02000000		# sun4/100
    295 
    296 
    297 #### Serial port configuration
    298 
    299 ## Zilog 8530 serial chips.  Each has two-channels.
    300 ## zs0 is ttya and ttyb.  zs1 is the keyboard and mouse.
    301 zs0	at mainbus0					# sun4c
    302 zs0	at obio0					# sun4m
    303 zs0	at obio0 addr 0xf1000000 level 12		# sun4/200 and sun4/300
    304 zs0	at obio0 addr 0x01000000 level 12		# sun4/100
    305 zs0	at bootbus0					# sun4d
    306 zstty0	at zs0 channel 0				# ttya
    307 zstty1	at zs0 channel 1				# ttyb
    308 
    309 zs1	at mainbus0					# sun4c
    310 zs1	at obio0					# sun4m
    311 zs1	at obio0 addr 0xf0000000 level 12		# sun4/200 and sun4/300
    312 zs1	at obio0 addr 0x00000000 level 12		# sun4/100
    313 zs1	at bootbus0					# sun4d
    314 
    315 # old kbd and mouse attachments
    316 #kbd0	at zs1 channel 0				# keyboard
    317 #ms0	at zs1 channel 1				# mouse
    318 zstty*	at zs?
    319 
    320 # these are for wscons
    321 kbd0	at zstty?
    322 ms0	at zstty?
    323 wskbd*	at wskbddev?
    324 wsmouse* 	at wsmousedev?
    325 
    326 zs2	at obio0 addr 0xe0000000 level 12		# sun4/300
    327 zstty2	at zs2 channel 0				# ttyc
    328 zstty3	at zs2 channel 1				# ttyd
    329 
    330 zs*	at bootbus?					# sun4d
    331 zstty*	at zs?
    332 
    333 ## NS16x50 serial chips and clones.  Present on the
    334 ## Sun JavaStation-1 and Tadpole SPARCbook 3
    335 com*	at obio0					# sun4m
    336 
    337 # Parallel port.
    338 bpp*	at sbus? slot? offset ?
    339 
    340 ## Magma Serial/Parallel driver
    341 magma*	at sbus? slot ? offset ?
    342 mtty*	at magma?
    343 mbpp*	at magma?
    344 
    345 ## SUNW,spif Serial/Parallel driver
    346 spif*  at sbus? slot ? offset ?
    347 stty*  at spif?
    348 sbpp*  at spif?
    349 
    350 ## PCMCIA serial interfaces
    351 #com*	at pcmcia?
    352 #pcmcom*	at pcmcia?
    353 #com*	at pcmcom?
    354 
    355 #### Disk controllers and disks
    356 
    357 #
    358 
    359 ## The following flags may be set for the NCR53c94 based esp driver:
    360 ##	bits 0-7:  disable disconnect/reselect for the corresponding target
    361 ##	bits 8-15: disable synchronous negotiation for target [bit-8]
    362 
    363 ## sun4/300, sun4c, sun4m on-board SCSI, and FSBE/S SBus SCSI cards.
    364 ## Both `dma' and `esp' are needed in all cases.
    365 ## Two kinds of additional SBus SCSI interfaces are available.  One uses
    366 ## "esp at sbus" like the sun4c on-board; the other uses "esp at dma".
    367 
    368 ## sun4/300 SCSI - an NCR53c94 or equivalent behind
    369 ## an LSI Logic DMA controller
    370 
    371 dma0	at obio0 addr 0xfa001000 level 4		# sun4/300
    372 esp0	at obio0 addr 0xfa000000 level 4 flags 0x0000	# sun4/300
    373 
    374 dma0	at sbus0 slot ? offset ?			# sun4c/sun4m
    375 esp0	at sbus0 slot ? offset ? flags 0x0000		# sun4c
    376 esp0	at dma0 flags 0x0000				# sun4m
    377 
    378 # FSBE/S SCSI & SunSwift Sbus FAS366
    379 dma*	at sbus? slot ? offset ?			# SBus
    380 esp*	at sbus? slot ? offset ? flags 0x0000		# SBus
    381 esp*	at dma? flags 0x0000				# SBus
    382 
    383 scsibus* at esp?
    384 
    385 ## Qlogic ISP SBus SCSI Card
    386 isp*	at sbus? slot ? offset ?
    387 scsibus* at isp?
    388 
    389 ## NCR5380-based "Sun SCSI 3" VME SCSI controller.
    390 ## This driver has several flags which may be enabled by OR'ing
    391 ## the values and using the "flags" directive.
    392 ## Valid flags are:
    393 ##
    394 ##	0x01		Use DMA (may be polled)
    395 ##	0x02		Use DMA completion interrupts
    396 ##	0x04		Allow disconnect/reselect
    397 ##
    398 ## E.g. the following would enable DMA, interrupts, and reselect:
    399 ## si0	at vme0 addr 0x200000 irq 3 vect 0x40 flags 0x07
    400 ##
    401 ## By default, DMA is enabled in the driver.
    402 
    403 si0	at vme0 addr 0x200000 irq 2 vect 0x40
    404 scsibus* at si?
    405 
    406 ## NCR5380-based "SCSI Weird" on-board SCSI interface found
    407 ## on sun4/100 systems.  The flags are the same as the "si"
    408 ## controller.  Note, while DMA is enabled by default, only
    409 ## polled DMA works at this time, and reselects do not work
    410 ## on this particular controller.
    411 
    412 sw0	at obio0 addr 0x0a000000 level 3
    413 scsibus* at sw?
    414 
    415 ## PCMCIA SCSI controllers
    416 #aic*	at pcmcia?
    417 #spc*	at pcmcia?
    418 #scsibus* at aic?
    419 #scsibus* at spc?
    420 
    421 
    422 ## These entries find devices on all SCSI busses and assign
    423 ## unit numbers dynamically.
    424 sd*	at scsibus? target ? lun ?		# SCSI disks
    425 st*	at scsibus? target ? lun ?		# SCSI tapes
    426 cd*	at scsibus? target ? lun ?		# SCSI CD-ROMs
    427 ch*	at scsibus? target ? lun ?		# SCSI changer devices
    428 ss*	at scsibus? target ? lun ?		# SCSI scanners
    429 ses*	at scsibus? target ? lun ?		# SCSI SES/SAF-TE
    430 uk*	at scsibus? target ? lun ?		# unknown SCSI
    431 
    432 
    433 ## Xylogics 753 or 7053 VME SMD disk controllers and disks, found
    434 ## on sun4 systems.
    435 xdc0	at vme0 addr 0xee80 irq 3 vect 0x44
    436 xdc1	at vme0 addr 0xee90 irq 3 vect 0x45
    437 xdc2	at vme0 addr 0xeea0 irq 3 vect 0x46
    438 xdc3	at vme0 addr 0xeeb0 irq 3 vect 0x47
    439 xd*	at xdc? drive ?
    440 
    441 ## Xylogics 451 or 451 VME SMD disk controllers and disks, found
    442 ## on sun4 systems.
    443 xyc0	at vme0 addr 0xee40 irq 3 vect 0x48
    444 xyc1	at vme0 addr 0xee48 irq 3 vect 0x49
    445 xy*	at xyc? drive ?
    446 
    447 
    448 ## Floppy controller and drive found on SPARCstations.
    449 
    450 fdc0	at mainbus0				# sun4c controller
    451 fdc0	at obio0				# sun4m controller
    452 fd*	at fdc0					# the drive itself
    453 
    454 ## PCMCIA IDE controllers
    455 #wdc*	at pcmcia?
    456 #atabus* at ata?
    457 #wd*	at atabus? drive ? flags 0x0000
    458 
    459 ## A disk-like interface to files.  Can be used to create floppy, CD,
    460 ## miniroot images, etc.
    461 
    462 pseudo-device	vnd	
    463 #options 	VND_COMPRESSION		# compressed vnd(4)
    464 
    465 ## Concatenated and striped disks; with this, you can create a software-based
    466 ## disk array similar to a "RAID 0" setup.  See ccd(4).
    467 
    468 pseudo-device	ccd
    469 
    470 ## Cryptographic disk devices;  See cgd(4)
    471 
    472 #pseudo-device	cgd
    473 
    474 ## RAIDframe disk driver: software RAID driver.  See raid(4).
    475 
    476 pseudo-device	raid	
    477 options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
    478 # Options to enable various other RAIDframe RAID types.
    479 # options 	RF_INCLUDE_EVENODD=1
    480 # options 	RF_INCLUDE_RAID5_RS=1
    481 # options 	RF_INCLUDE_PARITYLOGGING=1
    482 # options 	RF_INCLUDE_CHAINDECLUSTER=1
    483 # options 	RF_INCLUDE_INTERDECLUSTER=1
    484 # options 	RF_INCLUDE_PARITY_DECLUSTERING=1
    485 # options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
    486 
    487 
    488 ## Memory disk device, used on boot floppies with compressed
    489 ## kernel-plus-root-disk images.
    490 
    491 #pseudo-device	md	
    492 
    493 
    494 #### Network interfaces
    495 
    496 ## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue
    497 ## Three flavors of additional SBus ethernets are available.  One attaches
    498 ## directly like the sun4c on-board, one uses the ledma device like the
    499 ## sun4m on-board, and one uses the lebuffer device.
    500 
    501 le0		at obio0 addr 0xf9000000 level 6	# sun4/300
    502 le0		at sbus0 slot ? offset ?		# sun4c on-board
    503 ledma0		at sbus0 slot ? offset ?		# sun4m on-board
    504 le0		at ledma0				# sun4m on-board
    505 le*		at sbus? slot ? offset ?		# SBus
    506 ledma*		at sbus? slot ? offset ?		# SBus
    507 le*		at ledma?				# SBus
    508 lebuffer0	at sbus? slot ? offset ?		# SBus
    509 le0		at lebuffer?				# SBus
    510 lebuffer*	at sbus? slot ? offset ?		# SBus
    511 le*		at lebuffer?				# SBus
    512 
    513 
    514 ## sun4/100 and sun4/200 Ethernet - an Intel 82586 on-board
    515 ## or on a Multibus/VME card.
    516 ie0	at obio0 addr 0xf6000000 level 6		# sun4/200 on-board
    517 ie0	at obio0 addr 0x06000000 level 6		# sun4/100 on-board
    518 ## VME: the first [addr,len] pair specifies the device registers;
    519 ##	the second pair specifies the on-board memory buffer
    520 ie1	at vme0 addr 0xe88000,0xe00000 len -1,0x40000 irq 3 vect 0x75
    521 ie2	at vme0 addr 0x31ff02,0x300000 len -1,0x40000 irq 3 vect 0x76
    522 ie3	at vme0 addr 0x35ff02,0x300000 len -1,0x40000 irq 3 vect 0x77
    523 ie4	at vme0 addr 0x2dff02,0x200000 len -1,0x40000 irq 3 vect 0x7c
    524 
    525 ## Quad Ethernet Controller with BigMac (be, 10/100MBd) and Mace Ethernet
    526 ## (qe, 10MBd) attached.
    527 qec*	at sbus? slot ? offset ?		# Quad Ethernet Controller
    528 be*	at qec?					# BigMac Ethernet (10/100MBd)
    529 qe*	at qec?					# Mace Ethernet (10MBd)
    530 
    531 ## Happy Meal Ethernet
    532 hme*	at sbus? slot ? offset ?
    533 
    534 # PCMCIA ethernet devices
    535 #ep*	at pcmcia?
    536 #mbe*	at pcmcia?
    537 #ne*	at pcmcia?
    538 #sm*	at pcmcia?
    539 
    540 ## PCMCIA wavelan card
    541 #wi*	at pcmcia? function ?		# Lucent WaveLan IEEE (802.11)
    542 
    543 # MII/PHY support
    544 exphy*	at mii? phy ?			# 3Com internal PHYs
    545 icsphy*	at mii? phy ?			# Integrated Circuit Systems ICS189x
    546 inphy*	at mii? phy ?			# Intel 82555 PHYs
    547 lxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
    548 nsphy*	at mii? phy ?			# NS83840 PHYs
    549 qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
    550 sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
    551 tlphy*	at mii? phy ?			# ThunderLAN PHYs
    552 ukphy*	at mii? phy ?			# generic unknown PHYs
    553 
    554 ## Loopback network interface; required
    555 pseudo-device	loop
    556 
    557 ## SLIP and CSLIP interfaces, for IP over a serial line.
    558 pseudo-device	sl		
    559 
    560 ## PPP, the successor to SLIP.  See pppd(8).
    561 pseudo-device	ppp		
    562 
    563 ## PPP over Ethernet (RFC 2516)
    564 pseudo-device	pppoe
    565 
    566 ## Network "tunnel" device, allowing protocol stacks to run in the userland.
    567 ## This is used by the third-party user-mode "ppp" program, and others.
    568 pseudo-device	tun		
    569 pseudo-device	tap			# virtual Ethernet
    570 
    571 ## Generic L3 over IP tunnel
    572 #pseudo-device	gre			# generic L3 over IP tunnel
    573 
    574 ## Berkeley Packet Filter, required to run RARPD.  A generic C-language
    575 ## interface that allows selective examining of incoming packets.
    576 pseudo-device	bpfilter
    577 
    578 pseudo-device	carp			# Common Address Redundancy Protocol
    579 
    580 pseudo-device	npf			# NPF packet filter
    581 
    582 ## for IPv6
    583 pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
    584 #pseudo-device	faith			# IPv[46] tcp relay translation i/f
    585 pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
    586 
    587 ## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
    588 pseudo-device	vlan
    589 
    590 ## Simple inter-network traffic bridging
    591 pseudo-device	bridge
    592 pseudo-device	vether			# Virtual Ethernet for bridge
    593 pseudo-device	agr			# IEEE 802.3ad link aggregation
    594 
    595 ## accept filters
    596 pseudo-device   accf_data		# "dataready" accept filter
    597 pseudo-device   accf_http		# "httpready" accept filter
    598 
    599 #### Audio and video devices
    600 
    601 ## /dev/audio support (`audioamd' plus `audio')
    602 ##
    603 audioamd0	at mainbus0				# sun4c
    604 audioamd0	at obio0				# sun4m
    605 audioamd0	at sbus0 slot ? offset ?		# sun4m
    606 
    607 audiocs0	at sbus0 slot ? offset ?		# SUNW,CS4231
    608 
    609 #options 	DBRI_DEBUG	# noisy debug output from the dbri driver
    610 dbri*		at sbus? slot ? offset ?		# SUNW,DBRI[s3|e]
    611 
    612 audio*		at audiobus?
    613 
    614 ## Sun "bwtwo" black and white framebuffer, found on sun4, sun4c, and sun4m
    615 ## systems.  If your sun4 system has a cgfour installed in the P4 slot,
    616 ## the P4 entries for "bwtwo" will attach to the overlay plane of the
    617 ## "cgfour".
    618 
    619 bwtwo0		at sbus0 slot ? offset ?		# sun4c and sun4m
    620 bwtwo*		at sbus? slot ? offset ?		#
    621 bwtwo0		at obio0 addr 0xfd000000 level 4	# sun4/200
    622 bwtwo0		at obio0 addr 0xfb300000 level 4	# sun4/300 in P4 slot
    623 bwtwo0		at obio0 addr 0x0b300000 level 4	# sun4/100 in P4 slot
    624 
    625 ## Sun "cgtwo" VME color framebuffer
    626 # XXX no wsdisplay support
    627 #cgtwo0		at vme0 addr 0x400000 irq ? vect 0xa8
    628 
    629 ## Sun "cgthree" Sbus color framebuffer
    630 cgthree0	at sbus? slot ? offset ?
    631 cgthree*	at sbus? slot ? offset ?
    632 
    633 ## Sun "cgfour" color framebuffer with overlay plane.  See above comment
    634 ## regarding overlay plane.
    635 # XXX no wsdisplay support
    636 #cgfour0		at obio0 addr 0xfb300000 level 4	# sun4/300 P4
    637 #cgfour0		at obio0 addr 0x0b300000 level 4	# sun4/100 P4
    638 
    639 ## Sun "cgsix" accelerated color framebuffer.
    640 cgsix0		at sbus? slot ? offset ?
    641 cgsix*		at sbus? slot ? offset ?
    642 cgsix0		at obio0 addr 0xfb000000 level 4	# sun4/300 P4
    643 cgsix0		at obio0 addr 0x0b000000 level 4	# sun4/100 P4
    644 
    645 ## Sun "cgeight" 24-bit framebuffer
    646 # XXX no wsdisplay support
    647 #cgeight0 	at obio0 addr 0xfb300000 level 4	# sun4/300 P4
    648 #cgeight0	at obio0 addr 0x0b300000 level 4	# sun4/100 P4
    649 
    650 ## Sun "tcx" accelerated color framebuffer.
    651 # there can be only one
    652 tcx0		at sbus? slot ? offset ?
    653 
    654 ## Sun CG12 / Matrox SG3 accelerated 24bit framebuffer
    655 cgtwelve*	at sbus? slot ? offset ?
    656 # the driver can use the color framebuffer or the monochrome overlay
    657 # the latter is faster
    658 options 	CG12_COLOR
    659 
    660 # Sun "cgfourteen" accelerated 24-bit framebuffer.
    661 cgfourteen*	at obio0			# sun4m
    662 
    663 # P9100-based display on Tadpole SPARCbook 3.
    664 pnozz0		at sbus? slot ? offset ?
    665 # the SPARCbook 3 hardware docs say that accesses to P9100 registers need to be
    666 # 'latched in' but at least my 3GX works happily without
    667 # Enable it by default since we don't know which hardware really needs it.
    668 options PNOZZ_USE_LATCH
    669 
    670 # Sun ZX/Leo 24-bit framebuffer
    671 zx*		at sbus? slot ? offset ?
    672 
    673 # Fujitsu AG-10e accelerated graphics 8/24-bit board
    674 agten*	at sbus? slot ? offset ?
    675 
    676 ## Southland Media Systems (now Quantum 3D) MGX
    677 mgx* 		at sbus? slot ? offset ?
    678 
    679 # generic framebuffer console
    680 genfb*	at sbus? slot ? offset ?
    681 
    682 # make sure wsdisplay0 is the console
    683 wsdisplay0	at wsemuldisplaydev? console 1
    684 wsdisplay*	at wsemuldisplaydev?
    685 
    686 #### Other device configuration
    687 
    688 # Tadpole microcontroller
    689 tctrl0 at obio0
    690 
    691 # Aurora Personality Chip (APC) on SPARCstation-4/5
    692 # May hang on some prototype systems (never seen with NetBSD).
    693 # Enables qemu to idle properly.
    694 apc*		at sbus? slot ? offset ?
    695 
    696 ## Pseudo ttys, required for network logins and programs like screen.
    697 
    698 pseudo-device	pty			# pseudo-terminals
    699 
    700 ## Random device, used to implement /dev/random (a source of random noise),
    701 ## and generate randomness for some kernel formulae.
    702 
    703 
    704 # a pseudo device needed for Coda	# also needs CODA (above)
    705 pseudo-device	vcoda			# coda minicache <-> venus comm.
    706 
    707 pseudo-device	clockctl		# user control of clock subsystem
    708 pseudo-device	drvctl			# user control of drive subsystem
    709 pseudo-device	ksyms			# /dev/ksyms
    710 pseudo-device	fss			# file system snapshot device
    711 pseudo-device	wsmux			# mouse and keyboard multiplexor
    712 pseudo-device	wsfont
    713 pseudo-device	putter			# for puffs and pud
    714 pseudo-device 	swwdog			# software watchdog timer -- swwdog(4)
    715 
    716 include "dev/veriexec.config"
    717 
    718 #options PAX_MPROTECT=0			# PaX mprotect(2) restrictions
    719 					# (for static binaries only for now)
    720 
    721 # Pull in optional local configuration - always at end
    722 cinclude	"arch/sparc/conf/GENERIC.local"
    723