Print this page
XXXX introduce drv_sectohz

*** 1071,1081 **** mutex_exit(&sc->sc_tx_lock); /* * wait for command done */ ! clk = drv_usectohz(1000000); /* 1 second */ mutex_enter(&sc->sc_ilock); while (sc->sc_done == 0) { /* * pending for the response */ --- 1071,1081 ---- mutex_exit(&sc->sc_tx_lock); /* * wait for command done */ ! clk = drv_sectohz(1); mutex_enter(&sc->sc_ilock); while (sc->sc_done == 0) { /* * pending for the response */