mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
03bae3cafd
With the reworked MDIO driver, EDMA will fail to get the MII BUS as it used the MII BUS stored inside the MDIO structure private data. This obviously does not work with the modernized driver, so lets switch to using a purpose build of_mdio_find_bus() which will return the MII BUS and only requires the MDIO node to be passed. This is easy as we already have the node parsed. Also, since we now require OF_MDIO add that as dependency. Signed-off-by: Robert Marko <robert.marko@sartura.hr>
38 lines
1.1 KiB
Diff
38 lines
1.1 KiB
Diff
From 12e9319da1adacac92930c899c99f0e1970cac11 Mon Sep 17 00:00:00 2001
|
|
From: Christian Lamparter <chunkeey@googlemail.com>
|
|
Date: Thu, 19 Jan 2017 02:01:31 +0100
|
|
Subject: [PATCH 33/38] NET: add qualcomm essedma ethernet driver
|
|
|
|
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
|
|
---
|
|
drivers/net/ethernet/qualcomm/Kconfig | 9 +++++++++
|
|
drivers/net/ethernet/qualcomm/Makefile | 1 +
|
|
2 files changed, 10 insertions(+)
|
|
|
|
--- a/drivers/net/ethernet/qualcomm/Kconfig
|
|
+++ b/drivers/net/ethernet/qualcomm/Kconfig
|
|
@@ -62,4 +62,14 @@ config QCOM_EMAC
|
|
|
|
source "drivers/net/ethernet/qualcomm/rmnet/Kconfig"
|
|
|
|
+config ESSEDMA
|
|
+ tristate "Qualcomm Atheros ESS Edma support"
|
|
+ depends on OF_MDIO
|
|
+ help
|
|
+ This driver supports ethernet edma adapter.
|
|
+ Say Y to build this driver.
|
|
+
|
|
+ To compile this driver as a module, choose M here. The module
|
|
+ will be called essedma.ko.
|
|
+
|
|
endif # NET_VENDOR_QUALCOMM
|
|
--- a/drivers/net/ethernet/qualcomm/Makefile
|
|
+++ b/drivers/net/ethernet/qualcomm/Makefile
|
|
@@ -10,5 +10,6 @@ obj-$(CONFIG_QCA7000_UART) += qcauart.o
|
|
qcauart-objs := qca_uart.o
|
|
|
|
obj-y += emac/
|
|
+obj-$(CONFIG_ESSEDMA) += essedma/
|
|
|
|
obj-$(CONFIG_RMNET) += rmnet/
|