Use pause() rather than using tsleep() on a dummy variable.

This commit is contained in:
John Baldwin 2007-02-27 17:19:33 +00:00
parent 5f6fcd82a2
commit f36511e7f8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=167084
2 changed files with 1 additions and 2 deletions

View file

@ -134,7 +134,6 @@ static void slhci_abort_xfer(usbd_xfer_handle, usbd_status);
static void slhci_device_clear_toggle(usbd_pipe_handle);
extern int usbdebug;
int slhci_dummy;
/* For root hub */
#define SLHCI_INTR_ENDPT (1)

View file

@ -43,7 +43,7 @@
#define MS_TO_TICKS(ms) ((ms) * hz / 1000)
#define delay_ms(X) \
tsleep(&slhci_dummy, PRIBIO, "slhci", MS_TO_TICKS(X))
pause("slhci", MS_TO_TICKS(X))
#define SL11_PID_OUT (0x1)
#define SL11_PID_IN (0x9)