From: Nicolas Ferre Date: Tue, 14 May 2013 03:00:16 +0000 (+0000) Subject: net/macb: fix ISR clear-on-write behavior only for some SoC X-Git-Tag: v3.10-rc3~18^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=581df9e1944194bfcabc57e1efae79b0fe171d6f;p=pandora-kernel.git net/macb: fix ISR clear-on-write behavior only for some SoC 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 the Design Configuration Register 1 information and a capability property to actually activate this clear-on-write behavior on ISR. Reported-by: Hein Tibosch Signed-off-by: Nicolas Ferre Tested-by: Hein Tibosch Acked-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: David S. Miller --- Reading git-diff-tree failed