commit | 2e9217d1e8b72dde2c7e3e2338cc1830f68cb58d | [log] [tgz] |
---|---|---|
author | Vasundhara Volam <vasundhara-v.volam@broadcom.com> | Wed May 22 19:12:57 2019 -0400 |
committer | David S. Miller <davem@davemloft.net> | Wed May 22 18:02:14 2019 -0700 |
tree | 8bf9f721f7a8bb0c0e5940d48d0abc8ae4e1c83e | |
parent | d629522e1d66561f38e5c8d4f52bb6d254ec0707 [diff] |
bnxt_en: Device serial number is supported only for PFs. Don't read DSN on VFs that do not have the PCI capability. Fixes: 03213a996531 ("bnxt: move bp->switch_id initialization to PF probe") Signed-off-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>