]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/net/dm9000.c
DM9000: Use msleep() instead of udelay()
authorBen Dooks <ben-linux@fluff.org>
Tue, 5 Feb 2008 00:02:08 +0000 (00:02 +0000)
committerJeff Garzik <jeff@garzik.org>
Mon, 11 Feb 2008 16:06:27 +0000 (11:06 -0500)
commit321f69a4c3bb807abdf1fd6329403ec0449a3d78
tree618d05ce1be64489a787200f93cd73fa65138d0e
parent89c8b0e6cd3859a6445398c5aa94ebd21d0e64ce
DM9000: Use msleep() instead of udelay()

We can use sleeping functions when reading and writing the
PHY registers, so let us sleep instead of busy waiting for
the PHY.

Note, this also fixes a bug reading the PHY where only 100uS
was being used instead of 150uS

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