Commit 20e1026c authored by Edward Cree's avatar Edward Cree Committed by David S. Miller

sfc: move definition of EFX_MC_STATS_GENERATION_INVALID

Saves a whole #include from nic.c.
Signed-off-by: default avatarEdward Cree <ecree@solarflare.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e7a25685
...@@ -28,8 +28,6 @@ struct efx_mcdi_phy_data { ...@@ -28,8 +28,6 @@ struct efx_mcdi_phy_data {
u32 forced_cap; u32 forced_cap;
}; };
#define EFX_MC_STATS_GENERATION_INVALID ((__force __le64)(-1))
int efx_mcdi_get_phy_cfg(struct efx_nic *efx, struct efx_mcdi_phy_data *cfg); int efx_mcdi_get_phy_cfg(struct efx_nic *efx, struct efx_mcdi_phy_data *cfg);
void efx_link_set_advertising(struct efx_nic *efx, void efx_link_set_advertising(struct efx_nic *efx,
const unsigned long *advertising); const unsigned long *advertising);
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#include "farch_regs.h" #include "farch_regs.h"
#include "io.h" #include "io.h"
#include "workarounds.h" #include "workarounds.h"
#include "mcdi_port_common.h"
#include "mcdi_pcol.h" #include "mcdi_pcol.h"
/************************************************************************** /**************************************************************************
......
...@@ -263,6 +263,8 @@ void efx_nic_free_buffer(struct efx_nic *efx, struct efx_buffer *buffer); ...@@ -263,6 +263,8 @@ void efx_nic_free_buffer(struct efx_nic *efx, struct efx_buffer *buffer);
size_t efx_nic_get_regs_len(struct efx_nic *efx); size_t efx_nic_get_regs_len(struct efx_nic *efx);
void efx_nic_get_regs(struct efx_nic *efx, void *buf); void efx_nic_get_regs(struct efx_nic *efx, void *buf);
#define EFX_MC_STATS_GENERATION_INVALID ((__force __le64)(-1))
size_t efx_nic_describe_stats(const struct efx_hw_stat_desc *desc, size_t count, size_t efx_nic_describe_stats(const struct efx_hw_stat_desc *desc, size_t count,
const unsigned long *mask, u8 *names); const unsigned long *mask, u8 *names);
int efx_nic_copy_stats(struct efx_nic *efx, __le64 *dest); int efx_nic_copy_stats(struct efx_nic *efx, __le64 *dest);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment