aboutsummaryrefslogtreecommitdiff
path: root/include/fsl_mdio.h
diff options
context:
space:
mode:
authorBin Meng2016-01-11 22:41:18 -0800
committerJoe Hershberger2016-01-28 12:22:49 -0600
commit9872b736f957585c6494e727634fe6ed837bcd86 (patch)
tree1c7699aed813543ea95d23bdf771512948755508 /include/fsl_mdio.h
parent9ccb309651912ce71f295b3b2442c36c9cc1e094 (diff)
net: tsec: fsl_mdio: Fix several cosmetic issues
Clean up the tsec and fsl_mdio driver codes a little bit, by: - Fix misuse of tab and space here and there - Use correct multi-line comment format - Replace license identifier to GPL-2.0+ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'include/fsl_mdio.h')
-rw-r--r--include/fsl_mdio.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/fsl_mdio.h b/include/fsl_mdio.h
index 2137282df3f..25678a9988b 100644
--- a/include/fsl_mdio.h
+++ b/include/fsl_mdio.h
@@ -5,6 +5,7 @@
*
* SPDX-License-Identifier: GPL-2.0+
*/
+
#ifndef __FSL_PHY_H__
#define __FSL_PHY_H__
@@ -27,9 +28,9 @@ int fdt_fixup_phy_connection(void *blob, int offset, phy_interface_t phyc);
#define PHY_EXT_PAGE_ACCESS 0x1f
/* MII Management Configuration Register */
-#define MIIMCFG_RESET_MGMT 0x80000000
-#define MIIMCFG_MGMT_CLOCK_SELECT 0x00000007
-#define MIIMCFG_INIT_VALUE 0x00000003
+#define MIIMCFG_RESET_MGMT 0x80000000
+#define MIIMCFG_MGMT_CLOCK_SELECT 0x00000007
+#define MIIMCFG_INIT_VALUE 0x00000003
/* MII Management Command Register */
#define MIIMCOM_READ_CYCLE 0x00000001