sfc: Limit scope of a Falcon A1 IRQ workaround
authorBen Hutchings <bhutchings@solarflare.com>
Thu, 3 Jan 2013 23:36:57 +0000 (23:36 +0000)
committerBen Hutchings <bhutchings@solarflare.com>
Wed, 21 Aug 2013 18:48:24 +0000 (19:48 +0100)
commit1840667a851efb5f719d2c76b235c172104722e8
tree0fb8df706a5cf5e9e7d0f0afa74372b9783ca6b7
parentd829118705f8213ffeffa4fefa8931dea6b7f016
sfc: Limit scope of a Falcon A1 IRQ workaround

We unconditionally acknowledge legacy interrupts just before disabling
them.  This workaround is needed on Falcon A1 but probably not on
later chips where the legacy interrupt mechanism is different.  It was
also originally done after the IRQ handler was removed, not before.
Restore the original behaviour for Falcon A1 only by doing this
acknowledgement in the efx_nic_type::fini operation.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/falcon.c
drivers/net/ethernet/sfc/nic.c
drivers/net/ethernet/sfc/nic.h