summaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2007-05-19 17:08:27 +0000
committerScott Long <scottl@FreeBSD.org>2007-05-19 17:08:27 +0000
commit947d24c612abe7fe43bfd9db3221f44b01f12af6 (patch)
tree3b6ed68c44ef1535c4962e318d170c19a271807c /sys/modules
parent5cb7ec9369e0ea1dde56f1e27bb871cd6639233a (diff)
Notes
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/twa/Makefile31
1 files changed, 2 insertions, 29 deletions
diff --git a/sys/modules/twa/Makefile b/sys/modules/twa/Makefile
index a06b14fbf04e..8eece358f1e5 100644
--- a/sys/modules/twa/Makefile
+++ b/sys/modules/twa/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
#
-# Copyright (c) 2004 Applied Micro Circuits Corporation.
+# Copyright (c) 2004-06 Applied Micro Circuits Corporation.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -29,31 +29,9 @@
# 3ware driver for 9000 series storage controllers.
#
# Author: Vinod Kashyap
+# Modifications by: Adam Radford
#
-
-
-#
-# 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
-# the controller, if the firmware on the controller is older than the
-# one bundled, and needs to be upgraded. The size of the driver will
-# increase significantly (to over 500kB) if this option is selected.
-# Typically, the firmware image bundled (in tw_cl_fwimg.c) corresponds
-# to the latest controller architecture as of the date of the release.
-# If the firmware for an earlier controller architecture needs to be
-# flashed, the (older) driver with the appropriate firmware image
-# bundled can be downloaded from the 3ware website, used to flash the
-# firmware, and then the newer driver can be switched to. Alternatively,
-# the appropriate firmware image (tw_cl_fwimg.c) from the older driver can
-# be used to re-build the newer driver. In this case, the branch
-# (TWA_CURRENT_FW_BRANCH_*) and build (TWA_CURRENT_FW_BUILD_*) numbers for
-# the bundled firmware need to be appropriately updated in tw_cl_fwif.h
-# before building the driver.
-#
-TWA_FLASH_FIRMWARE?=0
-
KMOD = twa
.PATH: ${.CURDIR}/../../dev/${KMOD}
SRCS= tw_osl_freebsd.c tw_osl_cam.c \
@@ -66,10 +44,5 @@ SRCS= tw_osl_freebsd.c tw_osl_cam.c \
#CFLAGS+= -DTWA_DEBUG=0
CFLAGS+= -I${.CURDIR}/../../dev/${KMOD}
-.if $(TWA_FLASH_FIRMWARE) != 0
-CFLAGS+= -DTWA_FLASH_FIRMWARE
-SRCS+= tw_cl_fwimg.c
-.endif
-
.include <bsd.kmod.mk>