On 20 April 2012 03:06, Andrew Thompson <thom...@freebsd.org> wrote: > Author: thompsa > Date: Fri Apr 20 10:06:28 2012 > New Revision: 234488 > URL: http://svn.freebsd.org/changeset/base/234488 > > Log: > Move the interface media check to a taskqueue, some interfaces (usb) sleep > during SIOCGIFMEDIA and we were holding locks.
Hi, I've noticed this when hacking on switch drivers over i2c/gpio code. The PHY code can't use sleep or locks because of this. Do you think it'd maybe be a good idea to simply make the link status check tick be run through a taskqueue, rather than having it done direct from the callout swi? Adrian _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"