Commit f1bb812
committed
bnxt_en: Refactor bnxt_ptp_init()
JIRA: https://issues.redhat.com/browse/RHEL-54644
JIRA: https://issues.redhat.com/browse/RHEL-69499
commit 1e9614c
Author: Michael Chan <michael.chan@broadcom.com>
Date: Fri Nov 22 14:45:45 2024 -0800
bnxt_en: Refactor bnxt_ptp_init()
Instead of passing the 2nd parameter phc_cfg to bnxt_ptp_init().
Store it in bp->ptp_cfg so that the caller doesn't need to know what
the value should be.
In the next patch, we'll need to call bnxt_ptp_init() in bnxt_resume()
and this will make it easier.
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Michal Schmidt <mschmidt@redhat.com>1 parent 5f3ec12 commit f1bb812
File tree
3 files changed
+7
-6
lines changed- drivers/net/ethernet/broadcom/bnxt
3 files changed
+7
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9053 | 9053 | | |
9054 | 9054 | | |
9055 | 9055 | | |
9056 | | - | |
9057 | 9056 | | |
9058 | 9057 | | |
9059 | 9058 | | |
| |||
9100 | 9099 | | |
9101 | 9100 | | |
9102 | 9101 | | |
9103 | | - | |
9104 | | - | |
| 9102 | + | |
| 9103 | + | |
| 9104 | + | |
9105 | 9105 | | |
9106 | 9106 | | |
9107 | 9107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1024 | 1024 | | |
1025 | 1025 | | |
1026 | 1026 | | |
1027 | | - | |
| 1027 | + | |
1028 | 1028 | | |
1029 | 1029 | | |
1030 | 1030 | | |
| |||
1047 | 1047 | | |
1048 | 1048 | | |
1049 | 1049 | | |
1050 | | - | |
| 1050 | + | |
1051 | 1051 | | |
1052 | 1052 | | |
1053 | 1053 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| 136 | + | |
136 | 137 | | |
137 | 138 | | |
138 | 139 | | |
| |||
180 | 181 | | |
181 | 182 | | |
182 | 183 | | |
183 | | - | |
| 184 | + | |
184 | 185 | | |
185 | 186 | | |
0 commit comments