From: Matthew Wilcox Date: Fri, 5 Oct 2007 19:55:09 +0000 (-0400) Subject: [SCSI] sym53c8xx: Simplify DAC DMA handling X-Git-Tag: v2.6.24-rc1~19^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d85b471593d03e141f9160a58574b9204363267;p=pandora-kernel.git [SCSI] sym53c8xx: Simplify DAC DMA handling By introducing the use_dac(), set_dac() and DMA_DAC_MASK macros, we can eliminate a lot of ifdefs from the code. We now rely on the compiler to optimise away a few things that we'd formerly relied on the preprocessor to do. This makes sym_setup_bus_dma_mask() small enough to inline into its only caller. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley --- Reading git-diff-tree failed