[U-Boot] phylib + mii + phy_parse_status

2011-08-25 Thread Michal Simek
Hi, I have done some experiments with phylib and Xilinx ethernet drivers and I found that mii code show different values for speed and duplex. I think that the main problem is that there are called miiphy_speed and miiphy_duplex functions instead of phy parsing functions. I think that it will be

Re: [U-Boot] phylib + mii + phy_parse_status

2011-08-25 Thread Mike Frysinger
On Thursday, August 25, 2011 03:56:50 Michal Simek wrote: Then will be good to synchronize FULL/HALF and DUPLEX_FULL/DUPLEX_HALF. miiphy.h #define HALF22 #define FULL44 include/linux/ethtool.h #define DUPLEX_HALF 0x00 #define