]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita28d4c335a0f7e16ee3f203b9eefc851c25c2721
tree0fb8df706a5cf5e9e7d0f0afa74372b9783ca6b7
parent5d46f1409c8645cb6bb1db24ad1bc3c62502f5b7
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