<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/cxgb, 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>newbus: replace leftover device unit wildcards</title>
<updated>2025-06-21T02:57:45Z</updated>
<author>
<name>Ahmad Khalifa</name>
<email>vexeduxr@FreeBSD.org</email>
</author>
<published>2025-06-11T00:25:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b670c9bafc0e31c7609969bf374b2e80bdc00211'/>
<id>urn:sha1:b670c9bafc0e31c7609969bf374b2e80bdc00211</id>
<content type='text'>
Reviewed by:	imp, jhb
Approved by:	imp (mentor)
Differential Revision:	https://reviews.freebsd.org/D50913
</content>
</entry>
<entry>
<title>cxgb(4): Fix two typos in a source code comment</title>
<updated>2025-05-31T09:04:41Z</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2025-05-31T09:04:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e86d9dd6cee18b035a34d54dbab93fc1ad6b527e'/>
<id>urn:sha1:e86d9dd6cee18b035a34d54dbab93fc1ad6b527e</id>
<content type='text'>
- s/cotaining/containing/

MFC after:	3 days
</content>
</entry>
<entry>
<title>cxgb(4): Use routines from pci(9) instead of hand rolled equivalents.</title>
<updated>2025-02-14T04:44:23Z</updated>
<author>
<name>Navdeep Parhar</name>
<email>np@FreeBSD.org</email>
</author>
<published>2024-12-09T00:05:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=762d32354a18517c28933ddc29f9d3d855e450b1'/>
<id>urn:sha1:762d32354a18517c28933ddc29f9d3d855e450b1</id>
<content type='text'>
There is no need to include private PCI headers in the driver.

MFC after:	1 week
Sponsored by:	Chelsio Communications
</content>
</entry>
<entry>
<title>Use bus_detach_children instead of bus_generic_detach</title>
<updated>2025-01-02T18:19:39Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2025-01-02T18:19:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e9d3857040a1983f6cf8780783da4da34773f660'/>
<id>urn:sha1:e9d3857040a1983f6cf8780783da4da34773f660</id>
<content type='text'>
These drivers perform additional teardown steps in between detaching
child devices and deleting child devices.

Differential Revision:	https://reviews.freebsd.org/D47957
</content>
</entry>
<entry>
<title>Replace calls to bus_generic_attach with bus_attach_children</title>
<updated>2024-12-06T22:26:16Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2024-12-06T22:26:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=18250ec6c089c0c50cbd9fd87d78e03ff89916df'/>
<id>urn:sha1:18250ec6c089c0c50cbd9fd87d78e03ff89916df</id>
<content type='text'>
Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D47675
</content>
</entry>
<entry>
<title>cxgb(4): Register ifmedia callbacks before ether_ifattach.</title>
<updated>2024-10-28T23:10:05Z</updated>
<author>
<name>ScottD</name>
<email>biscuits.carry.0j@icloud.com</email>
</author>
<published>2024-10-28T20:48:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f2daf89954a45c7eed22990dd4cf2cf879763dc0'/>
<id>urn:sha1:f2daf89954a45c7eed22990dd4cf2cf879763dc0</id>
<content type='text'>
This prevents a panic that occurs if netlink tries to invoke the
driver's media callbacks during ifattach.

PR:		282374
Reported by:	ScottD &lt;biscuits.carry.0j@icloud.com&gt;
MFC after:	3 days
</content>
</entry>
<entry>
<title>cxgb(4): Stop checking for failures from malloc/buf_ring_alloc(M_WAITOK)</title>
<updated>2024-09-03T10:25:25Z</updated>
<author>
<name>Zhenlei Huang</name>
<email>zlei@FreeBSD.org</email>
</author>
<published>2024-09-03T10:25:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bb51f7c8a48a4cd5dfa67fefa81f3d5d199da92b'/>
<id>urn:sha1:bb51f7c8a48a4cd5dfa67fefa81f3d5d199da92b</id>
<content type='text'>
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D45852
</content>
</entry>
<entry>
<title>Potential typo/copy issue</title>
<updated>2024-07-08T23:36:03Z</updated>
<author>
<name>Ted Spence</name>
<email>ted@spence.net</email>
</author>
<published>2024-07-05T04:22:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=53734ccd42614e48ae227f88161af89c807cdbcf'/>
<id>urn:sha1:53734ccd42614e48ae227f88161af89c807cdbcf</id>
<content type='text'>
This test here appears to be clamping the start and stop values to a
minimum and maximum. But it looks like one of these lines may have been
copied incorrectly.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1317
</content>
</entry>
<entry>
<title>net: Remove unneeded NULL check for the allocated ifnet</title>
<updated>2024-06-28T10:16:29Z</updated>
<author>
<name>Zhenlei Huang</name>
<email>zlei@FreeBSD.org</email>
</author>
<published>2024-06-28T10:16:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=aa3860851b9f6a6002d135b1cac7736e0995eedc'/>
<id>urn:sha1:aa3860851b9f6a6002d135b1cac7736e0995eedc</id>
<content type='text'>
Change 4787572d0580 made if_alloc_domain() never fail, then also do the
wrappers if_alloc(), if_alloc_dev(), and if_gethandle().

No functional change intended.

Reviewed by:	kp, imp, glebius, stevek
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D45740
</content>
</entry>
</feed>
