summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-03-29 00:12:56 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-03-29 00:12:56 +0000
commitb3a4cea888eb9065d605cc58a3d9982d6c00e865 (patch)
tree167be11dbf93a1f325834b532074941df70c62de /include/linux
parentaec775ee41ed8129eaa8bd46fcfb1b9e8e42b561 (diff)
Fix warning in the IDE driver; on 64-bit boxes it actually was a
real bug. From Geert.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ide.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index ae597c151..bdb72ef5f 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -385,7 +385,7 @@ typedef struct hwif_s {
ide_resetproc_t *resetproc; /* routine to reset controller after a disk reset */
ide_dmaproc_t *dmaproc; /* dma read/write/abort routine */
unsigned int *dmatable_cpu; /* dma physical region descriptor table (cpu view) */
- u32 dmatable_dma; /* dma physical region descriptor table (dma view) */
+ dma_addr_t dmatable_dma; /* dma physical region descriptor table (dma view) */
struct scatterlist *sg_table; /* Scatter-gather list used to build the above */
int sg_nents; /* Current number of entries in it */
int sg_dma_direction; /* dma transfer direction */