From: Greg Ungerer <[email protected]> Date: Fri, 26 Jun 2015 15:10:35 +1000
> From 8969de63989b8814a6db9d00b9d1ceabe40e8b11 Mon Sep 17 00:00:00 2001 > From: Greg Ungerer <[email protected]> > Date: Sat, 20 Jun 2015 15:51:57 +1000 > Subject: [PATCH] net: fec: don't access RACC register when not available > > Not all silicon implementations of the Freescale FEC hardware module > have the RACC (Receive Accelerator Function) register, so we should not > be trying to access it on those that don't. Currently none of the ColdFire > based parts with a FEC have it. > > Support for RACC was introduced by commit 4c09eed9 ("net: fec: Enable imx6 > enet checksum acceleration"). A fix was introduced in commit d1391930 > ("net: fec: Fix build for MCF5272") that disables its use on the ColdFire > M5272 part, but it doesn't fix the general case of other ColdFire parts. > > To fix we create a quirk flag, FEC_QUIRK_HAS_RACC, and check it before > working with the RACC register. > > Signed-off-by: Greg Ungerer <[email protected]> Applied, thank you. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
