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
F132144718: D32812.id97913.diff
Tue, Oct 14, 4:07 AM
F132144705: D32812.id98937.diff
Tue, Oct 14, 4:07 AM
F132144703: D32812.id.diff
Tue, Oct 14, 4:07 AM
F132091966: D32812.diff
Mon, Oct 13, 2:45 PM
Unknown Object (File)
Mon, Oct 13, 3:49 AM
Unknown Object (File)
Wed, Oct 1, 12:21 AM
Unknown Object (File)
Sat, Sep 27, 9:25 PM
Unknown Object (File)
Thu, Sep 18, 12:18 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