Home
last modified time | relevance | path

Searched hist:efeddce7ea7c75a53b3084d71db15657a00e94dc (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/freescale/
H A Dgianfar.cdiff efeddce7ea7c75a53b3084d71db15657a00e94dc Mon Feb 17 04:53:17 CST 2014 Claudiu Manoil <claudiu.manoil@freescale.com> gianfar: Factor out enabling/disabling of hw interrupts

Throughout the code there are places where the controller's
hw interrupt sources need to get disabled/enabled (masked/
un-masked) all at once. The recommendation for disabling
the interrupts is to clear the ievent first then the imask
register (not the other way around).
Use the gfar_ints_enable/disable() helpers to make these
operations consistent.

Signed-off-by: Claudiu Manoil <claudiu.manoil@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>