From patchwork Tue Jun 9 10:01:59 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dirk Neukirchen X-Patchwork-Id: 482165 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 106A5140497 for ; Tue, 9 Jun 2015 20:02:25 +1000 (AEST) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 3CB8228BC22; Tue, 9 Jun 2015 12:00:38 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 34CB028BC84 for ; Tue, 9 Jun 2015 12:00:19 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .web. - helo: .mout.web. - helo-domain: .web.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -8.5 Received: from mout.web.de (mout.web.de [212.227.17.11]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Tue, 9 Jun 2015 12:00:18 +0200 (CEST) Received: from tenchi-htpc.lan ([91.66.247.224]) by smtp.web.de (mrweb103) with ESMTPSA (Nemesis) id 0LjJH1-1Zc90N4Apj-00dZh8; Tue, 09 Jun 2015 12:01:57 +0200 From: Dirk Neukirchen To: openwrt-devel@lists.openwrt.org Date: Tue, 9 Jun 2015 12:01:59 +0200 Message-Id: <1433844119-2604-1-git-send-email-dirkneukirchen@web.de> X-Mailer: git-send-email 2.4.2 X-Provags-ID: V03:K0:xctOJn3IKu3XtvU4MslY1tS90A5NLN87GzgA4b73xAwzDb6mXSA 5WqgcnI+tWtPKtioRwZta7+assdDl+WGGLGs0BkdzRzood0WytoePFIvkNTAsqjKkSxOhEN PGmohxrtPitS17b8GJM2tFlZb3JU5ZYUmGur1fsX20klNwOoTXsV8yTAicZUtlo+c5gZmmy 6en4WnIL4S8GOpIY4Mf2w== X-UI-Out-Filterresults: notjunk:1; Subject: [OpenWrt-Devel] [PATCH] kernel: add Realtek USB to Ethernet modules X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" https://forum.openwrt.org/viewtopic.php?pid=279394 Signed-off-by: Dirk Neukirchen --- package/kernel/linux/modules/usb.mk | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk index 68f22cc..dcc6287 100644 --- a/package/kernel/linux/modules/usb.mk +++ b/package/kernel/linux/modules/usb.mk @@ -1259,6 +1259,36 @@ endef $(eval $(call KernelPackage,usb-net-qmi-wwan)) +define KernelPackage/usb-net-rtl8150 + TITLE:=Kernel module for USB-to-Ethernet Realtek convertors + KCONFIG:=CONFIG_USB_RTL8150 + FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/rtl8150.ko + AUTOLOAD:=$(call AutoProbe,rtl8150) + $(call AddDepends/usb-net) +endef + +define KernelPackage/usb-net-rtl8150/description + Kernel module for USB-to-Ethernet Realtek 8150 convertors +endef + +$(eval $(call KernelPackage,usb-net-rtl8150)) + + +define KernelPackage/usb-net-rtl8152 + TITLE:=Kernel module for USB-to-Ethernet Realtek convertors + KCONFIG:=CONFIG_USB_RTL8152 + FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/r8152.ko + AUTOLOAD:=$(call AutoProbe,r8152) + $(call AddDepends/usb-net) +endef + +define KernelPackage/usb-net-rtl8152/description + Kernel module for USB-to-Ethernet Realtek 8152 USB2.0/3.0 convertors +endef + +$(eval $(call KernelPackage,usb-net-rtl8152)) + + define KernelPackage/usb-net-rndis TITLE:=Support for RNDIS connections KCONFIG:=CONFIG_USB_NET_RNDIS_HOST