Page MenuHomeFreeBSD

Make Marvell mv_pci.c driver generic
ClosedPublic

Authored by mkm_semihalf.com on Mar 19 2018, 5:28 PM.
Tags
Referenced Files
Unknown Object (File)
Jan 3 2024, 3:00 PM
Unknown Object (File)
Dec 27 2023, 7:48 PM
Unknown Object (File)
Dec 20 2023, 1:28 AM
Unknown Object (File)
Dec 12 2023, 1:29 AM
Unknown Object (File)
Dec 4 2023, 6:42 PM
Unknown Object (File)
Nov 8 2023, 3:19 AM
Unknown Object (File)
Oct 18 2023, 1:45 AM
Unknown Object (File)
Oct 17 2023, 9:16 PM
Subscribers

Details

Summary

PCI ports differ between Marvell SoCs, but have the same compatible in FDT.
Identification is made based on parent compatible during attach.
For ArmadaXP skipping enable procedure is necessary. To achieve it
sc_skip_enable_procedure flag is used.
For Armada38x find root procedure is necessary. For other SoCs root link is
always at slot 0. sc_enable_find_root_slot flag is used to select proper
behaviour.
Marvell armv5 platforms does not support msi.

Diff Detail

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

Event Timeline

sys/arm/mv/mv_pci.c
558 ↗(On Diff #40445)

Why a goto here when there's already an if statement you could add this check to?

1060 ↗(On Diff #40445)

This comment should be indented

mkm_semihalf.com marked 2 inline comments as done.
This revision is now accepted and ready to land.Mar 21 2018, 1:50 PM
This revision was automatically updated to reflect the committed changes.