<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/usb/usb_controller.h, branch release/13.2.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F13.2.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F13.2.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2020-09-01T21:26:44Z</updated>
<entry>
<title>usb: clean up empty lines in .c and .h files</title>
<updated>2020-09-01T21:26:44Z</updated>
<author>
<name>Mateusz Guzik</name>
<email>mjg@FreeBSD.org</email>
</author>
<published>2020-09-01T21:26:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9dd3156e546b29b1e6c3047578e91b1d098af171'/>
<id>urn:sha1:9dd3156e546b29b1e6c3047578e91b1d098af171</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sys/dev: further adoption of SPDX licensing ID tags.</title>
<updated>2017-11-27T14:52:40Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-11-27T14:52:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=718cf2ccb9956613756ab15d7a0e28f2c8e91cab'/>
<id>urn:sha1:718cf2ccb9956613756ab15d7a0e28f2c8e91cab</id>
<content type='text'>
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
</content>
</entry>
<entry>
<title>Improve the XHCI command timeout recovery handling code.</title>
<updated>2013-12-06T08:42:41Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2013-12-06T08:42:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=563ab08139c7ba560899ef4fd26ce34026a67660'/>
<id>urn:sha1:563ab08139c7ba560899ef4fd26ce34026a67660</id>
<content type='text'>
MFC after:	1 week
</content>
</entry>
<entry>
<title>- Move scratch data from the USB bus structure to the USB device structure</title>
<updated>2013-02-10T10:56:13Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2013-02-10T10:56:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6950c75f401152bfb9b7a0603241434b51cba482'/>
<id>urn:sha1:6950c75f401152bfb9b7a0603241434b51cba482</id>
<content type='text'>
so that simultaneous access cannot happen. Protect scratch area using
the enumeration lock. Also reduce stack usage in usbd_transfer_setup()
by moving some big stack members to the scratch area. This saves around
200 bytes of stack.
- Fix a whitespace.

MFC after:	1 week
</content>
</entry>
<entry>
<title>Add support for the so-called streams feature of BULK endpoints</title>
<updated>2012-08-12T17:53:06Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2012-08-12T17:53:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a5cf1aaaffd3716d6246b5214216c89e278bfce6'/>
<id>urn:sha1:a5cf1aaaffd3716d6246b5214216c89e278bfce6</id>
<content type='text'>
in SUPER-speed mode, USB 3.0.

This feature has not been tested yet, due to lack of hardware.

This feature is useful when implementing protocols like UASP,
USB attached SCSI which promises higher USB mass storage throughput.

This patch also implements support for hardware processing of endpoints
for increased performance. The switching to hardware processing
of an endpoint is done via a callback to the USB controller driver. The
stream feature is implemented like a variant of a hardware USB protocol.

USB controller drivers implementing device mode needs to be updated to
implement the new "xfer_stall" USB controller method and remove the
"xfer" argument from the "set_stall" method.

The API's toward existing USB drivers are preserved. To setup a USB transfer
in stream mode, set the "stream_id" field of the USB config structure to
the desired value.

The maximum number of BULK streams is currently hardcoded and limited to 8
via a define in usb_freebsd.h.

All USB drivers should be re-compiled after this change.

LibUSB will be updated next week to support streams mode. A new IOCTL to
setup BULK streams as already been implemented. The ugen device nodes
currently only supports stream ID zero.

The FreeBSD version has been bumped.

MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Add support for Multi-TT mode of modern USB HUBs.</title>
<updated>2012-04-29T17:12:33Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2012-04-29T17:12:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0a4cc48fe533b6c6c9124e461a5abc5613a807b8'/>
<id>urn:sha1:0a4cc48fe533b6c6c9124e461a5abc5613a807b8</id>
<content type='text'>
This will give you more bandwidth for isochronous
FULL speed applications connected through a
High Speed HUB.

This patch has been tested with XHCI and EHCI.

MFC after:	1 week
</content>
</entry>
<entry>
<title>Implement better support for USB controller suspend and resume.</title>
<updated>2011-12-14T00:28:54Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2011-12-14T00:28:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2e1417489338b971e5fd599ff48b5f65df9e8d3b'/>
<id>urn:sha1:2e1417489338b971e5fd599ff48b5f65df9e8d3b</id>
<content type='text'>
This patch should remove the need for kldunload of USB
controller drivers at suspend and kldload of USB controller
drivers at resume.

This patch also fixes some build issues in avr32dci.c

MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Removes a unused function `usb_bus_find'.</title>
<updated>2010-11-25T22:56:26Z</updated>
<author>
<name>Weongyo Jeong</name>
<email>weongyo@FreeBSD.org</email>
</author>
<published>2010-11-25T22:56:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b44363827765322532bd4045f14b59e9b056eddc'/>
<id>urn:sha1:b44363827765322532bd4045f14b59e9b056eddc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Adds a USB packet filter feature to the stack that it could capture</title>
<updated>2010-11-22T01:11:28Z</updated>
<author>
<name>Weongyo Jeong</name>
<email>weongyo@FreeBSD.org</email>
</author>
<published>2010-11-22T01:11:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=18ec6525529b6c68d5ce5986c2eb3fa4fbc769c1'/>
<id>urn:sha1:18ec6525529b6c68d5ce5986c2eb3fa4fbc769c1</id>
<content type='text'>
packets which go through each USB host controllers.  Its implementations
are almost based on BPF code and very similar with it except it's
little bit customized for USB packet only.  The userland program
usbdump(8) would be committed soon.

Discussed with:	hps, thompsa, yongari
</content>
</entry>
<entry>
<title>This commit adds full support for USB 3.0 devices in host and device</title>
<updated>2010-10-04T23:18:05Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2010-10-04T23:18:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=963169b4af5d1a347560f060254e1df9541b2350'/>
<id>urn:sha1:963169b4af5d1a347560f060254e1df9541b2350</id>
<content type='text'>
mode in the USB core.  The patch mostly consists of updating the USB
HUB code to support USB 3.0 HUBs. This patch also add some more USB
controller methods to support more active-alike USB controllers like
the XHCI which needs to be informed about various device state events.

USB 3.0 HUBs are not tested yet, due to lack of hardware, but are
believed to work.

After this update the initial device descriptor is only read twice
when we know that the bMaxPacketSize is too small for a single packet
transfer of this descriptor.

Approved by:    thompsa (mentor)
</content>
</entry>
</feed>
