1ae8afbf2SSam Leffler# 233644623SSam Leffler# Copyright (c) 2002-2008 Sam Leffler, Errno Consulting 3ae8afbf2SSam Leffler# All rights reserved. 4ae8afbf2SSam Leffler# 5ae8afbf2SSam Leffler# Redistribution and use in source and binary forms, with or without 6ae8afbf2SSam Leffler# modification, are permitted provided that the following conditions 7ae8afbf2SSam Leffler# are met: 8ae8afbf2SSam Leffler# 1. Redistributions of source code must retain the above copyright 9ae8afbf2SSam Leffler# notice, this list of conditions and the following disclaimer, 10ae8afbf2SSam Leffler# without modification. 11ae8afbf2SSam Leffler# 2. Redistributions in binary form must reproduce at minimum a disclaimer 12ae8afbf2SSam Leffler# similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any 13ae8afbf2SSam Leffler# redistribution must be conditioned upon including a substantially 14ae8afbf2SSam Leffler# similar Disclaimer requirement for further binary redistribution. 15ae8afbf2SSam Leffler# 16ae8afbf2SSam Leffler# NO WARRANTY 17ae8afbf2SSam Leffler# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18ae8afbf2SSam Leffler# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19ae8afbf2SSam Leffler# LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTIBILITY 20ae8afbf2SSam Leffler# AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL 21ae8afbf2SSam Leffler# THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, 22ae8afbf2SSam Leffler# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23ae8afbf2SSam Leffler# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24ae8afbf2SSam Leffler# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 25ae8afbf2SSam Leffler# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26ae8afbf2SSam Leffler# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 27ae8afbf2SSam Leffler# THE POSSIBILITY OF SUCH DAMAGES. 28ae8afbf2SSam Leffler# 29ae8afbf2SSam Leffler# 30ae8afbf2SSam Leffler 3197ed49deSEnji Cooper.PATH: ${SRCTOP}/sys/dev/ath 3297ed49deSEnji Cooper.PATH: ${SRCTOP}/sys/dev/ath/ath_hal 33ae8afbf2SSam Leffler 34ae8afbf2SSam LefflerKMOD= if_ath 3541059135SAdrian ChaddSRCS= if_ath_drv.c 3641059135SAdrian Chadd 37584f7327SSam LefflerSRCS+= device_if.h bus_if.h pci_if.h opt_inet.h opt_ath.h opt_ah.h opt_wlan.h 38ae8afbf2SSam Leffler 3997ed49deSEnji CooperCFLAGS+= -I. -I${SRCTOP}/sys/dev/ath -I${SRCTOP}/sys/dev/ath/ath_hal 4097ed49deSEnji CooperCFLAGS+= -I. -I${SRCTOP}/sys/contrib/dev/ath/ath_hal/ 41ae8afbf2SSam Leffler 42ae8afbf2SSam Leffler.include <bsd.kmod.mk> 438881d206SWarner Losh 44*369216b0SWarner LoshCWARNFLAGS+= ${NO_WUNUSED_BUT_SET_VARIABLE} 45