aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/nic.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/sfc/nic.h')
-rw-r--r--drivers/net/ethernet/sfc/nic.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/ethernet/sfc/nic.h b/drivers/net/ethernet/sfc/nic.h
index 2b84aeb3c8ce..c3e0f1fd5047 100644
--- a/drivers/net/ethernet/sfc/nic.h
+++ b/drivers/net/ethernet/sfc/nic.h
@@ -117,9 +117,6 @@ enum {
117 (1 << LOOPBACK_XGXS) | \ 117 (1 << LOOPBACK_XGXS) | \
118 (1 << LOOPBACK_XAUI)) 118 (1 << LOOPBACK_XAUI))
119 119
120#define FALCON_GMAC_LOOPBACKS \
121 (1 << LOOPBACK_GMAC)
122
123/* Alignment of PCIe DMA boundaries (4KB) */ 120/* Alignment of PCIe DMA boundaries (4KB) */
124#define EFX_PAGE_SIZE 4096 121#define EFX_PAGE_SIZE 4096
125/* Size and alignment of buffer table entries (same) */ 122/* Size and alignment of buffer table entries (same) */
@@ -201,7 +198,6 @@ static inline bool falcon_spi_present(const struct falcon_spi_device *spi)
201 * @stats_disable_count: Nest count for disabling statistics fetches 198 * @stats_disable_count: Nest count for disabling statistics fetches
202 * @stats_pending: Is there a pending DMA of MAC statistics. 199 * @stats_pending: Is there a pending DMA of MAC statistics.
203 * @stats_timer: A timer for regularly fetching MAC statistics. 200 * @stats_timer: A timer for regularly fetching MAC statistics.
204 * @stats_dma_done: Pointer to the flag which indicates DMA completion.
205 * @spi_flash: SPI flash device 201 * @spi_flash: SPI flash device
206 * @spi_eeprom: SPI EEPROM device 202 * @spi_eeprom: SPI EEPROM device
207 * @spi_lock: SPI bus lock 203 * @spi_lock: SPI bus lock
@@ -214,7 +210,6 @@ struct falcon_nic_data {
214 unsigned int stats_disable_count; 210 unsigned int stats_disable_count;
215 bool stats_pending; 211 bool stats_pending;
216 struct timer_list stats_timer; 212 struct timer_list stats_timer;
217 u32 *stats_dma_done;
218 struct falcon_spi_device spi_flash; 213 struct falcon_spi_device spi_flash;
219 struct falcon_spi_device spi_eeprom; 214 struct falcon_spi_device spi_eeprom;
220 struct mutex spi_lock; 215 struct mutex spi_lock;