diff mbox series

Add support for Davicom DM96xx based USB 10/100 ethernet devices

Message ID 20200912144637.8231-1-hyyoxhk@163.com
State Rejected
Headers show
Series Add support for Davicom DM96xx based USB 10/100 ethernet devices | expand

Commit Message

hyyoxhk Sept. 12, 2020, 2:46 p.m. UTC
Ported from Linux driver - drivers/net/usb9601.c

Signed-off-by: hyyoxhk <hyyoxhk@163.com>
---
 drivers/usb/eth/Kconfig  | 8 ++++++++
 drivers/usb/eth/Makefile | 1 +
 2 files changed, 9 insertions(+)

Comments

Tom Rini Sept. 14, 2020, 12:41 a.m. UTC | #1
On Sat, Sep 12, 2020 at 10:46:37PM +0800, hyyoxhk wrote:

> Ported from Linux driver - drivers/net/usb9601.c
> 
> Signed-off-by: hyyoxhk <hyyoxhk@163.com>
> ---
>  drivers/usb/eth/Kconfig  | 8 ++++++++
>  drivers/usb/eth/Makefile | 1 +
>  2 files changed, 9 insertions(+)

You forgot to add the driver file.
diff mbox series

Patch

diff --git a/drivers/usb/eth/Kconfig b/drivers/usb/eth/Kconfig
index 2f6bfa8e71..8a47ca0ec4 100644
--- a/drivers/usb/eth/Kconfig
+++ b/drivers/usb/eth/Kconfig
@@ -62,4 +62,12 @@  config USB_ETHER_SMSC95XX
 	  Say Y here if you would like to support SMSC LAN95xx based USB 2.0
 	  Ethernet Devices.
 
+config USB_ETHER_DM9601
+	bool "Davicom DM96xx based USB 10/100 ethernet devices"
+	depends on USB_HOST_ETHER
+	depends on DM_ETH
+	---help---
+	  This option adds support for Davicom DM9601/DM9620/DM9621A
+	  based USB 10/100 Ethernet adapters.
+
 endif
diff --git a/drivers/usb/eth/Makefile b/drivers/usb/eth/Makefile
index 2e5d0782e8..044b12f028 100644
--- a/drivers/usb/eth/Makefile
+++ b/drivers/usb/eth/Makefile
@@ -9,6 +9,7 @@  obj-$(CONFIG_USB_ETHER_ASIX) += asix.o
 obj-$(CONFIG_USB_ETHER_ASIX88179) += asix88179.o
 obj-$(CONFIG_USB_ETHER_MCS7830) += mcs7830.o
 obj-$(CONFIG_USB_ETHER_SMSC95XX) += smsc95xx.o
+obj-$(CONFIG_USB_ETHER_DM9601) += dm9601.o
 obj-$(CONFIG_USB_ETHER_LAN75XX) += lan7x.o lan75xx.o
 obj-$(CONFIG_USB_ETHER_LAN78XX) += lan7x.o lan78xx.o
 obj-$(CONFIG_USB_ETHER_RTL8152) += r8152.o r8152_fw.o