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, Apr 10, 10:26 AM
Unknown Object (File)
Fri, Apr 5, 5:56 AM
Unknown Object (File)
Dec 27 2023, 8:16 PM
Unknown Object (File)
Dec 27 2023, 8:15 PM
Unknown Object (File)
Dec 27 2023, 8:15 PM
Unknown Object (File)
Dec 27 2023, 7:47 PM
Unknown Object (File)
Dec 20 2023, 6:25 AM
Unknown Object (File)
Dec 12 2023, 3:41 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.