Project

General

Profile

Actions

Bug #7919

closed

usbai burst macros for endpoint descriptor are wrong

Added by Robert Mustacchi over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Category:
driver - device drivers
Start date:
2017-03-01
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

The USB endpoint descriptor macros for taking apart the max bytes per packet and the maximum burst, or the maximum number of packets that can be used in a given frame is incorrect in uts/common/sys/usb/usbai.h.

The problem is that it incorrectly assumes how many bits are related to the max packet size and the burst. See USB 2.0 section 5.9.

Actions #1

Updated by Electric Monk about 6 years ago

  • Status changed from New to Closed

git commit 993e3faf6a142ae3efdd24388883264c2b56bede

commit  993e3faf6a142ae3efdd24388883264c2b56bede
Author: Robert Mustacchi <rm@joyent.com>
Date:   2017-03-10T18:21:18.000Z

    1979 USB 3.0 support
    7918 want usb_pipe_xopen(9F)
    7919 usbai burst macros for endpoint descriptor are wrong
    7920 usba_hcdi_register() should fail if driver is using private data
    7921 failing to load the usba root hub module destroys driver parent private data
    7922 want ::hubd walker
    7923 ::prtusb should include version
    7924 usb_*_request(9S) manual pages should match structure names
    Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
    Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
    Reviewed by: Bryan Cantrill <bryan@joyent.com>
    Reviewed by: Dale Ghent <daleg@omniti.com>
    Reviewed by: Toomas Soome <tsoome@me.com>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Actions

Also available in: Atom PDF