[PATCH] ppc: fcc_enet: replace schedule_timeout_uninterruptible() with ssleep() From: Nishanth Aravamudan Use ssleep() instead of schedule_timeout_uninterruptible() to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Signed-off-by: Alexey Dobriyan Index: linux-kj/arch/ppc/8260_io/fcc_enet.c =================================================================== --- linux-kj.orig/arch/ppc/8260_io/fcc_enet.c 2005-12-05 13:17:38.000000000 +0300 +++ linux-kj/arch/ppc/8260_io/fcc_enet.c 2005-12-05 13:19:42.000000000 +0300 @@ -1305,11 +1305,9 @@ static void mii_parse_dm9161_scsr(uint m static void mii_dm9161_wait(uint mii_reg, struct net_device *dev) { - int timeout = HZ; - /* Davicom takes a bit to come up after a reset, * so wait here for a bit */ - schedule_timeout_uninterruptible(timeout); + ssleep(1); } static phy_info_t phy_info_dm9161 = {