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)
Thu, May 9, 9:39 AM
Unknown Object (File)
Thu, May 9, 9:35 AM
Unknown Object (File)
Thu, May 9, 9:35 AM
Unknown Object (File)
Wed, May 8, 1:13 PM
Unknown Object (File)
Mon, May 6, 5:38 PM
Unknown Object (File)
Sat, May 4, 5:32 PM
Unknown Object (File)
Fri, May 3, 7:29 PM
Unknown Object (File)
Mar 24 2024, 2:22 AM
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

Lint
Lint Skipped
Unit
Tests Skipped