linux/drivers/net/ethernet/cadence
Boris BREZILLON a848748959 net: macb: remove #if defined(CONFIG_ARCH_AT91) sections
With multi platform support those sections could lead to unexpected
behavior if both ARCH_AT91 and another ARM SoC using the MACB IP are
selected.
Add two new capabilities to encode the default MII mode and the presence
of a CLKEN bit in USRIO register.
Then define the appropriate config for IPs embedded in at91 SoCs.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Reviewed-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-03-07 22:31:21 -05:00
..
at91_ether.c net/at91_ether: prepare and unprepare clock 2015-01-12 15:35:47 -05:00
Kconfig net: cadence: Remove Kconfig dependency on ARCH 2015-03-04 15:48:26 -05:00
macb.c net: macb: remove #if defined(CONFIG_ARCH_AT91) sections 2015-03-07 22:31:21 -05:00
macb.h net: macb: remove #if defined(CONFIG_ARCH_AT91) sections 2015-03-07 22:31:21 -05:00
Makefile net/at91_ether: select MACB in Kconfig 2012-10-23 02:40:09 -04:00