Follow the docs a bit more in epstop() with respect to delays.

Trivial formatting.
This commit is contained in:
Matthew N. Dodd 2000-03-13 11:55:09 +00:00
parent 4a18218d69
commit 6629a1f812
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57983

View File

@ -977,11 +977,16 @@ epstop(sc)
outw(BASE + EP_COMMAND, RX_DISABLE);
outw(BASE + EP_COMMAND, RX_DISCARD_TOP_PACK);
while (inw(BASE + EP_STATUS) & S_COMMAND_IN_PROGRESS);
outw(BASE + EP_COMMAND, TX_DISABLE);
outw(BASE + EP_COMMAND, STOP_TRANSCEIVER);
DELAY(800);
outw(BASE + EP_COMMAND, RX_RESET);
while (inw(BASE + EP_STATUS) & S_COMMAND_IN_PROGRESS);
outw(BASE + EP_COMMAND, TX_RESET);
while (inw(BASE + EP_STATUS) & S_COMMAND_IN_PROGRESS);
outw(BASE + EP_COMMAND, C_INTR_LATCH);
outw(BASE + EP_COMMAND, SET_RD_0_MASK);
outw(BASE + EP_COMMAND, SET_INTR_MASK);