iommu sg merging: PCI: add dma segment boundary support
authorFUJITA Tomonori <tomof@acm.org>
Tue, 5 Feb 2008 06:28:14 +0000 (22:28 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:12 +0000 (09:44 -0800)
commit59fc67dedb46c29442989e52af39da67aea52512
treed75eb8ce840e1f9d2a2e2dd939e28396750186fb
parentd22a6966b8029913fac37d078ab2403898d94c63
iommu sg merging: PCI: add dma segment boundary support

This adds PCI's accessor for segment_boundary_mask in device_dma_parameters.

The default segment_boundary is set to 0xffffffff, same to the block layer's
default value (and the scsi mid layer uses the same value).

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Cc: Greg KH <greg@kroah.com>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/pci/pci.c
drivers/pci/probe.c
include/linux/pci.h