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
F175731398: D14749.id41080.diff
Mon, Oct 12, 9:03 PM
Unknown Object (File)
Sun, Oct 11, 8:20 PM
Unknown Object (File)
Fri, Oct 9, 3:28 PM
Unknown Object (File)
Thu, Oct 1, 9:01 AM
Unknown Object (File)
Thu, Oct 1, 7:51 AM
Unknown Object (File)
Thu, Oct 1, 7:42 AM
Unknown Object (File)
Thu, Oct 1, 5:51 AM
Unknown Object (File)
Wed, Sep 30, 7:33 PM
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.