hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/include/linux/sxgbe_platform.h
....@@ -1,17 +1,16 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
2
- * 10G controller driver for Samsung EXYNOS SoCs
3
+ * 10G controller driver for Samsung Exynos SoCs
34 *
45 * Copyright (C) 2013 Samsung Electronics Co., Ltd.
56 * http://www.samsung.com
67 *
78 * Author: Siva Reddy Kallam <siva.kallam@samsung.com>
8
- *
9
- * This program is free software; you can redistribute it and/or modify
10
- * it under the terms of the GNU General Public License version 2 as
11
- * published by the Free Software Foundation.
129 */
1310 #ifndef __SXGBE_PLATFORM_H__
1411 #define __SXGBE_PLATFORM_H__
12
+
13
+#include <linux/phy.h>
1514
1615 /* MDC Clock Selection define*/
1716 #define SXGBE_CSR_100_150M 0x0 /* MDC = clk_scr_i/62 */
....@@ -41,7 +40,7 @@
4140 char *phy_bus_name;
4241 int bus_id;
4342 int phy_addr;
44
- int interface;
43
+ phy_interface_t interface;
4544 struct sxgbe_mdio_bus_data *mdio_bus_data;
4645 struct sxgbe_dma_cfg *dma_cfg;
4746 int clk_csr;