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, Jan 29, 6:32 PM
Unknown Object (File)
Sat, Jan 18, 2:01 AM
Unknown Object (File)
Sun, Jan 5, 10:22 AM
Unknown Object (File)
Nov 16 2024, 4:58 AM
Unknown Object (File)
Nov 15 2024, 9:40 PM
Unknown Object (File)
Nov 15 2024, 5:57 PM
Unknown Object (File)
Nov 9 2024, 9:29 AM
Unknown Object (File)
Oct 17 2024, 12:43 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 Skipped
Unit
Tests Skipped

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.