Page MenuHomeFreeBSD

miibus: Add support for mapping OFW nodes to PHY devices
ClosedPublic

Authored by kd on Nov 3 2021, 9:48 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 24, 9:43 PM
Unknown Object (File)
Mon, Nov 17, 5:19 PM
Unknown Object (File)
Mon, Nov 17, 2:01 PM
Unknown Object (File)
Mon, Nov 10, 2:24 AM
Unknown Object (File)
Tue, Nov 4, 9:35 AM
Unknown Object (File)
Tue, Nov 4, 9:32 AM
Unknown Object (File)
Tue, Nov 4, 9:29 AM
Unknown Object (File)
Oct 22 2025, 9:32 PM
Subscribers

Details

Summary

Create a new miibus OFW specific layer leveraging miibus_fdt.c code.
PHY drivers can than read the properties using device_get_property(9) API.
Resource(interrupt) allocation is also supported.
In order to enable this each NIC/switch driver will have to be modified, because of how miibus is attached to the parent driver.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable