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.

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
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

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.