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)
commitce721a70219720f4c574a7e97f912c71a3510369
tree1e7888b4d9de5e53f8cedd56f4e95848635e0b5a
parent123581775336e91538e45cc00606692e1c410a66
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