diff options
author | Juergen Beisert <jbe@pengutronix.de> | 2017-04-18 10:48:27 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-20 19:48:55 +0200 |
commit | dc7005831523d674be11a98f3256e0cc871157d6 (patch) | |
tree | 08f43cc785895ae0f6df25bfc3c004d9bd8cf4c8 /drivers/net/dsa/Makefile | |
parent | net: dsa: LAN9303: add I2C managed mode support (diff) | |
download | linux-dc7005831523d674be11a98f3256e0cc871157d6.tar.xz linux-dc7005831523d674be11a98f3256e0cc871157d6.zip |
net: dsa: LAN9303: add MDIO managed mode support
When the LAN9303 device is in MDIO manged mode, all register accesses must
be done via MDIO.
Please note: this code is compile time tested only due to the absence of such
configured hardware. It is based on a patch from Stefan Roese from 2014.
Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
CC: devicetree@vger.kernel.org
CC: robh+dt@kernel.org
CC: mark.rutland@arm.com
CC: sr@denx.de
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/Makefile')
-rw-r--r-- | drivers/net/dsa/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/Makefile b/drivers/net/dsa/Makefile index c1981ba18963..edd630361736 100644 --- a/drivers/net/dsa/Makefile +++ b/drivers/net/dsa/Makefile @@ -5,6 +5,7 @@ obj-$(CONFIG_NET_DSA_QCA8K) += qca8k.o obj-$(CONFIG_NET_DSA_MT7530) += mt7530.o obj-$(CONFIG_NET_DSA_SMSC_LAN9303) += lan9303-core.o obj-$(CONFIG_NET_DSA_SMSC_LAN9303_I2C) += lan9303_i2c.o +obj-$(CONFIG_NET_DSA_SMSC_LAN9303_MDIO) += lan9303_mdio.o obj-y += b53/ obj-y += mv88e6xxx/ obj-$(CONFIG_NET_DSA_LOOP) += dsa_loop.o dsa_loop_bdinfo.o |