bnxt_en: Refactor bnxt_fw_to_ethtool_advertised_spds().
authorMichael Chan <michael.chan@broadcom.com>
Mon, 7 Mar 2016 20:38:41 +0000 (15:38 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Mar 2016 19:51:42 +0000 (14:51 -0500)
commit27c4d578600c401c119c012a90920805fab05cc9
tree76e71b2efdbf97a6bd19006c25da0b9cee06f56a
parentf8b33d8e870758ccff13e5f81fd5050b52a42d35
bnxt_en: Refactor bnxt_fw_to_ethtool_advertised_spds().

Include the conversion of pause bits and add one extra call layer so
that the same refactored function can be reused to get the link partner
advertisement bits.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c