1148913Sobrien# $FreeBSD$ 2144966Svkashyap# 3169400Sscottl# Copyright (c) 2004-06 Applied Micro Circuits Corporation. 4144966Svkashyap# All rights reserved. 5144966Svkashyap# 6144966Svkashyap# Redistribution and use in source and binary forms, with or without 7144966Svkashyap# modification, are permitted provided that the following conditions 8144966Svkashyap# are met: 9144966Svkashyap# 1. Redistributions of source code must retain the above copyright 10144966Svkashyap# notice, this list of conditions and the following disclaimer. 11144966Svkashyap# 2. Redistributions in binary form must reproduce the above copyright 12144966Svkashyap# notice, this list of conditions and the following disclaimer in the 13144966Svkashyap# documentation and/or other materials provided with the distribution. 14144966Svkashyap# 15144966Svkashyap# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 16144966Svkashyap# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 17144966Svkashyap# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 18144966Svkashyap# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 19144966Svkashyap# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20144966Svkashyap# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21144966Svkashyap# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22144966Svkashyap# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23144966Svkashyap# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24144966Svkashyap# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25144966Svkashyap# SUCH DAMAGE. 26152213Svkashyap# 27127600Svkashyap 28152213Svkashyap# 29144966Svkashyap# 3ware driver for 9000 series storage controllers. 30152213Svkashyap# 31144966Svkashyap# Author: Vinod Kashyap 32169400Sscottl# Modifications by: Adam Radford 33152213Svkashyap# 34144966Svkashyap 35127600SvkashyapKMOD = twa 36148913Sobrien.PATH: ${.CURDIR}/../../dev/${KMOD} 37152213SvkashyapSRCS= tw_osl_freebsd.c tw_osl_cam.c \ 38152213Svkashyap tw_cl_init.c tw_cl_io.c tw_cl_intr.c tw_cl_misc.c \ 39152213Svkashyap bus_if.h device_if.h pci_if.h opt_scsi.h opt_cam.h opt_twa.h 40127600Svkashyap 41152213Svkashyap# Uncomment the following line to turn on Enclosure Services support. 42152213Svkashyap#CFLAGS+= -DTWA_ENCLOSURE_SUPPORT 43152213Svkashyap 44148913Sobrien#CFLAGS+= -DTWA_DEBUG=0 45148913SobrienCFLAGS+= -I${.CURDIR}/../../dev/${KMOD} 46144966Svkashyap 47127600Svkashyap.include <bsd.kmod.mk> 48