net: ftgmac100: convert to driver model
authorCédric Le Goater <clg@kaod.org>
Mon, 29 Oct 2018 06:06:31 +0000 (07:06 +0100)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 5 Nov 2018 16:41:56 +0000 (10:41 -0600)
commitf95de0bd104a88006c09cb74abf4db1b0f2188ca
tree636c43a62d091c8e5d85b78488b25c872e1d5368
parent3bd796351f1b9cb8a08f7439bc46680acb27738b
net: ftgmac100: convert to driver model

The driver is based on the previous one and the code is only adapted
to fit the driver model. The support for the Faraday ftgmac100
controller is the same with MAC and MDIO bus support for RGMII/RMII
modes.

Configuration is updated to enable compile again. At this stage, the
driver compiles but is not yet functional.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/Kconfig
drivers/net/ftgmac100.c
include/netdev.h