diff options
Diffstat (limited to 'drivers/net/e1000e/82571.c')
-rw-r--r-- | drivers/net/e1000e/82571.c | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/drivers/net/e1000e/82571.c b/drivers/net/e1000e/82571.c index 680b7c703062..6fe1b3c73c16 100644 --- a/drivers/net/e1000e/82571.c +++ b/drivers/net/e1000e/82571.c | |||
@@ -1671,64 +1671,64 @@ static struct e1000_mac_operations e82571_mac_ops = { | |||
1671 | }; | 1671 | }; |
1672 | 1672 | ||
1673 | static struct e1000_phy_operations e82_phy_ops_igp = { | 1673 | static struct e1000_phy_operations e82_phy_ops_igp = { |
1674 | .acquire_phy = e1000_get_hw_semaphore_82571, | 1674 | .acquire = e1000_get_hw_semaphore_82571, |
1675 | .check_reset_block = e1000e_check_reset_block_generic, | 1675 | .check_reset_block = e1000e_check_reset_block_generic, |
1676 | .commit_phy = NULL, | 1676 | .commit = NULL, |
1677 | .force_speed_duplex = e1000e_phy_force_speed_duplex_igp, | 1677 | .force_speed_duplex = e1000e_phy_force_speed_duplex_igp, |
1678 | .get_cfg_done = e1000_get_cfg_done_82571, | 1678 | .get_cfg_done = e1000_get_cfg_done_82571, |
1679 | .get_cable_length = e1000e_get_cable_length_igp_2, | 1679 | .get_cable_length = e1000e_get_cable_length_igp_2, |
1680 | .get_phy_info = e1000e_get_phy_info_igp, | 1680 | .get_info = e1000e_get_phy_info_igp, |
1681 | .read_phy_reg = e1000e_read_phy_reg_igp, | 1681 | .read_reg = e1000e_read_phy_reg_igp, |
1682 | .release_phy = e1000_put_hw_semaphore_82571, | 1682 | .release = e1000_put_hw_semaphore_82571, |
1683 | .reset_phy = e1000e_phy_hw_reset_generic, | 1683 | .reset = e1000e_phy_hw_reset_generic, |
1684 | .set_d0_lplu_state = e1000_set_d0_lplu_state_82571, | 1684 | .set_d0_lplu_state = e1000_set_d0_lplu_state_82571, |
1685 | .set_d3_lplu_state = e1000e_set_d3_lplu_state, | 1685 | .set_d3_lplu_state = e1000e_set_d3_lplu_state, |
1686 | .write_phy_reg = e1000e_write_phy_reg_igp, | 1686 | .write_reg = e1000e_write_phy_reg_igp, |
1687 | .cfg_on_link_up = NULL, | 1687 | .cfg_on_link_up = NULL, |
1688 | }; | 1688 | }; |
1689 | 1689 | ||
1690 | static struct e1000_phy_operations e82_phy_ops_m88 = { | 1690 | static struct e1000_phy_operations e82_phy_ops_m88 = { |
1691 | .acquire_phy = e1000_get_hw_semaphore_82571, | 1691 | .acquire = e1000_get_hw_semaphore_82571, |
1692 | .check_reset_block = e1000e_check_reset_block_generic, | 1692 | .check_reset_block = e1000e_check_reset_block_generic, |
1693 | .commit_phy = e1000e_phy_sw_reset, | 1693 | .commit = e1000e_phy_sw_reset, |
1694 | .force_speed_duplex = e1000e_phy_force_speed_duplex_m88, | 1694 | .force_speed_duplex = e1000e_phy_force_speed_duplex_m88, |
1695 | .get_cfg_done = e1000e_get_cfg_done, | 1695 | .get_cfg_done = e1000e_get_cfg_done, |
1696 | .get_cable_length = e1000e_get_cable_length_m88, | 1696 | .get_cable_length = e1000e_get_cable_length_m88, |
1697 | .get_phy_info = e1000e_get_phy_info_m88, | 1697 | .get_info = e1000e_get_phy_info_m88, |
1698 | .read_phy_reg = e1000e_read_phy_reg_m88, | 1698 | .read_reg = e1000e_read_phy_reg_m88, |
1699 | .release_phy = e1000_put_hw_semaphore_82571, | 1699 | .release = e1000_put_hw_semaphore_82571, |
1700 | .reset_phy = e1000e_phy_hw_reset_generic, | 1700 | .reset = e1000e_phy_hw_reset_generic, |
1701 | .set_d0_lplu_state = e1000_set_d0_lplu_state_82571, | 1701 | .set_d0_lplu_state = e1000_set_d0_lplu_state_82571, |
1702 | .set_d3_lplu_state = e1000e_set_d3_lplu_state, | 1702 | .set_d3_lplu_state = e1000e_set_d3_lplu_state, |
1703 | .write_phy_reg = e1000e_write_phy_reg_m88, | 1703 | .write_reg = e1000e_write_phy_reg_m88, |
1704 | .cfg_on_link_up = NULL, | 1704 | .cfg_on_link_up = NULL, |
1705 | }; | 1705 | }; |
1706 | 1706 | ||
1707 | static struct e1000_phy_operations e82_phy_ops_bm = { | 1707 | static struct e1000_phy_operations e82_phy_ops_bm = { |
1708 | .acquire_phy = e1000_get_hw_semaphore_82571, | 1708 | .acquire = e1000_get_hw_semaphore_82571, |
1709 | .check_reset_block = e1000e_check_reset_block_generic, | 1709 | .check_reset_block = e1000e_check_reset_block_generic, |
1710 | .commit_phy = e1000e_phy_sw_reset, | 1710 | .commit = e1000e_phy_sw_reset, |
1711 | .force_speed_duplex = e1000e_phy_force_speed_duplex_m88, | 1711 | .force_speed_duplex = e1000e_phy_force_speed_duplex_m88, |
1712 | .get_cfg_done = e1000e_get_cfg_done, | 1712 | .get_cfg_done = e1000e_get_cfg_done, |
1713 | .get_cable_length = e1000e_get_cable_length_m88, | 1713 | .get_cable_length = e1000e_get_cable_length_m88, |
1714 | .get_phy_info = e1000e_get_phy_info_m88, | 1714 | .get_info = e1000e_get_phy_info_m88, |
1715 | .read_phy_reg = e1000e_read_phy_reg_bm2, | 1715 | .read_reg = e1000e_read_phy_reg_bm2, |
1716 | .release_phy = e1000_put_hw_semaphore_82571, | 1716 | .release = e1000_put_hw_semaphore_82571, |
1717 | .reset_phy = e1000e_phy_hw_reset_generic, | 1717 | .reset = e1000e_phy_hw_reset_generic, |
1718 | .set_d0_lplu_state = e1000_set_d0_lplu_state_82571, | 1718 | .set_d0_lplu_state = e1000_set_d0_lplu_state_82571, |
1719 | .set_d3_lplu_state = e1000e_set_d3_lplu_state, | 1719 | .set_d3_lplu_state = e1000e_set_d3_lplu_state, |
1720 | .write_phy_reg = e1000e_write_phy_reg_bm2, | 1720 | .write_reg = e1000e_write_phy_reg_bm2, |
1721 | .cfg_on_link_up = NULL, | 1721 | .cfg_on_link_up = NULL, |
1722 | }; | 1722 | }; |
1723 | 1723 | ||
1724 | static struct e1000_nvm_operations e82571_nvm_ops = { | 1724 | static struct e1000_nvm_operations e82571_nvm_ops = { |
1725 | .acquire_nvm = e1000_acquire_nvm_82571, | 1725 | .acquire = e1000_acquire_nvm_82571, |
1726 | .read_nvm = e1000e_read_nvm_eerd, | 1726 | .read = e1000e_read_nvm_eerd, |
1727 | .release_nvm = e1000_release_nvm_82571, | 1727 | .release = e1000_release_nvm_82571, |
1728 | .update_nvm = e1000_update_nvm_checksum_82571, | 1728 | .update = e1000_update_nvm_checksum_82571, |
1729 | .valid_led_default = e1000_valid_led_default_82571, | 1729 | .valid_led_default = e1000_valid_led_default_82571, |
1730 | .validate_nvm = e1000_validate_nvm_checksum_82571, | 1730 | .validate = e1000_validate_nvm_checksum_82571, |
1731 | .write_nvm = e1000_write_nvm_82571, | 1731 | .write = e1000_write_nvm_82571, |
1732 | }; | 1732 | }; |
1733 | 1733 | ||
1734 | struct e1000_info e1000_82571_info = { | 1734 | struct e1000_info e1000_82571_info = { |