<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/bhnd, branch stable/14</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>bhnd(4): Fix a typo in a source code comment</title>
<updated>2026-04-14T17:32:31+00:00</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2026-04-04T07:03:51+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=cbddd425af7da1559275599fb564c98fb80e3450'/>
<id>cbddd425af7da1559275599fb564c98fb80e3450</id>
<content type='text'>
- s/impementations/implementations/

(cherry picked from commit 04be4d04bbcbd061455b4424488b06927487a948)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- s/impementations/implementations/

(cherry picked from commit 04be4d04bbcbd061455b4424488b06927487a948)
</pre>
</div>
</content>
</entry>
<entry>
<title>bhnd: Remove orphaned driver for the BHND USB core</title>
<updated>2025-02-27T13:09:23+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2024-06-01T20:25:12+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ecd885d196397ce0ea7c99720c5afb1e7fea6385'/>
<id>ecd885d196397ce0ea7c99720c5afb1e7fea6385</id>
<content type='text'>
This was only connected to the build for MIPS and has been
disconnected from the build since MIPS was removed.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D45432

(cherry picked from commit c7c037fad1862c18e3e9635b06194a4ca00ac3c1)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was only connected to the build for MIPS and has been
disconnected from the build since MIPS was removed.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D45432

(cherry picked from commit c7c037fad1862c18e3e9635b06194a4ca00ac3c1)
</pre>
</div>
</content>
</entry>
<entry>
<title>bhnd: Use rman_get_type in bhndb_find_resource_limits</title>
<updated>2025-02-27T13:09:23+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2024-03-13T22:05:53+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6343760d74050b27eb84dc7c3712837361661a1d'/>
<id>6343760d74050b27eb84dc7c3712837361661a1d</id>
<content type='text'>
Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D44126

(cherry picked from commit 3351964c5e5d29ef93b3f26b7fc31a4972aa9af7)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D44126

(cherry picked from commit 3351964c5e5d29ef93b3f26b7fc31a4972aa9af7)
</pre>
</div>
</content>
</entry>
<entry>
<title>sys: Set the type of allocated bus resources</title>
<updated>2025-02-27T13:09:23+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2024-03-13T22:05:53+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a69089343057c837c9fd6f7ae6e67a73c2f91983'/>
<id>a69089343057c837c9fd6f7ae6e67a73c2f91983</id>
<content type='text'>
Use rman_set_type to set the type of allocated resources everywhere
rman_set_rid is currently called.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D44123

(cherry picked from commit 1b9bcffff39a817b77401d1b975f374781adfaf8)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use rman_set_type to set the type of allocated resources everywhere
rman_set_rid is currently called.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D44123

(cherry picked from commit 1b9bcffff39a817b77401d1b975f374781adfaf8)
</pre>
</div>
</content>
</entry>
<entry>
<title>bhnd_chipc: Make use of bus_generic_rman_* to simplify some code</title>
<updated>2025-02-27T13:09:22+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2024-02-27T19:44:22+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=7f2360a108f910d5f126c39dcb968c8a720520e6'/>
<id>7f2360a108f910d5f126c39dcb968c8a720520e6</id>
<content type='text'>
This uses bus_generic_rman_alloc/release_resource to reduce some code
duplication.  However, I've left the custom activate/deactivate
methods as-is.

Differential Revision:	https://reviews.freebsd.org/D43939

(cherry picked from commit 3a48dfe115f35abac6c2d9ec03a6a574baeaf0bc)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This uses bus_generic_rman_alloc/release_resource to reduce some code
duplication.  However, I've left the custom activate/deactivate
methods as-is.

Differential Revision:	https://reviews.freebsd.org/D43939

(cherry picked from commit 3a48dfe115f35abac6c2d9ec03a6a574baeaf0bc)
</pre>
</div>
</content>
</entry>
<entry>
<title>bhnd_usb: Use bus_generic_rman_*</title>
<updated>2025-02-27T13:09:22+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2024-02-27T19:44:03+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=189d06c3773118f804b93f59f46dce9b1fb284b1'/>
<id>189d06c3773118f804b93f59f46dce9b1fb284b1</id>
<content type='text'>
For SYS_RES_MEMORY, use bus_generic_rman_* for
activate/deactivate_resource methods as well as custom
map/unmap_resource methods that request submappings of the sc_mem
resource allocated from the parent bus.

Differential Revision:	https://reviews.freebsd.org/D43938

(cherry picked from commit b25f03a1a27256c8d638a7e82ac3f6248994d5f3)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For SYS_RES_MEMORY, use bus_generic_rman_* for
activate/deactivate_resource methods as well as custom
map/unmap_resource methods that request submappings of the sc_mem
resource allocated from the parent bus.

Differential Revision:	https://reviews.freebsd.org/D43938

(cherry picked from commit b25f03a1a27256c8d638a7e82ac3f6248994d5f3)
</pre>
</div>
</content>
</entry>
<entry>
<title>bhnd: Use device_set_descf()</title>
<updated>2024-06-09T13:37:49+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2024-02-04T23:35:02+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=18468b225ce45a97a4c7ea70e7741fc8022b0b3a'/>
<id>18468b225ce45a97a4c7ea70e7741fc8022b0b3a</id>
<content type='text'>
Here we are in a device probe routine with no locks held.  M_WAITOK
allocations are ok.  No functional change intended.

MFC after:	1 week

(cherry picked from commit a866a40b9b8095a1a31eb22d575535c1f5fbc080)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Here we are in a device probe routine with no locks held.  M_WAITOK
allocations are ok.  No functional change intended.

MFC after:	1 week

(cherry picked from commit a866a40b9b8095a1a31eb22d575535c1f5fbc080)
</pre>
</div>
</content>
</entry>
<entry>
<title>bhnd(4): Remove a double word in a source code comment</title>
<updated>2024-04-23T05:23:21+00:00</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2024-04-20T12:09:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=0b396f0185c7fc9b9a7bae30aba77e43b6725ce8'/>
<id>0b396f0185c7fc9b9a7bae30aba77e43b6725ce8</id>
<content type='text'>
- s/of of/of/

(cherry picked from commit d2747968c068b8cfc890901f4955037bad7adb9a)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- s/of of/of/

(cherry picked from commit d2747968c068b8cfc890901f4955037bad7adb9a)
</pre>
</div>
</content>
</entry>
<entry>
<title>bhnd: Correct the softc size in the siba_bhndb_driver definition</title>
<updated>2023-12-12T00:30:05+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2023-12-05T18:47:03+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d264ddb9c7f8739be22170ec660110a0f4c2ec8f'/>
<id>d264ddb9c7f8739be22170ec660110a0f4c2ec8f</id>
<content type='text'>
struct siba_bhndb_softc embeds struct siba_softc and adds an extra
field, "quirks".  In practice, this bug was harmless since "quirks" is
unconditionally initialized during driver attach and would have lived in
the redzone of the softc allocation, but KASAN catches the out-of-bounds
access.

PR:		275515
Reported by:	Frank Hilgendorf &lt;frank.hilgendorf@posteo.de&gt;
MFC after:	1 week

(cherry picked from commit 4c3aa00c0a0093c78f42d138bb9eef9b1a7cbb39)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
struct siba_bhndb_softc embeds struct siba_softc and adds an extra
field, "quirks".  In practice, this bug was harmless since "quirks" is
unconditionally initialized during driver attach and would have lived in
the redzone of the softc allocation, but KASAN catches the out-of-bounds
access.

PR:		275515
Reported by:	Frank Hilgendorf &lt;frank.hilgendorf@posteo.de&gt;
MFC after:	1 week

(cherry picked from commit 4c3aa00c0a0093c78f42d138bb9eef9b1a7cbb39)
</pre>
</div>
</content>
</entry>
<entry>
<title>sys: Remove $FreeBSD$: one-line sh pattern</title>
<updated>2023-08-16T17:54:58+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:54:58+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=031beb4e239bfce798af17f5fe8dba8bcaf13d99'/>
<id>031beb4e239bfce798af17f5fe8dba8bcaf13d99</id>
<content type='text'>
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
</pre>
</div>
</content>
</entry>
</feed>
