xref: /freebsd/sys/modules/usb/smsc/Makefile (revision 031beb4e239bfce798af17f5fe8dba8bcaf13d99)
1b011f8c4SOleksandr Tymoshenko#
2b011f8c4SOleksandr Tymoshenko#
3b011f8c4SOleksandr Tymoshenko# Copyright (c) 2011 Ben Gray. All rights reserved.
4b011f8c4SOleksandr Tymoshenko#
5b011f8c4SOleksandr Tymoshenko# Redistribution and use in source and binary forms, with or without
6b011f8c4SOleksandr Tymoshenko# modification, are permitted provided that the following conditions
7b011f8c4SOleksandr Tymoshenko# are met:
8b011f8c4SOleksandr Tymoshenko# 1. Redistributions of source code must retain the above copyright
9b011f8c4SOleksandr Tymoshenko#    notice, this list of conditions and the following disclaimer.
10b011f8c4SOleksandr Tymoshenko# 2. Redistributions in binary form must reproduce the above copyright
11b011f8c4SOleksandr Tymoshenko#    notice, this list of conditions and the following disclaimer in the
12b011f8c4SOleksandr Tymoshenko#    documentation and/or other materials provided with the distribution.
13b011f8c4SOleksandr Tymoshenko#
14b011f8c4SOleksandr Tymoshenko# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15b011f8c4SOleksandr Tymoshenko# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16b011f8c4SOleksandr Tymoshenko# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17b011f8c4SOleksandr Tymoshenko# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18b011f8c4SOleksandr Tymoshenko# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19b011f8c4SOleksandr Tymoshenko# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20b011f8c4SOleksandr Tymoshenko# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21b011f8c4SOleksandr Tymoshenko# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22b011f8c4SOleksandr Tymoshenko# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23b011f8c4SOleksandr Tymoshenko# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24b011f8c4SOleksandr Tymoshenko# SUCH DAMAGE.
25b011f8c4SOleksandr Tymoshenko#
26b011f8c4SOleksandr Tymoshenko
27*193d9e76SEnji CooperS=     ${SRCTOP}/sys
28b011f8c4SOleksandr Tymoshenko
29b011f8c4SOleksandr Tymoshenko.PATH: $S/dev/usb/net
30b011f8c4SOleksandr Tymoshenko
31b011f8c4SOleksandr TymoshenkoKMOD=	if_smsc
32b011f8c4SOleksandr TymoshenkoSRCS=	opt_bus.h opt_usb.h device_if.h bus_if.h usb_if.h usbdevs.h \
3339700e09SHans Petter Selasky	miibus_if.h opt_inet.h opt_platform.h \
34b011f8c4SOleksandr Tymoshenko	if_smsc.c
3518c573e0SXin LISRCS+=	ofw_bus_if.h
36b011f8c4SOleksandr Tymoshenko
37b011f8c4SOleksandr Tymoshenko.include <bsd.kmod.mk>
38