diff options
author | David S. Miller <davem@davemloft.net> | 2009-01-30 17:31:07 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-30 17:31:07 -0500 |
commit | 05bee4737774881e027bfd9a8b5c40a7d68f6325 (patch) | |
tree | 5fd32eb8fe345d2d30e85910beac241a4439e8cd /drivers/net/sfc/net_driver.h | |
parent | 80595d59ba9917227856e663da249c2276a8628d (diff) | |
parent | 905db44087855e3c1709f538ecdc22fd149cadd8 (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts:
drivers/net/e1000/e1000_main.c
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 8643505788cc..19930ff9df7b 100644 --- a/drivers/net/sfc/net_driver.h +++ b/drivers/net/sfc/net_driver.h | |||
@@ -557,7 +557,7 @@ struct efx_mac_operations { | |||
557 | * @poll: Poll for hardware state. Serialised by the mac_lock. | 557 | * @poll: Poll for hardware state. Serialised by the mac_lock. |
558 | * @get_settings: Get ethtool settings. Serialised by the mac_lock. | 558 | * @get_settings: Get ethtool settings. Serialised by the mac_lock. |
559 | * @set_settings: Set ethtool settings. Serialised by the mac_lock. | 559 | * @set_settings: Set ethtool settings. Serialised by the mac_lock. |
560 | * @set_xnp_advertise: Set abilities advertised in Extended Next Page | 560 | * @set_npage_adv: Set abilities advertised in (Extended) Next Page |
561 | * (only needed where AN bit is set in mmds) | 561 | * (only needed where AN bit is set in mmds) |
562 | * @num_tests: Number of PHY-specific tests/results | 562 | * @num_tests: Number of PHY-specific tests/results |
563 | * @test_names: Names of the tests/results | 563 | * @test_names: Names of the tests/results |
@@ -577,7 +577,7 @@ struct efx_phy_operations { | |||
577 | struct ethtool_cmd *ecmd); | 577 | struct ethtool_cmd *ecmd); |
578 | int (*set_settings) (struct efx_nic *efx, | 578 | int (*set_settings) (struct efx_nic *efx, |
579 | struct ethtool_cmd *ecmd); | 579 | struct ethtool_cmd *ecmd); |
580 | bool (*set_xnp_advertise) (struct efx_nic *efx, u32); | 580 | void (*set_npage_adv) (struct efx_nic *efx, u32); |
581 | u32 num_tests; | 581 | u32 num_tests; |
582 | const char *const *test_names; | 582 | const char *const *test_names; |
583 | int (*run_tests) (struct efx_nic *efx, int *results, unsigned flags); | 583 | int (*run_tests) (struct efx_nic *efx, int *results, unsigned flags); |
@@ -745,8 +745,7 @@ union efx_multicast_hash { | |||
745 | * &struct net_device_stats. | 745 | * &struct net_device_stats. |
746 | * @stats_buffer: DMA buffer for statistics | 746 | * @stats_buffer: DMA buffer for statistics |
747 | * @stats_lock: Statistics update lock. Serialises statistics fetches | 747 | * @stats_lock: Statistics update lock. Serialises statistics fetches |
748 | * @stats_enabled: Temporarily disable statistics fetches. | 748 | * @stats_disable_count: Nest count for disabling statistics fetches |
749 | * Serialised by @stats_lock | ||
750 | * @mac_op: MAC interface | 749 | * @mac_op: MAC interface |
751 | * @mac_address: Permanent MAC address | 750 | * @mac_address: Permanent MAC address |
752 | * @phy_type: PHY type | 751 | * @phy_type: PHY type |
@@ -828,7 +827,7 @@ struct efx_nic { | |||
828 | struct efx_mac_stats mac_stats; | 827 | struct efx_mac_stats mac_stats; |
829 | struct efx_buffer stats_buffer; | 828 | struct efx_buffer stats_buffer; |
830 | spinlock_t stats_lock; | 829 | spinlock_t stats_lock; |
831 | bool stats_enabled; | 830 | unsigned int stats_disable_count; |
832 | 831 | ||
833 | struct efx_mac_operations *mac_op; | 832 | struct efx_mac_operations *mac_op; |
834 | unsigned char mac_address[ETH_ALEN]; | 833 | unsigned char mac_address[ETH_ALEN]; |