diff options
author | Yuval Mintz <Yuval.Mintz@qlogic.com> | 2016-06-19 15:18:15 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-19 10:47:33 -0700 |
commit | b639f197210d37905a6018ae4297659eb3f48f8f (patch) | |
tree | d559678692eb8783680bd20faf45f8009e6bd74e /drivers/net/ethernet/qlogic/qed/qed_main.c | |
parent | db511c37d4eb2b4e7312791eb8f9b34ed867445e (diff) |
qed: Add missing port-mode
The 'MODULE_FIBER' value replaced several other FIBER values
in newer management firmware images, so existing code would
fail to properly reflect its mode.
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qed/qed_main.c')
-rw-r--r-- | drivers/net/ethernet/qlogic/qed/qed_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/qlogic/qed/qed_main.c b/drivers/net/ethernet/qlogic/qed/qed_main.c index 61cc6869fa65..c7e01b303540 100644 --- a/drivers/net/ethernet/qlogic/qed/qed_main.c +++ b/drivers/net/ethernet/qlogic/qed/qed_main.c @@ -1085,6 +1085,7 @@ static int qed_get_port_type(u32 media_type) case MEDIA_SFPP_10G_FIBER: case MEDIA_SFP_1G_FIBER: case MEDIA_XFP_FIBER: + case MEDIA_MODULE_FIBER: case MEDIA_KR: port_type = PORT_FIBRE; break; |