The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/modules/twa/Makefile

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 # $FreeBSD: src/sys/modules/twa/Makefile,v 1.3.2.2 2005/12/07 18:20:38 vkashyap Exp $
    2 #
    3 # Copyright (c) 2004 Applied Micro Circuits Corporation.
    4 # All rights reserved.
    5 #
    6 # Redistribution and use in source and binary forms, with or without
    7 # modification, are permitted provided that the following conditions
    8 # are met:
    9 # 1. Redistributions of source code must retain the above copyright
   10 #    notice, this list of conditions and the following disclaimer.
   11 # 2. Redistributions in binary form must reproduce the above copyright
   12 #    notice, this list of conditions and the following disclaimer in the
   13 #    documentation and/or other materials provided with the distribution.
   14 #
   15 # THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
   16 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   17 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   18 # ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
   19 # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   20 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   21 # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   22 # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   23 # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   24 # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   25 # SUCH DAMAGE.
   26 #
   27 
   28 #
   29 # 3ware driver for 9000 series storage controllers.
   30 #
   31 # Author: Vinod Kashyap
   32 #
   33 
   34 
   35 
   36 #
   37 # In the line following this comment, a value of 0 on the right hand
   38 # side will not cause firmware to be bundled.  Change this value to 1
   39 # to bundle the firmware with the driver, which may be flashed onto
   40 # the controller, if the firmware on the controller is older than the
   41 # one bundled, and needs to be upgraded.  The size of the driver will
   42 # increase significantly (to over 500kB) if this option is selected.
   43 # Typically, the firmware image bundled (in tw_cl_fwimg.c) corresponds
   44 # to the latest controller architecture as of the date of the release.
   45 # If the firmware for an earlier controller architecture needs to be
   46 # flashed, the (older) driver with the appropriate firmware image
   47 # bundled can be downloaded from the 3ware website, used to flash the
   48 # firmware, and then the newer driver can be switched to.  Alternatively,
   49 # the appropriate firmware image (tw_cl_fwimg.c) from the older driver can
   50 # be used to re-build the newer driver.  In this case, the branch
   51 # (TWA_CURRENT_FW_BRANCH_*) and build (TWA_CURRENT_FW_BUILD_*) numbers for
   52 # the bundled firmware need to be appropriately updated in tw_cl_fwif.h
   53 # before building the driver.
   54 #
   55 TWA_FLASH_FIRMWARE?=0
   56 
   57 KMOD = twa
   58 .PATH: ${.CURDIR}/../../dev/${KMOD}
   59 SRCS=  tw_osl_freebsd.c tw_osl_cam.c \
   60       tw_cl_init.c tw_cl_io.c tw_cl_intr.c tw_cl_misc.c \
   61       bus_if.h device_if.h pci_if.h opt_scsi.h opt_cam.h opt_twa.h
   62 
   63 # Uncomment the following line to turn on Enclosure Services support.
   64 #CFLAGS+= -DTWA_ENCLOSURE_SUPPORT
   65 
   66 #CFLAGS+= -DTWA_DEBUG=0
   67 CFLAGS+= -I${.CURDIR}/../../dev/${KMOD}
   68 
   69 .if $(TWA_FLASH_FIRMWARE) != 0
   70 CFLAGS+= -DTWA_FLASH_FIRMWARE
   71 SRCS+= tw_cl_fwimg.c
   72 .endif
   73 
   74 .include <bsd.kmod.mk>
   75 

Cache object: 334798277e374743c90e5e9a568edc40


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.