forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.h
....@@ -1,19 +1,9 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /******************************************************************************
23 PTP Header file
34
45 Copyright (C) 2013 Vayavya Labs Pvt Ltd
56
6
- This program is free software; you can redistribute it and/or modify it
7
- under the terms and conditions of the GNU General Public License,
8
- version 2, as published by the Free Software Foundation.
9
-
10
- This program is distributed in the hope it will be useful, but WITHOUT
11
- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12
- FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13
- more details.
14
-
15
- The full GNU General Public License is included in this distribution in
16
- the file called "COPYING".
177
188 Author: Rayagond Kokatanur <rayagond@vayavyalabs.com>
199 ******************************************************************************/
....@@ -71,7 +61,7 @@
7161 #define PTP_TCR_TSENMACADDR BIT(18)
7262
7363 /* SSIR defines */
74
-#define PTP_SSIR_SSINC_MASK 0xff
64
+#define PTP_SSIR_SSINC_MAX 0xff
7565 #define GMAC4_PTP_SSIR_SSINC_SHIFT 16
7666
7767 #endif /* __STMMAC_PTP_H__ */