summaryrefslogtreecommitdiffstats
path: root/sys/modules/isp
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2008-05-04 14:59:25 +0000
committermarius <marius@FreeBSD.org>2008-05-04 14:59:25 +0000
commit3c64a86d3bc5b9318b3464deb481784be07927f3 (patch)
treed204b38fdb89bb28aab25b0b3da7863afa593e7e /sys/modules/isp
parentbb68298f623ded730e0dc981b2f072c542325a78 (diff)
downloadFreeBSD-src-3c64a86d3bc5b9318b3464deb481784be07927f3.zip
FreeBSD-src-3c64a86d3bc5b9318b3464deb481784be07927f3.tar.gz
Don't build unused SBus front-ends for sun4v, don't build EBus front-ends
which are also likely to be irrelevant for sun4v (there's no SBus on sun4v and only some EBus devices). While at it fix some style bugs according to style.Makefile(5) where appropriate. MFC after: 3 days
Diffstat (limited to 'sys/modules/isp')
-rw-r--r--sys/modules/isp/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/isp/Makefile b/sys/modules/isp/Makefile
index fbdf1b4..1caeef6 100644
--- a/sys/modules/isp/Makefile
+++ b/sys/modules/isp/Makefile
@@ -7,7 +7,7 @@ SRCS= bus_if.h device_if.h pci_if.h \
opt_cam.h opt_ddb.h opt_isp.h \
isp.c isp_library.c isp_target.c isp_freebsd.c isp_pci.c
-.if ${MACHINE_ARCH} == sparc64
+.if ${MACHINE} == sparc64
SRCS+= isp_sbus.c ofw_bus_if.h
.endif
OpenPOWER on IntegriCloud