From: Andy Duan <[email protected]> Date: Mon, 15 Oct 2018 05:19:00 +0000
> From: Fugang Duan <[email protected]> > > 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 Start > Register) register, so we should not be trying to dump them on those that > don't. > > To fix it we create a quirk flag, FEC_QUIRK_HAS_RFREG, and check it before > dump those RX FIFO registers. > > Signed-off-by: Fugang Duan <[email protected]> Applied and queued up for -stable.
