]> git.baikalelectronics.ru Git - kernel.git/commit
DM9000: Update retry count whilst identifying chip
authorBen Dooks <ben-linux@fluff.org>
Tue, 5 Feb 2008 00:02:22 +0000 (00:02 +0000)
committerJeff Garzik <jeff@garzik.org>
Mon, 11 Feb 2008 16:06:36 +0000 (11:06 -0500)
commitfd7926b44713aebbf6ea35932833d3f7c66101ea
treec4ace2c39a97a610ff8cde80a73e13ef58d41f9a
parent2d4bb9e16514e12b945d490768cfbf95c0b1e130
DM9000: Update retry count whilst identifying chip

Reading the ID register does not always return the correct ID
from the device, so we retry several times to see if we get
a correct value.

These failures seem to be excaserbated by the speed of the
access to the chip (possibly time between issuing the address
and then the data cycle).

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/dm9000.c