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)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Mar 2016 19:51:43 +0000 (14:51 -0500)
commit4b32cacca28fe8b29bf266feff19b6fc2180402e
tree915dbc137f364f74fd1f8cefe1a945261bdb1bf6
parent3277360eb29c6e482391975717d983060ecbd28d
bnxt_en: Use common function to get ethtool supported flags.

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>
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c