forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0_internal.h
....@@ -1,10 +1,7 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * aQuantia Corporation Network Driver
34 * Copyright (C) 2014-2017 aQuantia Corporation. All rights reserved
4
- *
5
- * This program is free software; you can redistribute it and/or modify it
6
- * under the terms and conditions of the GNU General Public License,
7
- * version 2, as published by the Free Software Foundation.
85 */
96
107 /* File hw_atl_a0_internal.h: Definition of Atlantic A0 chip specific
....@@ -61,12 +58,6 @@
6158
6259 #define HW_ATL_A0_MPI_SPEED_MSK 0xFFFFU
6360 #define HW_ATL_A0_MPI_SPEED_SHIFT 16U
64
-
65
-#define HW_ATL_A0_RATE_10G BIT(0)
66
-#define HW_ATL_A0_RATE_5G BIT(1)
67
-#define HW_ATL_A0_RATE_2G5 BIT(3)
68
-#define HW_ATL_A0_RATE_1G BIT(4)
69
-#define HW_ATL_A0_RATE_100M BIT(5)
7061
7162 #define HW_ATL_A0_TXBUF_MAX 160U
7263 #define HW_ATL_A0_RXBUF_MAX 320U