u-boot-brain/include/linux
Andy Fleming ee8fa20f54 phylib: Detect link on 10G devices correctly
gen10g_startup() had 2 bugs:

1) It had a boolean logic error in checking the MMD mask, and
always checked all of them.

2) It checked devices which don't actually report link state, which
meant that it would never believe the link was fully up.

Fix the boolean logic, and then mask the MMD mask so only link-reporting
devices are checked.

Signed-off-by: Andy Fleming <afleming@freescale.com>
Reported-by: Ed Swarthout <Ed.Swarthout@freescale.com>
2011-07-27 23:21:25 +02:00
..
byteorder Cleanup for GCC-4.x 2005-10-13 16:45:02 +02:00
mtd NAND: add support for reading ONFI page table 2011-04-01 14:49:08 -05:00
unaligned ARM: Use Linux version for unaligned access code 2009-11-07 15:56:30 -06:00
usb USB: Add USB RNDIS gadget protocol 2011-02-19 20:32:37 +01:00
apm_bios.h x86: Fix support for booting bzImage 2010-05-06 00:17:01 +02:00
bitops.h Correct ffs/fls regression for PowerPC etc 2009-09-17 22:45:31 +02:00
compiler-gcc.h x86: Fix support for booting bzImage 2010-05-06 00:17:01 +02:00
compiler-gcc4.h x86: Fix support for booting bzImage 2010-05-06 00:17:01 +02:00
compiler.h x86: Fix support for booting bzImage 2010-05-06 00:17:01 +02:00
config.h Initial revision 2000-08-21 15:05:47 +00:00
crc7.h lib: add crc7 from Linux 2011-01-18 23:38:08 +01:00
crc32.h Coding style cleanup, update CHANGELOG. 2008-12-16 01:02:17 +01:00
ctype.h ctype: constify lookup table 2010-11-28 21:58:29 +01:00
edd.h x86: Fix support for booting bzImage 2010-05-06 00:17:01 +02:00
err.h Update MTD to that of Linux 2.6.22.1 2008-08-12 11:31:15 -05:00
ethtool.h Create PHY Lib for U-Boot 2011-04-20 15:09:19 -05:00
fb.h Coding Style cleanup 2010-10-27 22:48:30 +02:00
ioctl.h x86: Fix support for booting bzImage 2010-05-06 00:17:01 +02:00
ioport.h x86: Fix support for booting bzImage 2010-05-06 00:17:01 +02:00
kbuild.h Coding Style cleanup 2010-10-27 22:48:30 +02:00
list.h Coding style cleanup, update CHANGELOG 2008-09-13 02:23:05 +02:00
lzo.h add lzop decompression support 2009-12-05 01:30:23 +01:00
math64.h UBIFS: Implement read-only UBIFS support in U-Boot 2009-03-20 22:39:15 +01:00
mc146818rtc.h Replace BCD2BIN and BIN2BCD macros with inline functions 2009-08-25 12:57:55 +02:00
mdio.h phylib: Detect link on 10G devices correctly 2011-07-27 23:21:25 +02:00
mii.h Coding style (white space) cleanup. 2010-12-17 10:14:09 +01:00
netdevice.h USB-CDC: Port struct net_device_stats 2011-02-19 20:32:37 +01:00
poison.h update linux/list 2008-08-31 04:24:51 +02:00
posix_types.h Initial revision 2001-04-28 17:59:11 +00:00
rbtree.h Add Red Black Tree support 2008-10-18 21:54:01 +02:00
screen_info.h x86: Fix support for booting bzImage 2010-05-06 00:17:01 +02:00
stat.h nios2: add struct stat support in linux/stat.h 2010-04-02 12:28:40 -04:00
stddef.h Initial revision 2002-03-31 12:34:56 +00:00
string.h Scheduled for removal: strnicmp() which is unused 2006-05-03 01:00:39 +02:00
time.h Initial revision 2002-03-08 21:31:05 +00:00
types.h UBI: Add basic UBI support to U-Boot (Part 6/8) 2008-11-19 20:34:39 +01:00