summaryrefslogtreecommitdiffstats
path: root/sys/modules/aic7xxx
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2011-12-21 20:23:03 +0000
committerdim <dim@FreeBSD.org>2011-12-21 20:23:03 +0000
commitd24fa001e9004ec4a6f53ac209eeb53f2b6cc1ab (patch)
treed8acafafdac6b8a7b560eeeb9d323b7d0ae05e46 /sys/modules/aic7xxx
parent718d14094ceb0b76df728b103cac9bc2cb46d9c7 (diff)
downloadFreeBSD-src-d24fa001e9004ec4a6f53ac209eeb53f2b6cc1ab.zip
FreeBSD-src-d24fa001e9004ec4a6f53ac209eeb53f2b6cc1ab.tar.gz
Amend r228779 by also disabling -Wconstant-conversion warnings for the
aic7xxx module. MFC after: 1 week
Diffstat (limited to 'sys/modules/aic7xxx')
-rw-r--r--sys/modules/aic7xxx/ahc/ahc_pci/Makefile1
-rw-r--r--sys/modules/aic7xxx/ahd/Makefile1
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/modules/aic7xxx/ahc/ahc_pci/Makefile b/sys/modules/aic7xxx/ahc/ahc_pci/Makefile
index 9a59580..37553d6 100644
--- a/sys/modules/aic7xxx/ahc/ahc_pci/Makefile
+++ b/sys/modules/aic7xxx/ahc/ahc_pci/Makefile
@@ -12,5 +12,6 @@ SRCS+= device_if.h bus_if.h pci_if.h
SRCS+= opt_scsi.h opt_cam.h opt_aic7xxx.h
CFLAGS+= -I${.CURDIR}/../../../../dev/aic7xxx -I..
+CWARNFLAGS+= ${NO_WCONSTANT_CONVERSION}
.include <bsd.kmod.mk>
diff --git a/sys/modules/aic7xxx/ahd/Makefile b/sys/modules/aic7xxx/ahd/Makefile
index 25f312f..19c13d2 100644
--- a/sys/modules/aic7xxx/ahd/Makefile
+++ b/sys/modules/aic7xxx/ahd/Makefile
@@ -32,6 +32,7 @@ SRCS= ${GENSRCS}
SRCS+= aic79xx.c aic79xx_osm.c aic79xx_pci.c ahd_pci.c
SRCS+= opt_scsi.h opt_aic79xx.h opt_cam.h opt_ddb.h
SRCS+= device_if.h bus_if.h pci_if.h
+CWARNFLAGS+= ${NO_WCONSTANT_CONVERSION}
CLEANFILES= ${GENSRCS}
OpenPOWER on IntegriCloud