sfc: Use generic XENPAK register definitions
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
e0b221bf4e
commit
6bc5046e6d
@@ -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)
|
||||
|
Reference in New Issue
Block a user