git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 2.0 rc7
[linux-2.6.git]
/
include
/
asm-sparc64
/
parport.h
diff --git
a/include/asm-sparc64/parport.h
b/include/asm-sparc64/parport.h
index
ab88349
..
b7e6355
100644
(file)
--- a/
include/asm-sparc64/parport.h
+++ b/
include/asm-sparc64/parport.h
@@
-13,6
+13,12
@@
#define PARPORT_PC_MAX_PORTS PARPORT_MAX
#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;
static struct sparc_ebus_info {
struct ebus_dma_info info;
unsigned int addr;