17d0d268bSAndrew Thompson# 27d0d268bSAndrew Thompson# 37d0d268bSAndrew Thompson# Copyright (c) 2008 Hans Petter Selasky. All rights reserved. 47d0d268bSAndrew Thompson# 57d0d268bSAndrew Thompson# Redistribution and use in source and binary forms, with or without 67d0d268bSAndrew Thompson# modification, are permitted provided that the following conditions 77d0d268bSAndrew Thompson# are met: 87d0d268bSAndrew Thompson# 1. Redistributions of source code must retain the above copyright 97d0d268bSAndrew Thompson# notice, this list of conditions and the following disclaimer. 107d0d268bSAndrew Thompson# 2. Redistributions in binary form must reproduce the above copyright 117d0d268bSAndrew Thompson# notice, this list of conditions and the following disclaimer in the 127d0d268bSAndrew Thompson# documentation and/or other materials provided with the distribution. 137d0d268bSAndrew Thompson# 147d0d268bSAndrew Thompson# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 157d0d268bSAndrew Thompson# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 167d0d268bSAndrew Thompson# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 177d0d268bSAndrew Thompson# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 187d0d268bSAndrew Thompson# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 197d0d268bSAndrew Thompson# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 207d0d268bSAndrew Thompson# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 217d0d268bSAndrew Thompson# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 227d0d268bSAndrew Thompson# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 237d0d268bSAndrew Thompson# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 247d0d268bSAndrew Thompson# SUCH DAMAGE. 257d0d268bSAndrew Thompson# 267d0d268bSAndrew Thompson 27*193d9e76SEnji CooperS= ${SRCTOP}/sys 287d0d268bSAndrew Thompson 297d0d268bSAndrew Thompson.PATH: $S/dev/usb/controller 307d0d268bSAndrew Thompson 317d0d268bSAndrew ThompsonKMOD= uss820dci 327d0d268bSAndrew ThompsonSRCS= bus_if.h device_if.h usb_if.h \ 337d0d268bSAndrew Thompson opt_bus.h opt_usb.h \ 347d0d268bSAndrew Thompson uss820dci.c \ 357d0d268bSAndrew Thompson pci_if.h 367d0d268bSAndrew Thompson 377d0d268bSAndrew Thompson.if defined(HAS_ATMELARM) 387d0d268bSAndrew ThompsonSRCS+= uss820dci_atmelarm.c 397d0d268bSAndrew Thompson.endif 407d0d268bSAndrew Thompson 417d0d268bSAndrew Thompson.include <bsd.kmod.mk> 42