Re: [PATCH net,stable 1/1] net: fec: don't dump RX FIFO register when not available

2018-10-15 Thread David Miller
From: Andy Duan Date: Mon, 15 Oct 2018 05:19:00 + > From: Fugang Duan > > 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

[PATCH net,stable 1/1] net: fec: don't dump RX FIFO register when not available

2018-10-14 Thread Andy Duan
From: Fugang Duan 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 the FRBR (FIFO Receive Bound Register) and FRSR (FIFO Receive