• David Brownell's avatar
    USB usbfs periodic endpoint/bandwidth reporting · ac5a7740
    David Brownell authored
    This is an updated version of a patch I sent around a
    while back.  It's against 2.5.7-pre1 (so presumably is
    fine on 2.5.7), and addresses feedback against that
    earlier patch.
      
    It's bugfixes, mostly for highspeed support, to what
    /proc/bus/usb/devices shows:
      
    - Shows isochronous periods correctly (logarithmic
      encoding, possibly 1/2/4 microframes if highspeed)
    - Likewise for high-speed interrupt periods (similar)
    - Makes high bandwidth endpoints look like they
      just do bigger packets (up to 3 KBytes/uframe)
    - Shows highspeed bandwidth correctlly (80% reserved,
      vs 90% reserved for full/low speed).
    ac5a7740
devices.c 17.9 KB