<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/mii, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>bus: Document special ranges of IVARs</title>
<updated>2026-02-17T20:45:13+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2026-02-17T20:45:13+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6cf4e30252fe48b230b9d76cac20576d5b3d2ffa'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>sys: RealTek -&gt; Realtek</title>
<updated>2025-11-27T06:19:26+00:00</updated>
<author>
<name>ykla</name>
<email>yklaxds@gmail.com</email>
</author>
<published>2025-11-26T09:02:25+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8cbe0dd5097fbcbfbfbba50b016ec48352892ca7'/>
<id>8cbe0dd5097fbcbfbfbba50b016ec48352892ca7</id>
<content type='text'>
Realtek changed how it styled its name 25 or so years ago, but the old
style persisted in many places. These products use the new styling in
their datasheets.

Signed-off-by: ykla yklaxds@gmail.com
Sponsored by: Chinese FreeBSD Community
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1901
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Realtek changed how it styled its name 25 or so years ago, but the old
style persisted in many places. These products use the new styling in
their datasheets.

Signed-off-by: ykla yklaxds@gmail.com
Sponsored by: Chinese FreeBSD Community
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1901
</pre>
</div>
</content>
</entry>
<entry>
<title>mv88e151x: fix potential attach and autonegotiation issues</title>
<updated>2025-10-15T04:01:48+00:00</updated>
<author>
<name>Ryan Libby</name>
<email>rlibby@FreeBSD.org</email>
</author>
<published>2025-10-15T04:01:48+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=68501a93076ac095be7a96ecd55d15287c497c9d'/>
<id>68501a93076ac095be7a96ecd55d15287c497c9d</id>
<content type='text'>
Reported by:	GCC -Wmaybe-uninitialized, -Wtautological-compare
Reviewed by:	kp
Differential Revision:	https://reviews.freebsd.org/D45919
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reported by:	GCC -Wmaybe-uninitialized, -Wtautological-compare
Reviewed by:	kp
Differential Revision:	https://reviews.freebsd.org/D45919
</pre>
</div>
</content>
</entry>
<entry>
<title>mccomphy: Guard the definition of mcommphy_yt8531_setup_delay()</title>
<updated>2025-05-06T19:26:57+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2025-05-06T19:26:31+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2ad32d3a68682a9f0652fba7b1283e87d2a0ca5f'/>
<id>2ad32d3a68682a9f0652fba7b1283e87d2a0ca5f</id>
<content type='text'>
Otherwise I get an unused function warning during amd64 kernel builds.

Fixes:		a592b5fd9d9c ("mccomphy: add support for YT8531")
Reviewed by:	mhorne
Differential Revision:	https://reviews.freebsd.org/D50191
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise I get an unused function warning during amd64 kernel builds.

Fixes:		a592b5fd9d9c ("mccomphy: add support for YT8531")
Reviewed by:	mhorne
Differential Revision:	https://reviews.freebsd.org/D50191
</pre>
</div>
</content>
</entry>
<entry>
<title>mccomphy: add support for YT8531</title>
<updated>2025-05-01T15:01:30+00:00</updated>
<author>
<name>Jari Sihvola</name>
<email>jsihv@gmx.com</email>
</author>
<published>2025-03-29T20:55:13+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a592b5fd9d9cca89b9d9b9bae01fb33f339d9339'/>
<id>a592b5fd9d9cca89b9d9b9bae01fb33f339d9339</id>
<content type='text'>
Reapply e69623451ea6, this time with proper conditions for code
requiring FDT.

Co-authored-by:	mhorne
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D50074
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reapply e69623451ea6, this time with proper conditions for code
requiring FDT.

Co-authored-by:	mhorne
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D50074
</pre>
</div>
</content>
</entry>
<entry>
<title>mii: Change e1000phy (Marvell 88E1000) PHYs to disable power down / isolate</title>
<updated>2025-05-01T03:00:56+00:00</updated>
<author>
<name>Adrian Chadd</name>
<email>adrian@FreeBSD.org</email>
</author>
<published>2025-04-25T03:21:50+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=67fb9dc457eee048768fe467228c394154cc28f9'/>
<id>67fb9dc457eee048768fe467228c394154cc28f9</id>
<content type='text'>
The reset sequence doesn't clear the power down / isolate bits during
power up and configuration.  Change that to make sure things are
consistent.

If the PHY is initialised by something external (eg a bootloader,
config EEPROM driving a switch chip, etc) which sets the power down
and/or isolate bits in E1000_CR, then the reset path wouldn't
undo it and the PHY will look permanently down.  Even when we
configure autonegotiate or statically nail the port up, it's still
not coming out of the power mode.

Differential Revision:	https://reviews.freebsd.org/D50045
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The reset sequence doesn't clear the power down / isolate bits during
power up and configuration.  Change that to make sure things are
consistent.

If the PHY is initialised by something external (eg a bootloader,
config EEPROM driving a switch chip, etc) which sets the power down
and/or isolate bits in E1000_CR, then the reset path wouldn't
undo it and the PHY will look permanently down.  Even when we
configure autonegotiate or statically nail the port up, it's still
not coming out of the power mode.

Differential Revision:	https://reviews.freebsd.org/D50045
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "mccomphy: add support for YT8531"</title>
<updated>2025-04-03T02:26:58+00:00</updated>
<author>
<name>Mitchell Horne</name>
<email>mhorne@FreeBSD.org</email>
</author>
<published>2025-04-03T02:22:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b847e406e1df46a732dab71d324e9dbfa1969447'/>
<id>b847e406e1df46a732dab71d324e9dbfa1969447</id>
<content type='text'>
The new code makes use of FDT/OFW types and interfaces, and obviously
fails to build on amd64. Revert to fix.

Pointy-hat-to: mhorne

This reverts commit e69623451ea62d2c3c76e0d0e775aa3f7317f2eb.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The new code makes use of FDT/OFW types and interfaces, and obviously
fails to build on amd64. Revert to fix.

Pointy-hat-to: mhorne

This reverts commit e69623451ea62d2c3c76e0d0e775aa3f7317f2eb.
</pre>
</div>
</content>
</entry>
<entry>
<title>mccomphy: add support for YT8531</title>
<updated>2025-04-02T16:56:36+00:00</updated>
<author>
<name>Jari Sihvola</name>
<email>jsihv@gmx.com</email>
</author>
<published>2025-03-29T20:55:13+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e69623451ea62d2c3c76e0d0e775aa3f7317f2eb'/>
<id>e69623451ea62d2c3c76e0d0e775aa3f7317f2eb</id>
<content type='text'>
Reviewed by:	mhorne
Tested by:	mhorne
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D45600
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed by:	mhorne
Tested by:	mhorne
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D45600
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace calls to bus_generic_attach with bus_attach_children</title>
<updated>2024-12-06T22:26:16+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2024-12-06T22:26:16+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=18250ec6c089c0c50cbd9fd87d78e03ff89916df'/>
<id>18250ec6c089c0c50cbd9fd87d78e03ff89916df</id>
<content type='text'>
Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D47675
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D47675
</pre>
</div>
</content>
</entry>
<entry>
<title>mii_fdt: Search for the "ethernet-ports" subnode</title>
<updated>2024-11-19T21:05:19+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2024-11-19T21:05:19+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d6b692835e52d85441dfdd20a01c12e17cb50914'/>
<id>d6b692835e52d85441dfdd20a01c12e17cb50914</id>
<content type='text'>
This is a more common name for the parent of the port nodes.

PR:		280770
MFC after:	2 weeks
Reported by:	Mike Belanger &lt;mibelanger@qnx.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a more common name for the parent of the port nodes.

PR:		280770
MFC after:	2 weeks
Reported by:	Mike Belanger &lt;mibelanger@qnx.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
