.. | .. |
---|
466 | 466 | ? igb_setup_copper_link_82575 |
---|
467 | 467 | : igb_setup_serdes_link_82575; |
---|
468 | 468 | |
---|
469 | | - if (mac->type == e1000_82580) { |
---|
| 469 | + if (mac->type == e1000_82580 || mac->type == e1000_i350) { |
---|
470 | 470 | switch (hw->device_id) { |
---|
471 | 471 | /* feature not supported on these id's */ |
---|
472 | 472 | case E1000_DEV_ID_DH89XXCC_SGMII: |
---|
.. | .. |
---|
638 | 638 | dev_spec->sgmii_active = true; |
---|
639 | 639 | break; |
---|
640 | 640 | } |
---|
641 | | - /* fall through for I2C based SGMII */ |
---|
| 641 | + fallthrough; /* for I2C based SGMII */ |
---|
642 | 642 | case E1000_CTRL_EXT_LINK_MODE_PCIE_SERDES: |
---|
643 | 643 | /* read media type from SFP EEPROM */ |
---|
644 | 644 | ret_val = igb_set_sfp_media_type_82575(hw); |
---|
.. | .. |
---|
1704 | 1704 | case E1000_CTRL_EXT_LINK_MODE_1000BASE_KX: |
---|
1705 | 1705 | /* disable PCS autoneg and support parallel detect only */ |
---|
1706 | 1706 | pcs_autoneg = false; |
---|
1707 | | - /* fall through */ |
---|
| 1707 | + fallthrough; |
---|
1708 | 1708 | default: |
---|
1709 | 1709 | if (hw->mac.type == e1000_82575 || |
---|
1710 | 1710 | hw->mac.type == e1000_82576) { |
---|
.. | .. |
---|
2554 | 2554 | /** |
---|
2555 | 2555 | * __igb_access_emi_reg - Read/write EMI register |
---|
2556 | 2556 | * @hw: pointer to the HW structure |
---|
2557 | | - * @addr: EMI address to program |
---|
| 2557 | + * @address: EMI address to program |
---|
2558 | 2558 | * @data: pointer to value to read/write from/to the EMI address |
---|
2559 | 2559 | * @read: boolean flag to indicate read or write |
---|
2560 | 2560 | **/ |
---|
.. | .. |
---|
2590 | 2590 | * igb_set_eee_i350 - Enable/disable EEE support |
---|
2591 | 2591 | * @hw: pointer to the HW structure |
---|
2592 | 2592 | * @adv1G: boolean flag enabling 1G EEE advertisement |
---|
2593 | | - * @adv100m: boolean flag enabling 100M EEE advertisement |
---|
| 2593 | + * @adv100M: boolean flag enabling 100M EEE advertisement |
---|
2594 | 2594 | * |
---|
2595 | 2595 | * Enable/disable EEE based on setting in dev_spec structure. |
---|
2596 | 2596 | * |
---|
.. | .. |
---|
2646 | 2646 | * igb_set_eee_i354 - Enable/disable EEE support |
---|
2647 | 2647 | * @hw: pointer to the HW structure |
---|
2648 | 2648 | * @adv1G: boolean flag enabling 1G EEE advertisement |
---|
2649 | | - * @adv100m: boolean flag enabling 100M EEE advertisement |
---|
| 2649 | + * @adv100M: boolean flag enabling 100M EEE advertisement |
---|
2650 | 2650 | * |
---|
2651 | 2651 | * Enable/disable EEE legacy mode based on setting in dev_spec structure. |
---|
2652 | 2652 | * |
---|