cvs commit: src/sys/dev/usb usb_subr.c

Warner Losh imp at
Thu Sep 9 13:47:28 PDT 2004

imp         2004-09-09 20:47:28 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/usb          usb_subr.c 
  Add comments about why we're freeing subdevs (which is completely
  redundant at this point and should be retired).  Don't free subdevs if
  we don't attach any devices.  This was leaving stale device_t's
  around.  Don't touch the device if it isn't attached since the name
  isn't meaningful then.  Switch from strncpy (properly used) to
  From a patch submitted by Peter Pentchev
  Revision  Changes    Path
  1.70      +11 -8     src/sys/dev/usb/usb_subr.c

More information about the cvs-src mailing list