diff options
| author | Mike Frysinger <vapier@gentoo.org> | 2010-12-23 15:40:12 -0500 | 
|---|---|---|
| committer | Wolfgang Denk <wd@denx.de> | 2011-01-09 18:06:50 +0100 | 
| commit | 8ef583a0351590a91394499eb5ca2ab8a703d959 (patch) | |
| tree | 36dafbd4bdd7e46130aec04bbc0dbfe26e896d9f /drivers/net/eepro100.c | |
| parent | 4ffeab2cc00b61bc4616d9e3c25d33937b0feb34 (diff) | |
| download | olio-uboot-2014.01-8ef583a0351590a91394499eb5ca2ab8a703d959.tar.xz olio-uboot-2014.01-8ef583a0351590a91394499eb5ca2ab8a703d959.zip | |
miiphy: convert to linux/mii.h
The include/miiphy.h header duplicates a lot of things from linux/mii.h.
So punt all the things that overlap to keep the API simple and to make
merging between U-Boot and Linux simpler.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'drivers/net/eepro100.c')
| -rw-r--r-- | drivers/net/eepro100.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/drivers/net/eepro100.c b/drivers/net/eepro100.c index ae0e0d458..86709a7f0 100644 --- a/drivers/net/eepro100.c +++ b/drivers/net/eepro100.c @@ -335,7 +335,7 @@ static struct eth_device* verify_phyaddr (const char *devname,  	}  	/* read id2 register */ -	if (get_phyreg(dev, addr, PHY_PHYIDR2, &value) != 0) { +	if (get_phyreg(dev, addr, MII_PHYSID2, &value) != 0) {  		printf("%s: mii read timeout!\n", devname);  		return NULL;  	} |