From: FUJITA Tomonori Date: Tue, 5 Feb 2008 06:28:13 +0000 (-0800) Subject: iommu sg merging: add accessors for segment_boundary_mask in device_dma_parameters() X-Git-Tag: v2.6.25-rc1~1000 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d22a6966b8029913fac37d078ab2403898d94c63;p=pandora-kernel.git iommu sg merging: add accessors for segment_boundary_mask in device_dma_parameters() This adds new accessors for segment_boundary_mask in device_dma_parameters structure in the same way I did for max_segment_size. So we can easily change where to place struct device_dma_parameters in the future. dma_get_segment boundary returns 0xffffffff if dma_parms in struct device isn't set up properly. 0xffffffff is the default value used in the block layer and the scsi mid layer. Signed-off-by: FUJITA Tomonori Cc: James Bottomley Cc: Jens Axboe Cc: Greg KH Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed