diff options
author | David S. Miller <davem@davemloft.net> | 2008-08-27 18:01:36 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-29 02:13:14 -0700 |
commit | 944c67dff7a88f0a775e5b604937f9e30d2de555 (patch) | |
tree | 38566c48f3f002c3f1f9d77da3d8b12543bee1c7 /arch/sparc/kernel/ioport.c | |
parent | 260489fa8a9735c76073ace95f03ffaf10cca884 (diff) | |
download | blackbird-op-linux-944c67dff7a88f0a775e5b604937f9e30d2de555.tar.gz blackbird-op-linux-944c67dff7a88f0a775e5b604937f9e30d2de555.zip |
sparc32: Implement more generic dma_*() interfaces.
These dispatch to either PCI or SBUS routines based upon
the device bus type.
This will allow us to let SBUS drivers call these routines.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/ioport.c')
-rw-r--r-- | arch/sparc/kernel/ioport.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc/kernel/ioport.c b/arch/sparc/kernel/ioport.c index 11dccf945153..0b3035978e0d 100644 --- a/arch/sparc/kernel/ioport.c +++ b/arch/sparc/kernel/ioport.c @@ -49,6 +49,8 @@ #include <asm/iommu.h> #include <asm/io-unit.h> +#include "dma.h" + #define mmu_inval_dma_area(p, l) /* Anton pulled it out for 2.4.0-xx */ static struct resource *_sparc_find_resource(struct resource *r, |