]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 7 Jul 2016 00:37:01 +0000 (17:37 -0700)
commit9789f8be538f07baac3ed176c128b193c672dc54
tree167a335b790f2fdb3022ffa225d0a5c83301edaf
parent72562833fa9a9985660dce83fd0b902ad2fc64f4
bnxt_en: Refactor bnxt_fw_to_ethtool_advertised_spds().

Orabug: 23221795

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>
(cherry picked from commit 27c4d578600c401c119c012a90920805fab05cc9)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c