MFNetBSD: (partial 1.133)

- In ohci_close_pipe, wait 1ms after removing an ED to avoid possible race
  condition.

Approved by:	re (rwatson)
This commit is contained in:
Josef Karthauser 2002-12-09 01:41:24 +00:00
parent 2c123d54ee
commit 85105890c2

View File

@ -2175,6 +2175,8 @@ ohci_close_pipe(usbd_pipe_handle pipe, ohci_soft_ed_t *head)
}
#endif
ohci_rem_ed(sed, head);
/* Make sure the host controller is not touching this ED */
usb_delay_ms(&sc->sc_bus, 1);
splx(s);
ohci_free_sed(sc, opipe->sed);
}