PERFORCE change 157141 for review
Hans Petter Selasky
hselasky at FreeBSD.org
Wed Feb 4 07:02:07 PST 2009
http://perforce.freebsd.org/chv.cgi?CH=157141
Change 157141 by hselasky at hselasky_laptop001 on 2009/02/04 15:01:32
Remove safety delay from detach path, hence
this can break USB device side mode support
for USB, when the detach takes too long.
Affected files ...
.. //depot/projects/usb/src/sys/dev/usb2/ethernet/usb2_ethernet.c#10 edit
Differences ...
==== //depot/projects/usb/src/sys/dev/usb2/ethernet/usb2_ethernet.c#10 (text+ko) ====
@@ -281,13 +281,6 @@
free_unr(ueunit, ue->ue_unit);
}
- /*
- * The FreeBSD network stack has some detach races with regard
- * to IOCTLs so we need to wait a little bit before finally
- * detaching!
- */
- pause("safe", hz / 100);
-
/* free taskqueue, if any */
usb2_proc_free(&ue->ue_tq);
}
More information about the p4-projects
mailing list