diff options
author | Al Viro <viro@www.linux.org.uk> | 2005-05-04 05:39:32 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-04 07:33:13 -0700 |
commit | 7fbacd5213a03b262bb17a826b166900e8b168ac (patch) | |
tree | 7f354174eccaaf6927e950829b8fbcdcc68570fb /include/asm-sparc64/parport.h | |
parent | 5cae841b13f23ccdf7e38b2400b5cf57deb57ccf (diff) | |
download | linux-7fbacd5213a03b262bb17a826b166900e8b168ac.tar.gz linux-7fbacd5213a03b262bb17a826b166900e8b168ac.tar.bz2 linux-7fbacd5213a03b262bb17a826b166900e8b168ac.zip |
[PATCH] ISA_DMA Kconfig fixes - part 2 (parport_pc)
Part of parport_pc that uses ISA DMA helpers made conditional on
CONFIG_ISA_DMA_API. As the result, driver got usable for boxen that do
not have ISA DMA stuff and have normal PCI parport card stuck into
them - these never use DMA anyway.
Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-sparc64/parport.h')
-rw-r--r-- | include/asm-sparc64/parport.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-sparc64/parport.h b/include/asm-sparc64/parport.h index ab88349ddadc..b7e635544cec 100644 --- a/include/asm-sparc64/parport.h +++ b/include/asm-sparc64/parport.h @@ -13,6 +13,12 @@ #define PARPORT_PC_MAX_PORTS PARPORT_MAX +/* + * While sparc64 doesn't have an ISA DMA API, we provide something that looks + * close enough to make parport_pc happy + */ +#define HAS_DMA + static struct sparc_ebus_info { struct ebus_dma_info info; unsigned int addr; |