On Wed, 2007-07-04 at 1:26 +0900, FUJITA Tomonori wrote: > On Fri, 29 Jun 2007 06:23:32 -0700 Andrew Vasquez wrote: > > One possiblity (the least intrusive) would be to add a > > scsi_dma_map_with_device() function which takes the proper (LLD > > defined) 'struct device' as a parameter, as was originally > proposed, > > and have NPIV-aware drivers call that function during the > mappings of > > physical *and* virtual dma-mappings. > > It's ok. But if only NPIV-aware drivers need to handle this, > would it be better to just use dma_map_sg instead of scsi_dma_map? I agree with you on the suggestion. A patch for NPIV support on qla2xxx module that includes this change will be followed. Seokmann - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html