commit | 4d85b471593d03e141f9160a58574b9204363267 | [log] [tgz] |
---|---|---|
author | Matthew Wilcox <matthew@wil.cx> | Fri Oct 05 15:55:09 2007 -0400 |
committer | James Bottomley <jejb@mulgrave.localdomain> | Tue Oct 23 15:12:36 2007 -0400 |
tree | 322457b73d4b5872ddb5c0651d8820933f0a68c4 | |
parent | a44131b35ec1a46ed75014d818cb9d5706117b49 [diff] |
[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 <willy@linux.intel.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>