From b1ca4065e118384e151f25bc643c27d83d0d8947 Mon Sep 17 00:00:00 2001 From: obrien Date: Wed, 10 Aug 2005 04:01:21 +0000 Subject: Style cleanup. --- sys/modules/twa/Makefile | 28 +++++++++------------------- sys/modules/twe/Makefile | 15 ++++++--------- 2 files changed, 15 insertions(+), 28 deletions(-) (limited to 'sys/modules') 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 - 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 -- cgit v1.1