[PATCH AUTOSEL 4.14 09/19] net: fec: don't dump RX FIFO register when not available

2018-10-30 Thread Sasha Levin
From: Fugang Duan [ Upstream commit ec20a63aa8b8ec3223fb25cdb2a49f9f9dfda88c ] Commit db65f35f50e0 ("net: fec: add support of ethtool get_regs") introduce ethool "--register-dump" interface to dump all FEC registers. But not all silicon implementations of the Freescale FEC hardware module have

[PATCH AUTOSEL 4.14 09/19] net: fec: don't dump RX FIFO register when not available

2018-10-30 Thread Sasha Levin
From: Fugang Duan [ Upstream commit ec20a63aa8b8ec3223fb25cdb2a49f9f9dfda88c ] Commit db65f35f50e0 ("net: fec: add support of ethtool get_regs") introduce ethool "--register-dump" interface to dump all FEC registers. But not all silicon implementations of the Freescale FEC hardware module have