USB usbfs periodic endpoint/bandwidth reporting
authorDavid Brownell <david-b@pacbell.net>
Tue, 19 Mar 2002 05:16:19 +0000 (21:16 -0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Tue, 19 Mar 2002 05:16:19 +0000 (21:16 -0800)
commitac5a77408d60317fcc47ed96ee1e23069fb404b7
tree6931e12fd04bce52feb4ac186520350e50f16a23
parent9c5c07fbb414466d8669f409f8e53cd0127e4b86
USB usbfs periodic endpoint/bandwidth reporting

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).
drivers/usb/devices.c