1*e49fa9f6SVladimir Kondratyev# 2*e49fa9f6SVladimir Kondratyev# Copyright (c) 2020 Vladimir Kondratyev <wulf@FreeBSD.org> 3*e49fa9f6SVladimir Kondratyev# 4*e49fa9f6SVladimir Kondratyev# Redistribution and use in source and binary forms, with or without 5*e49fa9f6SVladimir Kondratyev# modification, are permitted provided that the following conditions 6*e49fa9f6SVladimir Kondratyev# are met: 7*e49fa9f6SVladimir Kondratyev# 1. Redistributions of source code must retain the above copyright 8*e49fa9f6SVladimir Kondratyev# notice, this list of conditions and the following disclaimer. 9*e49fa9f6SVladimir Kondratyev# 2. Redistributions in binary form must reproduce the above copyright 10*e49fa9f6SVladimir Kondratyev# notice, this list of conditions and the following disclaimer in the 11*e49fa9f6SVladimir Kondratyev# documentation and/or other materials provided with the distribution. 12*e49fa9f6SVladimir Kondratyev# 13*e49fa9f6SVladimir Kondratyev# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 14*e49fa9f6SVladimir Kondratyev# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 15*e49fa9f6SVladimir Kondratyev# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 16*e49fa9f6SVladimir Kondratyev# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 17*e49fa9f6SVladimir Kondratyev# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18*e49fa9f6SVladimir Kondratyev# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19*e49fa9f6SVladimir Kondratyev# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20*e49fa9f6SVladimir Kondratyev# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21*e49fa9f6SVladimir Kondratyev# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22*e49fa9f6SVladimir Kondratyev# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23*e49fa9f6SVladimir Kondratyev# SUCH DAMAGE. 24*e49fa9f6SVladimir Kondratyev# 25*e49fa9f6SVladimir Kondratyev# 26*e49fa9f6SVladimir Kondratyev 27*e49fa9f6SVladimir Kondratyev.PATH: ${SRCTOP}/sys/dev/hid 28*e49fa9f6SVladimir Kondratyev 29*e49fa9f6SVladimir KondratyevKMOD= hidquirk 30*e49fa9f6SVladimir KondratyevSRCS= hidquirk.c 31*e49fa9f6SVladimir KondratyevSRCS+= bus_if.h device_if.h usbdevs.h 32*e49fa9f6SVladimir Kondratyev 33*e49fa9f6SVladimir Kondratyev.include <bsd.kmod.mk> 34