]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: Fix register access timeout in 10M
authorYaniv Rosner <yanivr@broadcom.com>
Thu, 5 Nov 2009 17:18:32 +0000 (19:18 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Nov 2009 04:00:52 +0000 (20:00 -0800)
commitd3364125c86cd4326e309ec7a2943d92ec1aa46f
tree3738650a16563d059a0a5a4bb7b5700a6e5016a3
parenteffb26bd33c3abf27aa657da68a99a57ec6fa28d
bnx2x: Fix register access timeout in 10M

In BCM8481 when link speed goes from 1G to 10M, driver received timeout
since the MAC clock hasn't synced yet with the new speed, so it is required
first to program the MAC with the new speed, and only then configure other
parameters

Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x_link.c