powerpc/macio: Add dma_parms support to macio
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 1 Dec 2009 14:36:27 +0000 (14:36 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 8 Dec 2009 05:02:52 +0000 (16:02 +1100)
commit128b4a0ef74e8d48033513e41a413087ba30e36b
tree9fe76b544808404892dbe1c8259a02a3cbf9e422
parent7fb19ea054a0cdf1a4d935e68d51bde4d3725414
powerpc/macio: Add dma_parms support to macio

This adds dma_parms to macio devices and initializes them with
default values. This will allow pata_macio to setup the appropriate
max segment size for the block layer.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/macio.h
drivers/macintosh/macio_asic.c