]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: cadence-macb: Add disabled usrio caps
authorNeil Armstrong <narmstrong@baylibre.com>
Tue, 5 Jan 2016 13:39:16 +0000 (14:39 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Jan 2016 21:26:36 +0000 (16:26 -0500)
commit4304138ad0836b8066db64d2f4626b040ef087c2
tree1e7888b4d9de5e53f8cedd56f4e95848635e0b5a
parente2f800bb6fa12844fc53bfaa47d3696bcfd17a28
net: ethernet: cadence-macb: Add disabled usrio caps

On some platforms, the macb integration does not use the USRIO
register to configure the (R)MII port and clocks.
When the register is not implemented and the MACB error signal
is connected to the bus error, reading or writing to the USRIO
register can trigger some Imprecise External Aborts on ARM platforms.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb.c
drivers/net/ethernet/cadence/macb.h