Page MenuHomeFreeBSD

Match Marvell Armada38X PCI compatible with Linux
ClosedPublic

Authored by mkm_semihalf.com on Mar 19 2018, 6:04 PM.
Tags
Referenced Files
Unknown Object (File)
Wed, Oct 1, 12:13 AM
Unknown Object (File)
Sun, Sep 21, 10:33 PM
Unknown Object (File)
Sat, Sep 20, 8:17 AM
Unknown Object (File)
Aug 15 2025, 12:15 AM
Unknown Object (File)
Jul 13 2025, 1:03 AM
Unknown Object (File)
Jul 7 2025, 1:52 PM
Unknown Object (File)
Jul 5 2025, 10:08 PM
Unknown Object (File)
Jul 5 2025, 10:02 AM
Subscribers

Details

Summary

In Linux FDT pcie does not have compatible string.
Configuration of windows in mv_common was based on fdt compatible.
Now pcie windows are configured by their parent: pcie_controller.
Processing is moved to fdt_win_process_child. fdt_win_process now
only walk through the tree. SOC_NODE_PCI is position of pcie function in
soc_node_spec array.

PCIe probe cannot use ofw_bus_search_compatible, because it needs to
check also device type and parents compatible.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Same comment as in D14751 :

I don't understand why we need this dts since we have it in sys/gnu/dts.
I should be easier to include the gnu one from a FreeBSD one that patches node if we need some difference.

HI Manu,

Please check my answer in answer in https://reviews.freebsd.org/D14751. DTS part is temporary until completer removal.

This revision is now accepted and ready to land.Mar 21 2018, 10:49 AM
This revision was automatically updated to reflect the committed changes.