]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit536dea69b49b7a3e6d7d631cef17b738d8208570
tree543e54318b4510deea07055120221b38b142e8b7
parentf3d21827be001333c2da81ad4dc976a908b0c63c
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: ac71f37f6a66 ("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