diff options
Diffstat (limited to 'drivers/net/e1000e/82571.c')
-rw-r--r-- | drivers/net/e1000e/82571.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/e1000e/82571.c b/drivers/net/e1000e/82571.c index d1a45143c2aa..7674a91824bc 100644 --- a/drivers/net/e1000e/82571.c +++ b/drivers/net/e1000e/82571.c | |||
@@ -267,8 +267,14 @@ static s32 e1000_init_mac_params_82571(struct e1000_adapter *adapter) | |||
267 | } | 267 | } |
268 | 268 | ||
269 | switch (hw->mac.type) { | 269 | switch (hw->mac.type) { |
270 | case e1000_82573: | ||
271 | func->set_lan_id = e1000_set_lan_id_single_port; | ||
272 | func->check_mng_mode = e1000e_check_mng_mode_generic; | ||
273 | func->led_on = e1000e_led_on_generic; | ||
274 | break; | ||
270 | case e1000_82574: | 275 | case e1000_82574: |
271 | case e1000_82583: | 276 | case e1000_82583: |
277 | func->set_lan_id = e1000_set_lan_id_single_port; | ||
272 | func->check_mng_mode = e1000_check_mng_mode_82574; | 278 | func->check_mng_mode = e1000_check_mng_mode_82574; |
273 | func->led_on = e1000_led_on_82574; | 279 | func->led_on = e1000_led_on_82574; |
274 | break; | 280 | break; |
@@ -1721,6 +1727,7 @@ static struct e1000_mac_operations e82571_mac_ops = { | |||
1721 | .cleanup_led = e1000e_cleanup_led_generic, | 1727 | .cleanup_led = e1000e_cleanup_led_generic, |
1722 | .clear_hw_cntrs = e1000_clear_hw_cntrs_82571, | 1728 | .clear_hw_cntrs = e1000_clear_hw_cntrs_82571, |
1723 | .get_bus_info = e1000e_get_bus_info_pcie, | 1729 | .get_bus_info = e1000e_get_bus_info_pcie, |
1730 | .set_lan_id = e1000_set_lan_id_multi_port_pcie, | ||
1724 | /* .get_link_up_info: media type dependent */ | 1731 | /* .get_link_up_info: media type dependent */ |
1725 | /* .led_on: mac type dependent */ | 1732 | /* .led_on: mac type dependent */ |
1726 | .led_off = e1000e_led_off_generic, | 1733 | .led_off = e1000e_led_off_generic, |