<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/gpio, 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>2026-02-25T05:59:34Z</updated>
<entry>
<title>chore: replace {0, 0} with {DEV,KOBJ}METHOD_END</title>
<updated>2026-02-25T05:59:34Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2026-02-21T06:14:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0fc6c3f731a2cca3120798806c330a3081c9424b'/>
<id>urn:sha1:0fc6c3f731a2cca3120798806c330a3081c9424b</id>
<content type='text'>
Both of the aforementioned macros have been present in FreeBSD
for well over a decade: 2009 for `KOBJMETHOD_END`; 2011 for
`DEVMETHOD_END`.

Adapt all hardcoded references of `{0, 0}` with `DEVMETHOD_END`
and `KOBJMETHOD_END` as appropriate. This helps ensure that
future adaptations to drivers following patterns documented
in driver(9) can be made more easily/without issue.

MFC after:	1 week
Differential Revision:	 https://reviews.freebsd.org/D55414
</content>
</entry>
<entry>
<title>bus: Document special ranges of IVARs</title>
<updated>2026-02-17T20:45:13Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2026-02-17T20:45:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6cf4e30252fe48b230b9d76cac20576d5b3d2ffa'/>
<id>urn:sha1:6cf4e30252fe48b230b9d76cac20576d5b3d2ffa</id>
<content type='text'>
Some IVAR indices are special in that they have global meaning across
multiple buses where as other IVARs are always private to the local bus.
Try to document this a bit and add constants for the various ranges to
avoid future conflicts.

This is a no-op, but IVAR indices are now generally defined as enums
as that makes it easier to define them in terms of ranges.

Reviewed by:	imp, royger, andrew
Differential Revision:	https://reviews.freebsd.org/D54159
</content>
</entry>
<entry>
<title>acpi_gpiobus: Reuse the existing IVAR index for an ACPI handle</title>
<updated>2026-02-17T20:44:58Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2026-02-17T20:44:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b9f1e45e685b5e007d0c3a9513ac13e6d82e9518'/>
<id>urn:sha1:b9f1e45e685b5e007d0c3a9513ac13e6d82e9518</id>
<content type='text'>
ACPI_IVAR_HANDLE is a global index shared across multiple busses,
there is no need for a unique constant here.

Reviewed by:	vexeduxr, imp
Differential Revision:	https://reviews.freebsd.org/D54155
</content>
</entry>
<entry>
<title>gpio_alloc_intr_resource: Pass rid by value</title>
<updated>2025-12-09T20:03:03Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2025-12-09T20:03:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=01dcb4e6645f1a551e52763d58ba4375efbc5428'/>
<id>urn:sha1:01dcb4e6645f1a551e52763d58ba4375efbc5428</id>
<content type='text'>
Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D53407
</content>
</entry>
<entry>
<title>bus_alloc_resource: Pass rid by value to BUS_ALLOC_RESOURCE DEVMETHOD</title>
<updated>2025-12-09T20:00:06Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2025-12-09T19:59:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=575639548cef58590a1d70c29e47aae0e8d44153'/>
<id>urn:sha1:575639548cef58590a1d70c29e47aae0e8d44153</id>
<content type='text'>
The wrapper functions such as bus_alloc_resource_any() still support
passing the rid by value or pointer, but the underlying implementation
now passes by value.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D53402
</content>
</entry>
<entry>
<title>acpi_gpiobus: implement bus_child_deleted</title>
<updated>2025-10-29T17:58:00Z</updated>
<author>
<name>Ahmad Khalifa</name>
<email>vexeduxr@FreeBSD.org</email>
</author>
<published>2025-10-29T17:52:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3bbdc0223a7c1efaf734d3d9f3cb818e79e11d54'/>
<id>urn:sha1:3bbdc0223a7c1efaf734d3d9f3cb818e79e11d54</id>
<content type='text'>
Implement bus_child_deleted and attach the gpio_aei dev to it's ACPI
handle.

Reviewed by:	wulf
Differential Revision:	https://reviews.freebsd.org/D51585
</content>
</entry>
<entry>
<title>gpiobus: use bus_generic_detach when detaching</title>
<updated>2025-10-29T17:57:59Z</updated>
<author>
<name>Ahmad Khalifa</name>
<email>vexeduxr@FreeBSD.org</email>
</author>
<published>2025-10-29T17:53:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=330b4f470280ec42d1498f875b8873f6eb32a7dd'/>
<id>urn:sha1:330b4f470280ec42d1498f875b8873f6eb32a7dd</id>
<content type='text'>
Use bus_generic_detach instead of bus_detach_children so the children
actually get deleted.

Reviewed by:	jhb
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D52305
</content>
</entry>
<entry>
<title>Match style in 3613896</title>
<updated>2025-10-19T05:54:02Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2025-10-18T23:23:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7d6221ff14478ce70fab24c58e0326ff5c4baf52'/>
<id>urn:sha1:7d6221ff14478ce70fab24c58e0326ff5c4baf52</id>
<content type='text'>
Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D53193
</content>
</entry>
<entry>
<title>knotes: kqueue: handle copy for trivial filters</title>
<updated>2025-10-18T05:12:37Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2025-10-16T22:32:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=36138969847b231cd98f48272e2bdf88a8dc08dd'/>
<id>urn:sha1:36138969847b231cd98f48272e2bdf88a8dc08dd</id>
<content type='text'>
Reviewed by:	markj
Tested by:	pho
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
Differential revision:	https://reviews.freebsd.org/D52045
</content>
</entry>
<entry>
<title>gpioc: allocate new fifo size</title>
<updated>2025-09-30T12:02:05Z</updated>
<author>
<name>Ahmad Khalifa</name>
<email>vexeduxr@FreeBSD.org</email>
</author>
<published>2025-09-30T11:55:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2679636b4412927242e46d3806fbb58e2702eddb'/>
<id>urn:sha1:2679636b4412927242e46d3806fbb58e2702eddb</id>
<content type='text'>
This slipped through after I resolved some merge conflicts.

Fixes:		d000adfe
MFC after:	1 day
</content>
</entry>
</feed>
