Module Name: src Committed By: riastradh Date: Thu Aug 28 13:45:59 UTC 2014
Modified Files: src/sys/external/bsd/drm2/include/linux: io-mapping.h Log Message: Make Linux io_mapping actually work. Can't use bus_space_map/bus_space_unmap in interrupt context, where Linux uses this io_mapping abstraction. Instead, do uvm_km_alloc up front and then use bus_space_mmap/pmap_kenter_pa to map it. XXX Should bus_space_reserve the region (but that's x86-only for now). XXX Should use direct map if possible. XXX Should set an MTRR WC too in case of direct map or no PAT. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/external/bsd/drm2/include/linux/io-mapping.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.