1193240Ssam# 2193240Ssam# Copyright (c) 2007-2009 Sam Leffler, Errno Consulting 3193240Ssam# All rights reserved. 4193240Ssam# 5193240Ssam# Redistribution and use in source and binary forms, with or without 6193240Ssam# modification, are permitted provided that the following conditions 7193240Ssam# are met: 8193240Ssam# 1. Redistributions of source code must retain the above copyright 9193240Ssam# notice, this list of conditions and the following disclaimer, 10193240Ssam# without modification. 11193240Ssam# 2. Redistributions in binary form must reproduce at minimum a disclaimer 12193240Ssam# similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any 13193240Ssam# redistribution must be conditioned upon including a substantially 14193240Ssam# similar Disclaimer requirement for further binary redistribution. 15193240Ssam# 16193240Ssam# NO WARRANTY 17193240Ssam# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18193240Ssam# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19193240Ssam# LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTIBILITY 20193240Ssam# AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL 21193240Ssam# THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, 22193240Ssam# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23193240Ssam# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24193240Ssam# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 25193240Ssam# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26193240Ssam# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 27193240Ssam# THE POSSIBILITY OF SUCH DAMAGES. 28193240Ssam# 29193240Ssam# $FreeBSD$ 30193240Ssam# 31193240Ssam 32193240Ssam.PATH: ${.CURDIR}/../../dev/mwl 33193240Ssam 34193240SsamKMOD= if_mwl 35193240SsamSRCS= if_mwl.c if_mwl_pci.c mwlhal.c 36234866SuqsSRCS+= device_if.h bus_if.h pci_if.h opt_inet.h opt_mwl.h opt_wlan.h 37193240Ssam 38193240Ssamopt_mwl.h: 39193240Ssam echo '#define MWL_DEBUG 1'> $@ 40193240Ssam 41193240Ssam.include <bsd.kmod.mk> 42