Style cleanup.

This commit is contained in:
David E. O'Brien 2005-08-10 04:01:21 +00:00
parent 35038adf6e
commit 3e232c6030
2 changed files with 15 additions and 28 deletions

View file

@ -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>

View file

@ -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>