Page MenuHomeFreeBSD

Remove bus_space_fdt for MIPS and make bus_space_generic handle things properly
ClosedPublic

Authored by Sgalabov_gmail.com on Feb 4 2016, 7:20 AM.
Tags
Referenced Files
Unknown Object (File)
Tue, Apr 16, 3:17 AM
Unknown Object (File)
Fri, Apr 12, 10:49 AM
Unknown Object (File)
Fri, Apr 12, 10:48 AM
Unknown Object (File)
Fri, Apr 12, 9:02 AM
Unknown Object (File)
Fri, Apr 12, 9:02 AM
Unknown Object (File)
Fri, Apr 12, 9:02 AM
Unknown Object (File)
Thu, Apr 11, 7:52 PM
Unknown Object (File)
Tue, Apr 9, 10:24 PM

Details

Summary

This patch removes the bus_space_fdt from the MIPS platforms and makes bus_space_generic properly map/unmap memory (using pmap_mapdev and pmap_unmapdev respectively) so that resources are properly managed.

This work has been done by Alexander Kabaev for his CI20 port, but I am also using it for the Ralink/Mediatek work, so I have tried to extract it from his work and am submitting it here for review.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Sgalabov_gmail.com retitled this revision from to Remove bus_space_fdt for MIPS and make bus_space_generic handle things properly.
Sgalabov_gmail.com updated this object.
Sgalabov_gmail.com edited the test plan for this revision. (Show Details)
Sgalabov_gmail.com added reviewers: MIPS, adrian, kan.
Sgalabov_gmail.com set the repository for this revision to rS FreeBSD src repository - subversion.
Sgalabov_gmail.com added a project: MIPS.

Made this revision dependent on D5196 only because the diff was created after the diff for D5196, so they may be better applied in the same order if accepted.

Ok, I'll test/commit this one first, as i think it's a pre-requisite for the future patches.

Thanks!

kan edited edge metadata.
This revision is now accepted and ready to land.Feb 10 2016, 7:10 PM
This revision was automatically updated to reflect the committed changes.