diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-12-01 15:36:27 +0100 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-12-08 06:02:52 +0100 |
commit | 128b4a0ef74e8d48033513e41a413087ba30e36b (patch) | |
tree | 9fe76b544808404892dbe1c8259a02a3cbf9e422 /arch/powerpc/include/asm | |
parent | powerpc/macio: Add devres support to macio_device (diff) | |
download | linux-128b4a0ef74e8d48033513e41a413087ba30e36b.tar.xz linux-128b4a0ef74e8d48033513e41a413087ba30e36b.zip |
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>
Diffstat (limited to 'arch/powerpc/include/asm')
-rw-r--r-- | arch/powerpc/include/asm/macio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/macio.h b/arch/powerpc/include/asm/macio.h index 2b7b39294a6a..86d5fed1c49f 100644 --- a/arch/powerpc/include/asm/macio.h +++ b/arch/powerpc/include/asm/macio.h @@ -39,6 +39,7 @@ struct macio_dev struct macio_bus *bus; /* macio bus this device is on */ struct macio_dev *media_bay; /* Device is part of a media bay */ struct of_device ofdev; + struct device_dma_parameters dma_parms; /* ide needs that */ int n_resources; struct resource resource[MACIO_DEV_COUNT_RESOURCES]; int n_interrupts; |