diff options
author | obrien <obrien@FreeBSD.org> | 2005-08-10 04:01:21 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2005-08-10 04:01:21 +0000 |
commit | b1ca4065e118384e151f25bc643c27d83d0d8947 (patch) | |
tree | 44e302fb36a208841d42fb6ae90cceb67e04062d /sys/modules | |
parent | df74433e0ca172a62b56ddc610d5a75b7f9bd95a (diff) | |
download | FreeBSD-src-b1ca4065e118384e151f25bc643c27d83d0d8947.zip FreeBSD-src-b1ca4065e118384e151f25bc643c27d83d0d8947.tar.gz |
Style cleanup.
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/twa/Makefile | 28 | ||||
-rw-r--r-- | sys/modules/twe/Makefile | 15 |
2 files changed, 15 insertions, 28 deletions
diff --git a/sys/modules/twa/Makefile b/sys/modules/twa/Makefile index 5529cd7..70a520a 100644 --- a/sys/modules/twa/Makefile +++ b/sys/modules/twa/Makefile @@ -1,3 +1,4 @@ +# $FreeBSD$ # # Copyright (c) 2004 Applied Micro Circuits Corporation. # All rights reserved. @@ -22,19 +23,10 @@ # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. -# -# $FreeBSD$ -# -# # 3ware driver for 9000 series storage controllers. -# # Author: Vinod Kashyap -# - - -# # In the line following this comment, a value of 0 on the right hand # side will not cause firmware to be bundled. Change this value to 1 # to bundle the firmware with the driver, which may be flashed onto @@ -45,19 +37,17 @@ TWA_FLASH_FIRMWARE?=0 KMOD = twa -.PATH: ${.CURDIR}/../../dev/${KMOD} -SRCS = tw_osl_freebsd.c tw_osl_cam.c \ - tw_cl_init.c tw_cl_io.c tw_cl_intr.c tw_cl_misc.c \ - bus_if.h device_if.h pci_if.h opt_scsi.h opt_cam.h opt_twa.h +.PATH: ${.CURDIR}/../../dev/${KMOD} +SRCS= tw_osl_freebsd.c tw_osl_cam.c \ + tw_cl_init.c tw_cl_io.c tw_cl_intr.c tw_cl_misc.c \ + bus_if.h device_if.h pci_if.h opt_scsi.h opt_cam.h opt_twa.h -CFLAGS += -I${.CURDIR}/../../dev/${KMOD} +#CFLAGS+= -DTWA_DEBUG=0 +CFLAGS+= -I${.CURDIR}/../../dev/${KMOD} .if $(TWA_FLASH_FIRMWARE) != 0 -CFLAGS += -DTWA_FLASH_FIRMWARE -SRCS += tw_cl_fwimg.c +CFLAGS+= -DTWA_FLASH_FIRMWARE +SRCS+= tw_cl_fwimg.c .endif -#CFLAGS += -DTWA_DEBUG=0 - .include <bsd.kmod.mk> - diff --git a/sys/modules/twe/Makefile b/sys/modules/twe/Makefile index 052c541..a74a58d 100644 --- a/sys/modules/twe/Makefile +++ b/sys/modules/twe/Makefile @@ -1,6 +1,11 @@ # $FreeBSD$ -# +KMOD= twe +.PATH: ${.CURDIR}/../../dev/${KMOD} +SRCS= bus_if.h device_if.h pci_if.h twe.c twe_freebsd.c + +#CFLAGS+=-DTWE_DEBUG=0 + # The 3ware controller offers a choice of options related to handling of # mirror consistency in shutdown situations. # @@ -18,16 +23,8 @@ # CFLAGS+=-DTWE_SHUTDOWN_NOTIFICATION -# # The module can be built to override a compiled-in driver # #CFLAGS+=-DTWE_OVERRIDE -.PATH: ${.CURDIR}/../../dev/twe - -KMOD= twe -SRCS= bus_if.h device_if.h pci_if.h twe.c twe_freebsd.c - -#CFLAGS+=-DTWE_DEBUG=0 - .include <bsd.kmod.mk> |