diff options
author | Michael Chan <michael.chan@broadcom.com> | 2021-04-25 13:45:19 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-25 18:37:38 -0700 |
commit | b0d28207ced88b3909547d8299f679353a87fd35 (patch) | |
tree | cf435aec7affaf2985ed3956c9d750d49ff02db6 /drivers/media/usb | |
parent | 1d2deb61f095a7df231cc394c06d07a2893ac9eb (diff) |
bnxt_en: Add a new phy_flags field to the main driver structure.
Copy the phy related feature flags from the firmware call
HWRM_PORT_PHY_QCAPS to this new field. We can also remove the flags
field in the bnxt_test_info structure. It's cleaner to have all PHY
related flags in one location, directly copied from the firmware.
To keep the BNXT_PHY_CFG_ABLE() macro logic the same, we need to make
a slight adjustment to check that it is a PF.
Reviewed-by: Edwin Peer <edwin.peer@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/media/usb')
0 files changed, 0 insertions, 0 deletions