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)
Sun, Mar 24, 2:22 AM
Unknown Object (File)
Feb 13 2024, 12:15 AM
Unknown Object (File)
Feb 12 2024, 9:53 PM
Unknown Object (File)
Feb 12 2024, 9:53 PM
Unknown Object (File)
Feb 12 2024, 9:49 PM
Unknown Object (File)
Jan 17 2024, 3:14 AM
Unknown Object (File)
Dec 24 2023, 7:49 AM
Unknown Object (File)
Dec 20 2023, 3:08 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

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