[BNX2]: Improve SerDes handling.

1. Add support for 2.5Gbps forced speed setting.
2. Remove a long udelay() loop and change to msleep().
3. Other misc. SerDes fixes.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Michael Chan
2006-11-19 14:07:28 -08:00
committed by David S. Miller
parent 7510873d86
commit 80be44348e
2 changed files with 41 additions and 21 deletions

View File

@@ -3696,6 +3696,8 @@ struct l2_fhdr {
/* 5708 Serdes PHY registers */
#define BCM5708S_BMCR_FORCE_2500 0x20
#define BCM5708S_UP1 0xb
#define BCM5708S_UP1_2G5 0x1