1*3cf391a1SAdrian Chadd# 2*3cf391a1SAdrian Chadd# Copyright (c) 2012 Adrian Chadd, Xenion Pty Ltd 3*3cf391a1SAdrian Chadd# All rights reserved. 4*3cf391a1SAdrian Chadd# 5*3cf391a1SAdrian Chadd# Redistribution and use in source and binary forms, with or without 6*3cf391a1SAdrian Chadd# modification, are permitted provided that the following conditions 7*3cf391a1SAdrian Chadd# are met: 8*3cf391a1SAdrian Chadd# 1. Redistributions of source code must retain the above copyright 9*3cf391a1SAdrian Chadd# notice, this list of conditions and the following disclaimer, 10*3cf391a1SAdrian Chadd# without modification. 11*3cf391a1SAdrian Chadd# 2. Redistributions in binary form must reproduce at minimum a disclaimer 12*3cf391a1SAdrian Chadd# similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any 13*3cf391a1SAdrian Chadd# redistribution must be conditioned upon including a substantially 14*3cf391a1SAdrian Chadd# similar Disclaimer requirement for further binary redistribution. 15*3cf391a1SAdrian Chadd# 16*3cf391a1SAdrian Chadd# NO WARRANTY 17*3cf391a1SAdrian Chadd# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18*3cf391a1SAdrian Chadd# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19*3cf391a1SAdrian Chadd# LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTIBILITY 20*3cf391a1SAdrian Chadd# AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL 21*3cf391a1SAdrian Chadd# THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, 22*3cf391a1SAdrian Chadd# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23*3cf391a1SAdrian Chadd# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24*3cf391a1SAdrian Chadd# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 25*3cf391a1SAdrian Chadd# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26*3cf391a1SAdrian Chadd# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 27*3cf391a1SAdrian Chadd# THE POSSIBILITY OF SUCH DAMAGES. 28*3cf391a1SAdrian Chadd# 29*3cf391a1SAdrian Chadd# $FreeBSD$ 30*3cf391a1SAdrian Chadd# 31*3cf391a1SAdrian Chadd 32*3cf391a1SAdrian Chadd.PATH: ${.CURDIR}/../../../dev/gpio/ 33*3cf391a1SAdrian Chadd 34*3cf391a1SAdrian ChaddKMOD= gpiobus 35*3cf391a1SAdrian ChaddSRCS= gpiobus.c 36*3cf391a1SAdrian ChaddSRCS+= device_if.h bus_if.h gpio_if.h gpiobus_if.h 37*3cf391a1SAdrian Chadd 38*3cf391a1SAdrian ChaddCFLAGS+= -I. -I${.CURDIR}/../../../dev/gpio/ 39*3cf391a1SAdrian Chadd 40*3cf391a1SAdrian Chadd.include <bsd.kmod.mk> 41