[Differential] [Request, 243 lines] D5184: Remove bus_space_fdt for MIPS and make bus_space_generic handle things properly
Sgalabov_gmail.com (Stanislav Galabov)
phabric-noreply at FreeBSD.org
Thu Feb 4 07:20:55 UTC 2016
Sgalabov_gmail.com created this revision.
Sgalabov_gmail.com added reviewers: MIPS, adrian, kan.
Sgalabov_gmail.com added a subscriber: freebsd-mips-list.
Sgalabov_gmail.com set the repository for this revision to rS FreeBSD src repository.
Sgalabov_gmail.com added a project: MIPS.
Herald added a subscriber: imp.
REVISION 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.
REPOSITORY
rS FreeBSD src repository
REVISION DETAIL
https://reviews.freebsd.org/D5184
AFFECTED FILES
sys/conf/files.mips
sys/mips/include/bus.h
sys/mips/include/fdt.h
sys/mips/mips/bus_space_fdt.c
sys/mips/mips/bus_space_generic.c
sys/mips/mips/nexus.c
EMAIL PREFERENCES
https://reviews.freebsd.org/settings/panel/emailpreferences/
To: Sgalabov_gmail.com, MIPS, adrian, kan
Cc: imp, freebsd-mips-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5184.12993.patch
Type: text/x-patch
Size: 10478 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-mips/attachments/20160204/dcf9687e/attachment.bin>
More information about the freebsd-mips
mailing list