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
F111599651: D14749.id41080.diff
Wed, Mar 5, 8:14 PM
Unknown Object (File)
Sat, Feb 22, 2:25 PM
Unknown Object (File)
Sat, Feb 22, 2:06 PM
Unknown Object (File)
Sat, Feb 22, 1:49 PM
Unknown Object (File)
Sat, Feb 22, 1:49 PM
Unknown Object (File)
Sun, Feb 9, 3:35 AM
Unknown Object (File)
Sat, Feb 8, 6:33 AM
Unknown Object (File)
Jan 29 2025, 6:32 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.