]> git.baikalelectronics.ru Git - kernel.git/commit
tg3: Fix 57765 A0 bootcode race condition
authorMatt Carlson <mcarlson@broadcom.com>
Fri, 12 Feb 2010 14:47:08 +0000 (14:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Feb 2010 01:05:53 +0000 (17:05 -0800)
commit7a315e3eb94b3ab1ba47b69c317a3465f9770edb
tree62fb40716bf0c80a2d808e3eee43a98e4d769dd0
parent3d923ccfe448f6a5a85681469a72c7a4da0aaf60
tg3: Fix 57765 A0 bootcode race condition

On A0 revision of 57765 asic rev devices, the bootcode will perform some
hardware operations, after the magic signature is presented, that will
collide with setup operations performed by the driver.  The best way to
avoid the contention is to have the driver delay an additional 10
milliseconds.  B0 revisions of the chip will make this workaround
unnecessary.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: Benjamin Li <benli@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c
drivers/net/tg3.h