diff options
Diffstat (limited to 'drivers/net/sfc/net_driver.h')
| -rw-r--r-- | drivers/net/sfc/net_driver.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/net/sfc/net_driver.h b/drivers/net/sfc/net_driver.h index 5f255f75754..e019ad1fb9a 100644 --- a/drivers/net/sfc/net_driver.h +++ b/drivers/net/sfc/net_driver.h | |||
| @@ -566,7 +566,7 @@ struct efx_mac_operations { | |||
| 566 | * @poll: Poll for hardware state. Serialised by the mac_lock. | 566 | * @poll: Poll for hardware state. Serialised by the mac_lock. |
| 567 | * @get_settings: Get ethtool settings. Serialised by the mac_lock. | 567 | * @get_settings: Get ethtool settings. Serialised by the mac_lock. |
| 568 | * @set_settings: Set ethtool settings. Serialised by the mac_lock. | 568 | * @set_settings: Set ethtool settings. Serialised by the mac_lock. |
| 569 | * @set_xnp_advertise: Set abilities advertised in Extended Next Page | 569 | * @set_npage_adv: Set abilities advertised in (Extended) Next Page |
| 570 | * (only needed where AN bit is set in mmds) | 570 | * (only needed where AN bit is set in mmds) |
| 571 | * @num_tests: Number of PHY-specific tests/results | 571 | * @num_tests: Number of PHY-specific tests/results |
| 572 | * @test_names: Names of the tests/results | 572 | * @test_names: Names of the tests/results |
| @@ -586,7 +586,7 @@ struct efx_phy_operations { | |||
| 586 | struct ethtool_cmd *ecmd); | 586 | struct ethtool_cmd *ecmd); |
| 587 | int (*set_settings) (struct efx_nic *efx, | 587 | int (*set_settings) (struct efx_nic *efx, |
| 588 | struct ethtool_cmd *ecmd); | 588 | struct ethtool_cmd *ecmd); |
| 589 | bool (*set_xnp_advertise) (struct efx_nic *efx, u32); | 589 | void (*set_npage_adv) (struct efx_nic *efx, u32); |
| 590 | u32 num_tests; | 590 | u32 num_tests; |
| 591 | const char *const *test_names; | 591 | const char *const *test_names; |
| 592 | int (*run_tests) (struct efx_nic *efx, int *results, unsigned flags); | 592 | int (*run_tests) (struct efx_nic *efx, int *results, unsigned flags); |
| @@ -754,8 +754,7 @@ union efx_multicast_hash { | |||
| 754 | * &struct net_device_stats. | 754 | * &struct net_device_stats. |
| 755 | * @stats_buffer: DMA buffer for statistics | 755 | * @stats_buffer: DMA buffer for statistics |
| 756 | * @stats_lock: Statistics update lock. Serialises statistics fetches | 756 | * @stats_lock: Statistics update lock. Serialises statistics fetches |
| 757 | * @stats_enabled: Temporarily disable statistics fetches. | 757 | * @stats_disable_count: Nest count for disabling statistics fetches |
| 758 | * Serialised by @stats_lock | ||
| 759 | * @mac_op: MAC interface | 758 | * @mac_op: MAC interface |
| 760 | * @mac_address: Permanent MAC address | 759 | * @mac_address: Permanent MAC address |
| 761 | * @phy_type: PHY type | 760 | * @phy_type: PHY type |
| @@ -837,7 +836,7 @@ struct efx_nic { | |||
| 837 | struct efx_mac_stats mac_stats; | 836 | struct efx_mac_stats mac_stats; |
| 838 | struct efx_buffer stats_buffer; | 837 | struct efx_buffer stats_buffer; |
| 839 | spinlock_t stats_lock; | 838 | spinlock_t stats_lock; |
| 840 | bool stats_enabled; | 839 | unsigned int stats_disable_count; |
| 841 | 840 | ||
| 842 | struct efx_mac_operations *mac_op; | 841 | struct efx_mac_operations *mac_op; |
| 843 | unsigned char mac_address[ETH_ALEN]; | 842 | unsigned char mac_address[ETH_ALEN]; |
