]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnxt_en: Use common function to get ethtool supported flags.
authorMichael Chan <michael.chan@broadcom.com>
Mon, 7 Mar 2016 20:38:43 +0000 (15:38 -0500)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 7 Jul 2016 00:37:02 +0000 (17:37 -0700)
commit69549a842ee84d5944890b87355adc23eea65cf0
tree53d7331d51693ddef6cb9a8ad446fea7c93e1c41
parent7a16b658a884b831fbab294a810aa40f6c51dad6
bnxt_en: Use common function to get ethtool supported flags.

Orabug: 23221795

The supported bits and advertising bits in ethtool have the same
definitions.  The same is true for the firmware bits.  So use the
common function to handle the conversion for both supported and
advertising bits.

v2: Don't use parentheses on function return.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 4b32cacca28fe8b29bf266feff19b6fc2180402e)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c