summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2016-08-08 11:28:41 -0500
committerJoe Hershberger <joe.hershberger@ni.com>2016-08-15 15:29:04 -0500
commitcc2593128f7ad1b879e9e5bd3097f6c717cf4c9a (patch)
treeda57493d8b1ce3b22b04c1744a091a9ee7813253 /include
parentdfcc496ed7e24d3eb9b506f000adefd916b5148f (diff)
downloadu-boot-imx-cc2593128f7ad1b879e9e5bd3097f6c717cf4c9a.zip
u-boot-imx-cc2593128f7ad1b879e9e5bd3097f6c717cf4c9a.tar.gz
u-boot-imx-cc2593128f7ad1b879e9e5bd3097f6c717cf4c9a.tar.bz2
net: mii: Clean up legacy glue that is not used
The cleanup of the legacy mii registration API that's no longer used now that the drivers have been converted to use the (more) modern API. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/miiphy.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/miiphy.h b/include/miiphy.h
index 8a55a13..83141b4 100644
--- a/include/miiphy.h
+++ b/include/miiphy.h
@@ -21,13 +21,6 @@
#include <net.h>
#include <phy.h>
-struct legacy_mii_dev {
- int (*read)(const char *devname, unsigned char addr,
- unsigned char reg, unsigned short *value);
- int (*write)(const char *devname, unsigned char addr,
- unsigned char reg, unsigned short value);
-};
-
int miiphy_read(const char *devname, unsigned char addr, unsigned char reg,
unsigned short *value);
int miiphy_write(const char *devname, unsigned char addr, unsigned char reg,
@@ -44,12 +37,6 @@ int miiphy_link(const char *devname, unsigned char addr);
void miiphy_init(void);
-void miiphy_register(const char *devname,
- int (*read)(const char *devname, unsigned char addr,
- unsigned char reg, unsigned short *value),
- int (*write)(const char *devname, unsigned char addr,
- unsigned char reg, unsigned short value));
-
int miiphy_set_current_dev(const char *devname);
const char *miiphy_get_current_dev(void);
struct mii_dev *mdio_get_current_dev(void);