Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Oct 2004 22:33:27 +0000 (UTC)
From:      Brian Feldman <green@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/usb ugen.c
Message-ID:  <200410022233.i92MXRBg029450@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
green       2004-10-02 22:33:27 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/usb          ugen.c 
  Log:
  * When toggling short transfers on a bulk transfer endpoint, cancel and
    restart the current waiting transfer.  If this isn't done, the device's
    next transfer (that we would like to do a short read on) is going to
    return an error -- for short transfer.
  * For bulk transfer endpoints, restore the maximum transfer length each
    time a transfer is done, or the first short transfer will make all the
    rest that size or smaller.
  * Remove impossibilities (malloc(M_WAITOK) == NULL, &var == NULL).
  
  Revision  Changes    Path
  1.93      +22 -20    src/sys/dev/usb/ugen.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410022233.i92MXRBg029450>