dev - Properly propogate wakeup events for ums
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 8 Jul 2010 23:04:25 +0000 (16:04 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 8 Jul 2010 23:04:25 +0000 (16:04 -0700)
commit173360594997c33e4685c2a9f26732bdfc8cc805
tree8a395928b7659ce34e9df7ad27cf5a69d0b90556
parent0f538c0862e5d73c8ff41da6957e87a2008b7a38
dev - Properly propogate wakeup events for ums

* The last commit had a minor problem.  It turns out that the
  selwakeup() code does not generate a kqueue event or wake it up
  if no select pid was set, and since select() now uses kqueue no
  select pid will ever be set.

* Calling KNOTE() directly solves the problem.
sys/dev/usbmisc/ums/ums.c