xref: /dflybsd-src/sys/dev/raid/twa/Makefile (revision ffdba38fa7d45bd687bc1b8dda893b62efb16067)
1df54c2f9SSascha Wildner# $FreeBSD: src/sys/modules/twa/Makefile,v 1.8 2007/05/09 04:16:31 scottl Exp $
2df54c2f9SSascha Wildner#
3df54c2f9SSascha Wildner# Copyright (c) 2004-06 Applied Micro Circuits Corporation.
4df54c2f9SSascha Wildner# All rights reserved.
5df54c2f9SSascha Wildner#
6df54c2f9SSascha Wildner# Redistribution and use in source and binary forms, with or without
7df54c2f9SSascha Wildner# modification, are permitted provided that the following conditions
8df54c2f9SSascha Wildner# are met:
9df54c2f9SSascha Wildner# 1. Redistributions of source code must retain the above copyright
10df54c2f9SSascha Wildner#    notice, this list of conditions and the following disclaimer.
11df54c2f9SSascha Wildner# 2. Redistributions in binary form must reproduce the above copyright
12df54c2f9SSascha Wildner#    notice, this list of conditions and the following disclaimer in the
13df54c2f9SSascha Wildner#    documentation and/or other materials provided with the distribution.
14df54c2f9SSascha Wildner#
15df54c2f9SSascha Wildner# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16df54c2f9SSascha Wildner# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17df54c2f9SSascha Wildner# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18df54c2f9SSascha Wildner# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19df54c2f9SSascha Wildner# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20df54c2f9SSascha Wildner# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21df54c2f9SSascha Wildner# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22df54c2f9SSascha Wildner# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23df54c2f9SSascha Wildner# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24df54c2f9SSascha Wildner# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25df54c2f9SSascha Wildner# SUCH DAMAGE.
26df54c2f9SSascha Wildner#
27ab443496SDavid Rhodus
28ab443496SDavid Rhodus#
29df54c2f9SSascha Wildner# 3ware driver for 9000 series storage controllers.
30ab443496SDavid Rhodus#
31df54c2f9SSascha Wildner# Author: Vinod Kashyap
32df54c2f9SSascha Wildner# Modifications by: Adam Radford
33df54c2f9SSascha Wildner#
34ab443496SDavid Rhodus
35ab443496SDavid RhodusKMOD = twa
36df54c2f9SSascha WildnerSRCS=  tw_osl_freebsd.c tw_osl_cam.c \
37df54c2f9SSascha Wildner      tw_cl_init.c tw_cl_io.c tw_cl_intr.c tw_cl_misc.c \
380ffa96a2SSascha Wildner      bus_if.h device_if.h pci_if.h opt_cam.h opt_twa.h
39ab443496SDavid Rhodus
40df54c2f9SSascha Wildner# Uncomment the following line to turn on Enclosure Services support.
41*ffdba38fSSascha Wildner#KCFLAGS+= -DTWA_ENCLOSURE_SUPPORT
42ab443496SDavid Rhodus
43*ffdba38fSSascha Wildner#KCFLAGS+= -DTWA_DEBUG=0
44ab443496SDavid Rhodus
45ab443496SDavid Rhodus.include <bsd.kmod.mk>
46