aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mdio.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mdio.h')
-rw-r--r--include/linux/mdio.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/mdio.h b/include/linux/mdio.h
index 5645c0f863dc..1bff2f2d0e19 100644
--- a/include/linux/mdio.h
+++ b/include/linux/mdio.h
@@ -234,6 +234,9 @@ static inline __u16 mdio_phy_id_devad(int phy_id)
234 return phy_id & MDIO_PHY_ID_DEVAD; 234 return phy_id & MDIO_PHY_ID_DEVAD;
235} 235}
236 236
237#define MDIO_SUPPORTS_C22 1
238#define MDIO_SUPPORTS_C45 2
239
237#ifdef __KERNEL__ 240#ifdef __KERNEL__
238 241
239/** 242/**
@@ -264,8 +267,6 @@ struct mdio_if_info {
264 267
265#define MDIO_PRTAD_NONE (-1) 268#define MDIO_PRTAD_NONE (-1)
266#define MDIO_DEVAD_NONE (-1) 269#define MDIO_DEVAD_NONE (-1)
267#define MDIO_SUPPORTS_C22 1
268#define MDIO_SUPPORTS_C45 2
269#define MDIO_EMULATE_C22 4 270#define MDIO_EMULATE_C22 4
270 271
271struct ethtool_cmd; 272struct ethtool_cmd;