Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelv...
[deliverable/linux.git] / drivers / net / sfc / xfp_phy.c
index aad2dca197728c2ca8871d040c12efcbf7415a28..bb2e6afd08294fbe63f3571ce87121324b7e1f4f 100644 (file)
@@ -15,7 +15,6 @@
 #include <linux/delay.h>
 #include "efx.h"
 #include "mdio_10g.h"
-#include "xenpack.h"
 #include "phy.h"
 #include "falcon.h"
 
@@ -169,7 +168,8 @@ static int xfp_phy_init(struct efx_nic *efx)
 
 static void xfp_phy_clear_interrupt(struct efx_nic *efx)
 {
-       xenpack_clear_lasi_irqs(efx);
+       /* Read to clear link status alarm */
+       efx_mdio_read(efx, MDIO_MMD_PMAPMD, MDIO_PMA_LASI_STAT);
 }
 
 static int xfp_link_ok(struct efx_nic *efx)
This page took 0.027561 seconds and 5 git commands to generate.