hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
kernel/drivers/net/ethernet/apm/xgene/xgene_enet_main.h
....@@ -1,22 +1,10 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* Applied Micro X-Gene SoC Ethernet Driver
23 *
34 * Copyright (c) 2014, Applied Micro Circuits Corporation
45 * Authors: Iyappan Subramanian <isubramanian@apm.com>
56 * Ravi Patel <rapatel@apm.com>
67 * Keyur Chudgar <kchudgar@apm.com>
7
- *
8
- * This program is free software; you can redistribute it and/or modify it
9
- * under the terms of the GNU General Public License as published by the
10
- * Free Software Foundation; either version 2 of the License, or (at your
11
- * option) any later version.
12
- *
13
- * This program is distributed in the hope that it will be useful,
14
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
- * GNU General Public License for more details.
17
- *
18
- * You should have received a copy of the GNU General Public License
19
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
208 */
219
2210 #ifndef __XGENE_ENET_MAIN_H__
....@@ -30,6 +18,7 @@
3018 #include <linux/of_platform.h>
3119 #include <linux/of_net.h>
3220 #include <linux/of_mdio.h>
21
+#include <linux/mdio/mdio-xgene.h>
3322 #include <linux/module.h>
3423 #include <net/ip.h>
3524 #include <linux/prefetch.h>
....@@ -38,9 +27,7 @@
3827 #include "xgene_enet_hw.h"
3928 #include "xgene_enet_cle.h"
4029 #include "xgene_enet_ring2.h"
41
-#include "../../../phy/mdio-xgene.h"
4230
43
-#define XGENE_DRV_VERSION "v1.0"
4431 #define ETHER_MIN_PACKET 64
4532 #define ETHER_STD_PACKET 1518
4633 #define XGENE_ENET_STD_MTU 1536