Page MenuHomeFreeBSD

Fix invalid root link detection in mv_pci driver
ClosedPublic

Authored by bsz_semihalf.com on Dec 4 2015, 1:15 PM.
Tags
Referenced Files
Unknown Object (File)
Oct 28 2024, 6:17 AM
Unknown Object (File)
Oct 22 2024, 11:38 AM
Unknown Object (File)
Oct 22 2024, 11:38 AM
Unknown Object (File)
Oct 22 2024, 11:38 AM
Unknown Object (File)
Oct 22 2024, 11:38 AM
Unknown Object (File)
Oct 22 2024, 11:38 AM
Unknown Object (File)
Oct 22 2024, 11:25 AM
Unknown Object (File)
Sep 24 2024, 9:26 AM
Subscribers

Details

Summary

mv_pci driver omitted slot 0, which can be valid device on Armada38x. New
mechanism detects if device is root link, basing on vendor's and device's
IDs. It is restricted to Armada38x; on other machines, behaviour remains
the same.

Obtained from: Semihalf
Sponsored by: Stormshield
Submitted by: Bartosz Szczepanek <bsz@semihalf.com>

Diff Detail

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

Event Timeline

bsz_semihalf.com retitled this revision from to Fix invalid root link detection in mv_pci driver.
bsz_semihalf.com updated this object.
bsz_semihalf.com edited the test plan for this revision. (Show Details)
bsz_semihalf.com added reviewers: ian, imp.
bsz_semihalf.com set the repository for this revision to rS FreeBSD src repository - subversion.
bsz_semihalf.com added a project: ARM.
bsz_semihalf.com added a subscriber: zbb.
sys/arm/mv/mv_pci.c
1032 ↗(On Diff #10857)

This should be #else with the #endif after the return below.

andrew added a reviewer: andrew.
This revision is now accepted and ready to land.Dec 11 2015, 3:39 PM
This revision was automatically updated to reflect the committed changes.