i40e: Add dual speed module support
[deliverable/linux.git] / drivers / net / ethernet / intel / i40e / i40e_common.c
index 01874c0fff1dcd4b71078318e29a206854271b80..30056b25d94e6c331d9456c7171e3b51b5b7e754 100644 (file)
@@ -752,6 +752,8 @@ static enum i40e_media_type i40e_get_media_type(struct i40e_hw *hw)
        switch (hw->phy.link_info.phy_type) {
        case I40E_PHY_TYPE_10GBASE_SR:
        case I40E_PHY_TYPE_10GBASE_LR:
+       case I40E_PHY_TYPE_1000BASE_SX:
+       case I40E_PHY_TYPE_1000BASE_LX:
        case I40E_PHY_TYPE_40GBASE_SR4:
        case I40E_PHY_TYPE_40GBASE_LR4:
                media = I40E_MEDIA_TYPE_FIBER;
This page took 0.024558 seconds and 5 git commands to generate.