iedowse 2006-06-04 14:42:38 UTC
FreeBSD src repository
Modified files:
sys/dev/usb if_axe.c if_axereg.h
Log:
Add a sleep lock that protects access to sequences of blocking
axe_cmd() calls. Without this the device can get confused if multiple
threads attempt these operations concurrently. The problem was
easily reproducible by running "ifconfig axe0" in a loop because
eventually it would conflict with axe_tick_task().
A similar approach is probably required in all USB ethernet drivers.
Revision Changes Path
1.38 +39 -3 src/sys/dev/usb/if_axe.c
1.10 +4 -0 src/sys/dev/usb/if_axereg.h
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"