diff options
author | Michael Chan <[email protected]> | 2017-02-12 19:18:15 -0500 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-02-12 22:18:49 -0500 |
commit | 33dac24abbd5a77eefca18fb7ebbd01a3cf1b343 (patch) | |
tree | 14ba60af62784512b09923cc271a74026d113a91 /lib/memory-notifier-error-inject.c | |
parent | 61aad724ec0a685bc83b02b059a3ca0ad3bde6b0 (diff) |
bnxt_en: Do not setup PHY unless driving a single PF.
If it is a VF or an NPAR function, the firmware call to setup the PHY
will fail. Adding this check will prevent unnecessary firmware calls
to setup the PHY unless calling from the PF. This will also eliminate
many unnecessary warning messages when the call from a VF or NPAR fails.
Signed-off-by: Michael Chan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions