atl1: add value to check ability of reenabling IRQs
authorTony Zelenoff <antonz@parallels.com>
Fri, 13 Apr 2012 06:09:51 +0000 (06:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 15 Apr 2012 16:56:02 +0000 (12:56 -0400)
commitaa45ba90b59b7a18b067b898a8cc8ccf8cbbb261
treedd77024474a8360036886a0202fd7439789f43c6
parent02d5d11bfa6d94676856c048a8471a4014368492
atl1: add value to check ability of reenabling IRQs

Unfortunately it is not clear from code is usage of
IMR register possible or not. So, to prevent possible
side-effects of reading this register i prefer store
interrupts enable flag separately.

Signed-off-by: Tony Zelenoff <antonz@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/atheros/atlx/atl1.h
drivers/net/ethernet/atheros/atlx/atlx.c