linux/drivers/net/ethernet/cadence
Nicolas Ferre 581df9e194 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 <hein_tibosch@yahoo.es>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Tested-by: Hein Tibosch <hein_tibosch@yahoo.es>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-05-14 13:04:02 -07:00
..
at91_ether.c net/at91_ether: fix error return code in at91ether_probe() 2013-04-12 18:23:33 -04:00
Kconfig net/ethernet: MACB should depend on HAS_DMA 2013-05-11 16:28:24 -07:00
macb.c net/macb: fix ISR clear-on-write behavior only for some SoC 2013-05-14 13:04:02 -07:00
macb.h net/macb: fix ISR clear-on-write behavior only for some SoC 2013-05-14 13:04:02 -07:00
Makefile net/at91_ether: select MACB in Kconfig 2012-10-23 02:40:09 -04:00