OSDN Git Service

bnxt_en: Use register window 6 instead of 5 to read the PHC
authorMichael Chan <michael.chan@broadcom.com>
Sat, 7 Aug 2021 19:03:15 +0000 (15:03 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sun, 8 Aug 2021 12:05:51 +0000 (13:05 +0100)
commit92529df76db5ab184b82674cf7a4eef4b665b40e
tree543e54318b4510deea07055120221b38b142e8b7
parent9e26680733d5c6538ba2e7a111fb49c9ac2dc16a
bnxt_en: Use register window 6 instead of 5 to read the PHC

Some older Broadcom debug tools use window 5 and may conflict, so switch
to use window 6 instead.

Fixes: 118612d519d8 ("bnxt_en: Add PTP clock APIs, ioctls, and ethtool methods")
Reviewed-by: Andy Gospodarek <gospo@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.h