]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Mar 2016 19:51:43 +0000 (14:51 -0500)
commit40e912fa92c68450e5ec9e951657cb2fce3ee043
tree915dbc137f364f74fd1f8cefe1a945261bdb1bf6
parent23066d0d1ff3a6f5d75dee4749cbe72e7829a82c
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