]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita684dda2f573db3b149296dbb7368e40ce812495
tree618d05ce1be64489a787200f93cd73fa65138d0e
parent908258bac60cb98aa7b09f6816a8b70d2984d1a5
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