Re: [PATCH] net/macb: fix ISR clear-on-write behavior only forsome SoC

From: Steffen Trumtrar
Date: Tue May 14 2013 - 03:02:10 EST


Hi!

On Mon, May 13, 2013 at 06:05:05PM +0200, Nicolas Ferre wrote:
> Commit 749a2b6 (net/macb: clear tx/rx completion flags in ISR)
> introduces clear-on-write on ISR register. This behavior is not always
> implemented when using Cadence MACB/GEM and is breaking other platforms.
> We are using a new Device Tree compatibility string and a capability
> property to actually activate this clear-on-write behavior on ISR.
>
> Reported-by: Hein Tibosch <hein_tibosch@xxxxxxxx>
> Signed-off-by: Nicolas Ferre <nicolas.ferre@xxxxxxxxx>
> ---
> Documentation/devicetree/bindings/net/macb.txt | 2 ++
> drivers/net/ethernet/cadence/macb.c | 15 +++++++++++++--
> drivers/net/ethernet/cadence/macb.h | 5 +++++
> 3 files changed, 20 insertions(+), 2 deletions(-)
>

Looks okay to me:

Acked-by: Steffen Trumtrar <s.trumtrar@xxxxxxxxxxxxxx>

Thanks,
Steffen

--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/