diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-01-13 18:49:35 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-01-13 18:49:35 +0000 |
commit | 598c8abc5967c907b8e6750821c651d7dfdbdb90 (patch) | |
tree | 85de84b6c20c547adc4e6fff55c42902de7706a1 /sys/modules | |
parent | 87d4bf07b5516bff6e95d90a433d0e0d157e5130 (diff) | |
download | FreeBSD-src-598c8abc5967c907b8e6750821c651d7dfdbdb90.zip FreeBSD-src-598c8abc5967c907b8e6750821c651d7dfdbdb90.tar.gz |
MFp4: //depot/projects/usb@155869
Initial version of ATMEGA USB device controller
driver. Has not been tested on real hardware yet.
The driver is based upon the AT91DCI driver.
Submitted by: Hans Petter Selasky
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/usb2/controller_atmegadci/Makefile | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/sys/modules/usb2/controller_atmegadci/Makefile b/sys/modules/usb2/controller_atmegadci/Makefile new file mode 100644 index 0000000..24845be0 --- /dev/null +++ b/sys/modules/usb2/controller_atmegadci/Makefile @@ -0,0 +1,41 @@ +# +# $FreeBSD$ +# +# Copyright (c) 2009 Hans Petter Selasky. All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +# SUCH DAMAGE. +# + +S=${.CURDIR}/../../.. + +.PATH: $S/dev/usb2/controller + +KMOD=usb2_controller_atmegadci +SRCS= +SRCS+= bus_if.h usb2_if.h device_if.h vnode_if.h +SRCS+= opt_usb.h pci_if.h opt_bus.h card_if.h +SRCS+= atmegadci.c +.if defined(HAS_ATMELARM) +SRCS+= atmegadci_atmelarm.c +.endif + +.include <bsd.kmod.mk> |