u-boot/drivers
Wolfgang Denk 0dcfb0fcb8 Revert "phylib: remove a couple of redundant code lines"
This reverts commit 041c542219.

The lines removed by this commit weren't redundant. The logic is (and
probably should be better commented):

Find the intersection of the advertised capabilities of both sides of
the link (lpa).
From that intersection, find the highest capability we can run at
(that will be the negotiated link).

Now imagine that the intersection (lpa) is (LPA_100HALF | LPA_10FULL).

The code will now set phydev->speed to 100, and phydev->duplex to 1,
but this link does not support 100FULL.

Kudos to Andy Fleming <afleming@gmail.com> for binging this to
attention and for the explanation.

Signed-off-by: Wolfgang Denk <wd@denx.de>
2011-09-28 21:02:43 +02:00
..
bios_emulator Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
block Convert ISO-8859 files to UTF-8 2011-08-04 23:34:02 +02:00
dma fsl_dma: fix support for 83xx DMA engine 2011-07-06 19:09:27 -05:00
fpga FPGA: constify Lattice FPGA code 2011-09-05 11:41:42 +02:00
gpio Minor coding style cleanup. 2011-09-11 21:24:09 +02:00
hwmon hwmon: do not init sensors on startup 2011-08-04 23:30:38 +02:00
i2c ARMV7: OMAP: I2C driver: cosmetic: make checkpatch-compatible 2011-09-12 17:40:48 +02:00
input Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
misc Convert ISO-8859 files to UTF-8 2011-08-04 23:34:02 +02:00
mmc ftsdc010: add support of ftsdc010 mmc controller 2011-09-04 18:03:02 -05:00
mtd sf: fix debug format string warning 2011-09-21 23:05:15 +02:00
net Revert "phylib: remove a couple of redundant code lines" 2011-09-28 21:02:43 +02:00
pci cleanup: Fix typos and misspellings in various files. 2011-07-28 21:27:36 +02:00
pcmcia Convert ISO-8859 files to UTF-8 2011-08-04 23:34:02 +02:00
power ftpmu010: fix relocation and enhance features 2011-04-27 19:38:08 +02:00
qe fsl: Change fsl_phy_enet_if to phy_interface_t 2011-04-20 15:09:35 -05:00
rtc Convert ISO-8859 files to UTF-8 2011-08-04 23:34:02 +02:00
serial sh: Add Renesas rsk7264 board 2011-08-22 13:16:08 +09:00
spi IMX: uniform GPIO interface using GPIO framework 2011-09-04 11:36:11 +02:00
twserial Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
usb ASIX: Fix buffer access in asix_get_phy_addr() 2011-09-24 19:28:50 +02:00
video VIDEO: mb86r0xgdc.c: fix warning: unused variable 'i' 2011-09-06 08:43:35 +02:00
watchdog AT91: fix at91sam_wdt.c to reworked header files 2011-05-18 07:56:51 +02:00