<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/usb/video, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2025-01-02T18:24:28Z</updated>
<entry>
<title>Use bus_generic_detach instead of device_delete_children in detach</title>
<updated>2025-01-02T18:24:28Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2025-01-02T18:24:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3ddaf8200bc90b1410755ebac7b5c979ea90a2f6'/>
<id>urn:sha1:3ddaf8200bc90b1410755ebac7b5c979ea90a2f6</id>
<content type='text'>
While here, check for errors from bus_generic_detach and move it to
the start of detach if necessary.

Differential Revision:	https://reviews.freebsd.org/D47969
</content>
</entry>
<entry>
<title>newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY</title>
<updated>2024-07-25T04:22:58Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2024-07-25T04:22:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5b56413d04e608379c9a306373554a8e4d321bc0'/>
<id>urn:sha1:5b56413d04e608379c9a306373554a8e4d321bc0</id>
<content type='text'>
Sponsored by:		Netflix
</content>
</entry>
<entry>
<title>sys: Remove $FreeBSD$: one-line .c comment pattern</title>
<updated>2023-08-16T17:54:24Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:54:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=71625ec9ad2a9bc8c09784fbd23b759830e0ee5f'/>
<id>urn:sha1:71625ec9ad2a9bc8c09784fbd23b759830e0ee5f</id>
<content type='text'>
Remove /^/[*/]\s*\$FreeBSD\$.*\n/
</content>
</entry>
<entry>
<title>usb(4): Fix a typo in a source code comment</title>
<updated>2023-08-02T09:04:24Z</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2023-08-02T09:04:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a924b48579c7a0c794431fbd3f540ce56c4cd662'/>
<id>urn:sha1:a924b48579c7a0c794431fbd3f540ce56c4cd662</id>
<content type='text'>
- s/determin/determine/

MFC after:	3 days
</content>
</entry>
<entry>
<title>usb: Remove unused devclass arguments to DRIVER_MODULE.</title>
<updated>2022-05-06T22:46:57Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2022-05-06T22:46:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bc9372d784c2bd4874f221bf7cd8072cb157dc71'/>
<id>urn:sha1:bc9372d784c2bd4874f221bf7cd8072cb157dc71</id>
<content type='text'>
</content>
</entry>
<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>Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (2 of many)</title>
<updated>2020-02-15T18:52:12Z</updated>
<author>
<name>Pawel Biernacki</name>
<email>kaktus@FreeBSD.org</email>
</author>
<published>2020-02-15T18:52:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f8d2b1f3f72086bd169f1a0890b6faba8434a01a'/>
<id>urn:sha1:f8d2b1f3f72086bd169f1a0890b6faba8434a01a</id>
<content type='text'>
r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are
still not MPSAFE (or already are but aren’t properly marked). Use it in
preparation for a general review of all nodes.
This is non-functional change that adds annotations to SYSCTL_NODE and
SYSCTL_PROC nodes using one of the soon-to-be-required flags.

Reviewed by:	hselasky, kib
Approved by:	kib (mentor)
Differential Revision:	https://reviews.freebsd.org/D23632
</content>
</entry>
<entry>
<title>Add USB ID for Diamond Multimedia BVU195 Display Link device.</title>
<updated>2019-11-21T16:42:25Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2019-11-21T16:42:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c4e11f2231112f846d050da9e92e7c807db83ef0'/>
<id>urn:sha1:c4e11f2231112f846d050da9e92e7c807db83ef0</id>
<content type='text'>
Submitted by:	darius@dons.net.au
PR:		242128
MFC after:	1 week
Sponsored by:	Mellanox Technologies
</content>
</entry>
<entry>
<title>Fix device delete child function.</title>
<updated>2016-10-17T10:20:38Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2016-10-17T10:20:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d3bf5efc1ff19b102b176512a66110ec84ac982d'/>
<id>urn:sha1:d3bf5efc1ff19b102b176512a66110ec84ac982d</id>
<content type='text'>
When detaching device trees parent devices must be detached prior to
detaching its children. This is because parent devices can have
pointers to the child devices in their softcs which are not
invalidated by device_delete_child(). This can cause use after free
issues and panic().

Device drivers implementing trees, must ensure its detach function
detaches or deletes all its children before returning.

While at it remove now redundant device_detach() calls before
device_delete_child() and device_delete_children(), mostly in
the USB controller drivers.

Tested by:		Jan Henrik Sylvester &lt;me@janh.de&gt;
Reviewed by:		jhb
Differential Revision:	https://reviews.freebsd.org/D8070
MFC after:		2 weeks
</content>
</entry>
<entry>
<title>Add new USB ID to UDL driver.</title>
<updated>2016-03-30T10:05:52Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2016-03-30T10:05:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4d3633808156b5e71f3e572d894fb9da7ebf2c27'/>
<id>urn:sha1:4d3633808156b5e71f3e572d894fb9da7ebf2c27</id>
<content type='text'>
Submitted by:	Matthias Petermann &lt;matthias@petermann-it.de&gt;
PR:		201084
</content>
</entry>
</feed>
