[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NetBSD-current/alpha kernel



原岡です。

昨日現在のcurrentのkernelのmakeにはまってしまいました。
どうしても、SCSIまわりでひっかかってしまいます。
ncr53c9x.cに#include <dev/scsipi/scsipiconf.h>
を追加はしてみたんですけど…
って今更すぎる…うぅ、しくしく。もう当日だ…

どなたかNetBSD/alphaのkernelをbuildできてる人いらっしゃったら
ご一報を…kernelください…(弱)

エラーはこんな感じです…

cc  -O2 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Wno-main -mno-fp-regs -I. -I../../../../arch -I../../../.. -nostdinc -DDIAGNOSTIC -DLKM -DMAXUSERS=32 -D_KERNEL -Dalpha  -c ../../../../dev/ic/ncr53c9x.c
In file included from ../../../../dev/ic/ncr53c9x.c:101:
../../../../dev/ic/ncr53c9xvar.h:235: field `sc_link' has incomplete type
../../../../dev/ic/ncr53c9xvar.h:236: field `sc_adapter' has incomplete type
cc1: warnings being treated as errors
../../../../dev/ic/ncr53c9xvar.h:395: warning: `struct scsipi_device' declared inside parameter list
../../../../dev/ic/ncr53c9xvar.h:395: warning: its scope is only this definition or declaration,
../../../../dev/ic/ncr53c9xvar.h:395: warning: which is probably not what you want.
../../../../dev/ic/ncr53c9x.c: In function `ncr53c9x_attach':
../../../../dev/ic/ncr53c9x.c:157: argument `dev' doesn't match prototype
../../../../dev/ic/ncr53c9xvar.h:395: prototype declaration
../../../../dev/ic/ncr53c9x.c:218: `SCSI_CHANNEL_ONLY_ONE' undeclared (first use in this function)
../../../../dev/ic/ncr53c9x.c:218: (Each undeclared identifier is reported only once
../../../../dev/ic/ncr53c9x.c:218: for each function it appears in.)
../../../../dev/ic/ncr53c9x.c:226: `BUS_SCSI' undeclared (first use in this function)
../../../../dev/ic/ncr53c9x.c:231: `scsiprint' undeclared (first use in this function)
../../../../dev/ic/ncr53c9x.c: In function `ncr53c9x_init':
../../../../dev/ic/ncr53c9x.c:345: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:345: `XS_TIMEOUT' undeclared (first use in this function)
../../../../dev/ic/ncr53c9x.c:349: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c: In function `ncr53c9x_select':
../../../../dev/ic/ncr53c9x.c:490: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:491: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:492: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:509: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:509: `XS_CTL_POLL' undeclared (first use in this function)
../../../../dev/ic/ncr53c9x.c: In function `ncr53c9x_get_ecb':
../../../../dev/ic/ncr53c9x.c:641: `XS_CTL_NOSLEEP' undeclared (first use in this function)
../../../../dev/ic/ncr53c9x.c: In function `ncr53c9x_scsi_cmd':
../../../../dev/ic/ncr53c9x.c:665: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:666: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:671: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:671: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:672: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:674: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:676: `TRY_AGAIN_LATER' undeclared (first use in this function)
../../../../dev/ic/ncr53c9x.c:680: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:682: `XS_CTL_RESET' undeclared (first use in this function)
../../../../dev/ic/ncr53c9x.c:687: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:687: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:688: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:689: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:690: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:702: `XS_CTL_POLL' undeclared (first use in this function)
../../../../dev/ic/ncr53c9x.c:703: `SUCCESSFULLY_QUEUED' undeclared (first use in this function)
../../../../dev/ic/ncr53c9x.c:711: `COMPLETE' undeclared (first use in this function)
../../../../dev/ic/ncr53c9x.c:712: warning: control reaches end of non-void function
../../../../dev/ic/ncr53c9x.c: In function `ncr53c9x_poll':
../../../../dev/ic/ncr53c9x.c:733: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:733: `XS_STS_DONE' undeclared (first use in this function)
../../../../dev/ic/ncr53c9x.c: In function `ncr53c9x_sched':
../../../../dev/ic/ncr53c9x.c:773: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:774: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:775: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:782: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:783: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c: In function `ncr53c9x_sense':
../../../../dev/ic/ncr53c9x.c:793: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:794: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:801: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:804: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:810: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c: In function `ncr53c9x_done':
../../../../dev/ic/ncr53c9x.c:831: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:832: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:834: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:846: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:846: `XS_NOERROR' undeclared (first use in this function)
../../../../dev/ic/ncr53c9x.c:847: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:849: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:849: `XS_TIMEOUT' undeclared (first use in this function)
../../../../dev/ic/ncr53c9x.c:851: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:851: `XS_SENSE' undeclared (first use in this function)
../../../../dev/ic/ncr53c9x.c:854: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:858: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:862: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:862: `XS_STS_DONE' undeclared (first use in this function)
../../../../dev/ic/ncr53c9x.c:866: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:867: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:868: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:869: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:871: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:879: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:889: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:891: warning: implicit declaration of function `scsipi_done'
../../../../dev/ic/ncr53c9x.c: In function `ncr53c9x_reselect':
../../../../dev/ic/ncr53c9x.c:957: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:958: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:959: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c: In function `ncr53c9x_msgin':
../../../../dev/ic/ncr53c9x.c:1102: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:1108: warning: implicit declaration of function `scsi_print_addr'
../../../../dev/ic/ncr53c9x.c:1108: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:1117: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:1181: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:1205: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:1232: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:1241: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c: In function `ncr53c9x_msgout':
../../../../dev/ic/ncr53c9x.c:1329: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:1348: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:1354: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c: In function `ncr53c9x_intr':
../../../../dev/ic/ncr53c9x.c:1493: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:1493: `XS_TIMEOUT' undeclared (first use in this function)
../../../../dev/ic/ncr53c9x.c:1626: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:1626: `XS_SELTIMEOUT' undeclared (first use in this function)
../../../../dev/ic/ncr53c9x.c:1633: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:1636: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:1664: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:1713: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:1726: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:1727: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:1804: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:1805: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:1859: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:1860: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:1879: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:1880: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:1890: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:1946: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c: In function `ncr53c9x_abort':
../../../../dev/ic/ncr53c9x.c:2162: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c: In function `ncr53c9x_timeout':
../../../../dev/ic/ncr53c9x.c:2182: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:2183: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:2184: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:2212: dereferencing pointer to incomplete type
../../../../dev/ic/ncr53c9x.c:2212: `XS_TIMEOUT' undeclared (first use in this function)
../../../../dev/ic/ncr53c9x.c:2221: dereferencing pointer to incomplete type
*** Error code 1

Stop.

で、config fileはこんな感じです…


# $NetBSD: GENERIC,v 1.133 1999/11/08 06:19:54 mycroft Exp $
#
# Generic Alpha kernel.  Enough to get booted, etc., but not much more.

include	"arch/alpha/conf/std.alpha"

maxusers 32

# CPU Support
#options 	DEC_2000_300	# "Jensen":	2000/300 (DECpc AXP 150)
#options 	DEC_2100_A50	# Avanti etc:	AlphaStation 400, 200, etc.
#options 	DEC_3000_500	# Flamingo etc:	3000/[4-9]00*
options 	DEC_3000_300	# Pelican etc:	3000/300*
#options 	DEC_AXPPCI_33	# NoName:	AXPpci33, etc.
#options 	DEC_EB164	# EB164:	AlphaPC 164
#options 	DEC_EB64PLUS	# EB64+:	AlphaPC 64, etc.
#options 	DEC_KN20AA	# KN20AA:	AlphaStation 500 and 600
#options 	DEC_KN8AE	# KN8AE:	AlphaServer 8200 and 8400
#options 	DEC_KN300	# KN300:	AlphaServer 4100
#options 	DEC_550		# Miata:	Digital Personal Workstation
#options 	DEC_1000	# Mikasa etc:	Digital AlphaServer 1000
#options 	DEC_1000A	# Corelle etc:	Digital AlphaServer 800/1000A
#options 	DEC_ALPHABOOK1	# AlphaBook1:	Tadpole/DEC AlphaBook
#options 	DEC_EB66	# EB66:		21066 Evaluation Board
#options 	DEC_6600	# EV6:		264DP OEM Board

# Standard system options
options 	KTRACE			# System call tracing support

# Diagnostic/debugging support options
options 	DIAGNOSTIC		# Cheap kernel consistency checks
options 	DDB			# kernel debugger
#makeoptions	DEBUG="-g"

# File systems
file-system	FFS		# Fast file system
file-system	MFS		# Memory-based file system
file-system	CD9660		# ISO-9660 CD-ROM FS (w/RockRidge extensions)
file-system	MSDOSFS		# MS-DOS-compatible file system
file-system	NFS		# Sun NFS-compatible file system client
file-system	NTFS		# Windows/NT file system (experimental)
#file-system	KERNFS
#file-system	PROCFS

# File system options
options 	NFSSERVER	# Sun NFS-compatible file system server
#options 	FFS_EI		# FFS Endian Independant support

# Networking options
options 	INET		# Internet protocol suite

# IPv6 options
options 	INET6		# IPV6
options 	IPSEC		# IP security
#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
#options 	IPSEC_DEBUG	# debug for IP security

# 4.3BSD compatibility.  Should be optional, but necessary for now.
options 	COMPAT_43

# Binary compatibility with previous versions of NetBSD.
#options 	COMPAT_09
options 	COMPAT_10
options 	COMPAT_11
options 	COMPAT_12
options 	COMPAT_13
options 	COMPAT_14

# OSF/1 binary compatibility
options 	COMPAT_OSF1

# System V-like message queues
options 	SYSVMSG

# System V-like semaphores
options 	SYSVSEM

# System V-like shared memory
options 	SYSVSHM
#options 	SHMMAXPGS=1024		# 1024 pages is the default

# Loadable Kernel Modules
options 	LKM

# Disable kernel security.
#options 	INSECURE

# Misc. options
options 	EISAVERBOSE		# recognize "unknown" EISA devices
options 	PCIVERBOSE		# recognize "unknown" PCI devices
options 	SCSIVERBOSE		# Verbose SCSI errors
options 	TCVERBOSE		# recognize "unknown" TC devices
options 	UCONSOLE		# users can use TIOCCONS (for xconsole)

# The Alpha console firmware network boots using the BOOTP
# protocol, so we ask the NFS code to use BOOTP/DHCP as well,
# in case we have NFS root.
options 	NFS_BOOT_DHCP		# superset of BOOTP

# WS console uses SUN or VT100 terminal emulation
options 	WSEMUL_VT100

# realtime clock compatible to OSF/1
#options 	CLOCK_COMPAT_OSF1

config		netbsd	root on ? type ?
#config		netbsd	root on sd0 type ffs
#config		netbsd	root on ? type nfs

mainbus0 at	root
cpu*	at	mainbus0

# TurboLaser bus support and devices
tlsb*	at	mainbus0
gbus*	at	tlsb? node ? offset ?
tlsbmem* at	tlsb? node ? offset ?
kft*	at	tlsb? node ? offset ?

# Gbus Devices
mcclock* at	gbus? offset ?

# MCBUS bus support
mcbus*	at	mainbus0
mcmem*	at	mcbus? mid ?

#i2c	at	mcbus?

#EV6 Tsunami Core Logic

tsc*	at	mainbus0

# TurboChannel host bus adapter support
tcasic*	at	mainbus0

# TurboChannel bus support
tc*	at	tcasic?

# TurboChannel devices
ioasic*	at	tc? slot ? offset ?
mcclock* at	ioasic? offset ?
le*	at	ioasic? offset ?
scc0	at	ioasic? offset ?
scc1	at	ioasic? offset ?
tcds*	at	tc? slot ? offset ?
asc*	at	tcds? chip ?
#cfb*	at	tc? slot ? offset ?
sfb*	at	tc? slot ? offset ?
le*	at	tc? slot ? offset ?
fta*	at	tc? slot ? offset ?		# DEC DEFTA FDDI cards

# PCI host bus adapter support
apecs*	at	mainbus?
cia*	at	mainbus?
lca*	at	mainbus?
dwlpx*	at	kft?
mcpcia*	at	mcbus? mid ?
tsp*	at	tsc?

# PCI bus support
pci*	at	apecs?
pci*	at	cia?
pci*	at	lca?
#pci*	at	ppb?
pci*	at	dwlpx?
pci*	at	mcpcia?
pci*	at	tsp?

# PCI devices
#adv*	at	pci? dev ? function ?		# AdvanSys SCSI
#adw*	at	pci? dev ? function ?		# AdvanSys Wide SCSI
#ahc*	at	pci? dev ? function ?		# Adaptec [23]94x, aic78x0 SCSI
#bha*	at	pci? dev ? function ?		# BusLogic 9xx SCSI (untested)
#cy*	at	pci? dev ? function ?		# Cyclades Cyclom-Y (untested)
#de*	at	pci? dev ? function ?		# 21x4x-based Ethernet
#dpt*	at	pci? dev ? function ?		# DPT SmartCache/SmartRAID
#eap*	at	pci? dev ? function ?		# Ensoniq AudioPCI
#en*	at	pci? dev ? function ?		# ENI PCI ATM (untested)
#ep*	at	pci? dev ? function ?		# 3COM 3c59x
#epic*	at	pci? dev ? function ?		# SMC EPIC/100 Ethernet
#eso*	at	pci? dev ? function ?		# ESS Solo-1 PCI AudioDrive
#ex*	at	pci? dev ? function ?		# 3COM 3c90x[B] Ethernet
#fpa*	at	pci? dev ? function ?		# DEC DEFPA FDDI
#fxp*	at	pci? dev ? function ?		# Intel EEPRO 10+/100B
#isp*	at	pci? dev ? function ?		# Qlogic ISP 10x0 SCSI
#le*	at	pci? dev ? function ?		# PCI LANCE Ethernet (untested)
#ncr*	at	pci? dev ? function ?		# NCR 53c8xx SCSI
#ne*	at	pci? dev ? function ?		# NE2000-compatible Ethernet
#ohci*	at	pci? dev ? function ?		# USB Open Host Controller
#pceb*	at	pci? dev ? function ?		# Intel PCI-EISA Bridges
#pciide*	at	pci? dev ? function ?		# PCI IDE controllers
#pcscp*	at	pci? dev ? function ?		# AMD Am53c974 PCscsi-PCI
#ppb*	at	pci? dev ? function ?		# PCI-PCI Bridges
#rl*	at	pci? dev ? function ?		# RealTek 8129/8139 Ethernet
#sio*	at	pci? dev ? function ?		# Intel PCI-ISA Bridges
#sip*	at	pci? dev ? function ?		# SiS 900 Ethernet
#sv*	at	pci? dev ? function ?		# S3 SonicVibes
#tga*	at	pci? dev ? function ?		# DEC ZLXp-E[123] Graphics
#ti*	at	pci? dev ? function ?		# Alteon Tigon Gig-E
#tl*	at	pci? dev ? function ?		# TI ThunderLAN Ethernet
#tlp*	at	pci? dev ? function ?		# DECchip 21x4x and clones
#options 	TLP_MATCH_21040
#options 	TLP_MATCH_21041
#options 	TLP_MATCH_21140
#options 	TLP_MATCH_21142
#uhci*	at	pci? dev ? function ?		# USB Univ. Host Controller
#vga*	at	pci? dev ? function ?		# PCI VGA Graphics
#vr*	at	pci? dev ? function ?		# VIA Rhine Fast Ethernet

#audio*	at	eap?
#audio*	at	eso?
#audio*	at	sv?

#opl*	at	eso?
#opl*	at	sv?

#mpu*	at	eso?

# MII/PHY support
#exphy*	at mii? phy ?			# 3Com internal PHYs
#icsphy*	at mii? phy ?			# Integrated Circuit Systems ICS1890
#inphy*	at mii? phy ?			# Intel 82555 PHYs
#lxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
#nsphy*	at mii? phy ?			# NS83840 PHYs
#qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
#sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
#tlphy*	at mii? phy ?			# ThunderLAN PHYs
#ukphy*	at mii? phy ?			# generic unknown PHYs

# ISA/EISA bus support
#isa*	at	pceb?
#eisa*	at	pceb?
#isa*	at	sio?

# ISA devices
#mcclock* at	isa? port 0x70
#pckbc0	at	isa?				# PC keyboard controller
#pckbd*	at	pckbc?				# PC keyboard (kbd port)
#pms*	at	pckbc?				# PS/2-style mouse (aux port)
#pcppi*	at	isa?				# PC prog. periph. interface
#spkr0	at	pcppi?				# IBM BASIC emulation
#isabeep0 at	pcppi?				# "keyboard" beep
#com*	at	isa? port 0x3f8 irq 4		# standard serial ports
#com*	at	isa? port 0x2f8 irq 3
#cs*	at	isa? port 0x300 iomem ? irq ? drq ? # CS8900 Ethernet
#ep*	at	isa? port ? irq ?		# 3COM 3c509 Ethernet
#fdc0	at	isa? port 0x3f0 irq 6 drq 2	# floppy controller
#lc0	at	isa? port 0x300 iomem ? irq ?	# DEC EtherWORKS III (LEMAC)
#lc1	at	isa? port 0x320 iomem ? irq ?	# DEC EtherWORKS III (LEMAC)
#depca0	at	isa? port 0x300 iomem 0xd0000 iosiz 0x10000 irq 5 	# DEPCA
#depca1	at	isa? port 0x200 iomem 0xd8000 iosiz 0x8000 irq 10 	# DEPCA
#le*	at	depca?
#lpt*	at	isa? port 0x3bc irq 7		# standard parallel port
#vga*	at	isa?				# ISA (EISA: XXX) VGA
#wdc0	at	isa? port 0x1f0 irq 14		# ST506/ESDI/IDE controllers
#wdc1	at	isa? port 0x170 irq 15
#wss*	at	isa? port 0x530 irq 9 drq 0	# Windows Sound System
#audio*	at	wss?
#midi*	at	wss?
#sb*	at	isa? port 0x220 irq 5 drq 1	# SoundBlaster
#sb*	at	isapnp?
#audio*	at	sb?
#adv*	at	isa? port ? irq ? drq ?		# AdvanSys APB-514[02]
#aha*	at	isa? port 0x330 irq ? drq ?	# Adaptec 154[02] SCSI
#aha*	at	isa? port 0x334 irq ? drq ?	# Adaptec 154[02] SCSI
#bha*	at	isa? port 0x330 irq ? drq ?	# BusLogic [57]4X SCSI (unt.)
#bha*	at	isa? port 0x334 irq ? drq ?	# BusLogic [57]4X SCSI (unt.)
#uha*	at	isa? port 0x330 irq ? drq ?	# UltraStor [13]4f SCSI (unt.)
#uha*	at	isa? port 0x334 irq ? drq ?	# UltraStor [13]4f SCSI (unt.)

# EISA devices
#ahb*	at	eisa? slot ?			# Adaptec 174[024] SCSI (unt.)
#ahc*	at	eisa? slot ?			# Adaptec 274x, aic7770 SCSI
#bha*	at	eisa? slot ?			# BusLogic 7xx SCSI
#ep*	at	eisa? slot ?			# 3COM 3c579 Ethernet (untested)
#fea*	at	eisa? slot ?			# DEC DEFEA FDDI
#tlp*	at	eisa? slot ?			# DEC DE-425 Ethernet
#uha*	at	eisa? slot ?			# UltraStor 24f SCSI (unt.)

# SCSI bus support
#scsibus* at	adv?
#scsibus* at	adw?
#scsibus* at	aha?
#scsibus* at	ahb?
#scsibus* at	ahc?
scsibus* at	asc?
#scsibus* at	bha?
#scsibus* at	dpt?
#scsibus* at	isp?
#scsibus* at	ncr?
#scsibus* at	pcscp?
#scsibus* at	uha?

# SCSI devices
cd*	at	scsibus? target ? lun ?		# SCSI CD-ROM drives
sd*	at	scsibus? target ? lun ?		# SCSI disk drives
st*	at	scsibus? target ? lun ?		# SCSI tape drives

# ST506/ESDI/IDE devices
#wd*	at	pciide? channel ?
#wd*	at	wdc? drive ?

# ATAPI bus support
#atapibus* at	pciide? channel ?
#atapibus* at	wdc?

# ATAPI devices
#sd*	at	atapibus? drive ?		# ATAPI disk devices
#cd*	at	atapibus? drive ?		# ATAPI CD-ROM devices

# Floppy drives
#fd*	at	fdc? drive ?

# USB bus support
#usb*	at uhci?
#usb*	at ohci?

# USB Hubs
#uhub*	at usb?
#uhub*	at uhub? port ? configuration ? interface ?

# USB Mice
#ums*	at uhub? port ? configuration ? interface ?
#wsmouse*	at ums?

# USB Keyboards
#ukbd*	at uhub? port ? configuration ? interface ?
#wskbd*	at ukbd? console ?

# USB Generic HID devices
#uhid*	at uhub? port ? configuration ? interface ?

# USB Printer
#ulpt*	at uhub? port ? configuration ? interface ?

# USB Modem
#umodem*	at uhub? port ? configuration ?

# USB Mass Storage
#umass*	at uhub? port ? configuration ? interface ?
#scsibus* at umass? channel ?

# USB Generic driver
#ugen*	at uhub? port ?

# Workstation Console attachments
#wsdisplay*	at	cfb?
#wsdisplay*	at	vga?
wsdisplay*	at	sfb?
#wsdisplay*	at	tga?
#wskbd*		at	pckbd?
#wsmouse*	at	pms?

pseudo-device	bpfilter	16
pseudo-device	ccd		4
#pseudo-device	raid		4		# RAIDframe disk driver
pseudo-device	ipfilter	1
pseudo-device	loop		1
pseudo-device	md		1
pseudo-device	ppp		4
pseudo-device	pty		64
pseudo-device	sl		4
pseudo-device	vnd		4
#pseudo-device	gre		2	# generic L3 over IP tunnel

# rnd is EXPERIMENTAL
#pseudo-device	rnd			# /dev/random and in-kernel generator
#options 	RND_COM			# use "com" randomness too

# for IPv6
pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
pseudo-device	faith		1	# IPv[46] tcp relay translation i/f