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