diff options
-rw-r--r-- | drivers/net/ibmveth.c | 2 | ||||
-rw-r--r-- | include/asm-powerpc/types.h | 4 | ||||
-rw-r--r-- | include/asm-ppc64/scatterlist.h | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/drivers/net/ibmveth.c b/drivers/net/ibmveth.c index f5dc632452f1..cbe9368a4d56 100644 --- a/drivers/net/ibmveth.c +++ b/drivers/net/ibmveth.c | |||
@@ -532,7 +532,7 @@ static int ibmveth_open(struct net_device *netdev) | |||
532 | 532 | ||
533 | if(lpar_rc != H_Success) { | 533 | if(lpar_rc != H_Success) { |
534 | ibmveth_error_printk("h_register_logical_lan failed with %ld\n", lpar_rc); | 534 | ibmveth_error_printk("h_register_logical_lan failed with %ld\n", lpar_rc); |
535 | ibmveth_error_printk("buffer TCE:0x%x filter TCE:0x%x rxq desc:0x%lx MAC:0x%lx\n", | 535 | ibmveth_error_printk("buffer TCE:0x%lx filter TCE:0x%lx rxq desc:0x%lx MAC:0x%lx\n", |
536 | adapter->buffer_list_dma, | 536 | adapter->buffer_list_dma, |
537 | adapter->filter_list_dma, | 537 | adapter->filter_list_dma, |
538 | rxq_desc.desc, | 538 | rxq_desc.desc, |
diff --git a/include/asm-powerpc/types.h b/include/asm-powerpc/types.h index f70cd3fb32d9..ec3c2ee8bf86 100644 --- a/include/asm-powerpc/types.h +++ b/include/asm-powerpc/types.h | |||
@@ -85,7 +85,11 @@ typedef unsigned long long u64; | |||
85 | 85 | ||
86 | typedef __vector128 vector128; | 86 | typedef __vector128 vector128; |
87 | 87 | ||
88 | #ifdef __powerpc64__ | ||
89 | typedef u64 dma_addr_t; | ||
90 | #else | ||
88 | typedef u32 dma_addr_t; | 91 | typedef u32 dma_addr_t; |
92 | #endif | ||
89 | typedef u64 dma64_addr_t; | 93 | typedef u64 dma64_addr_t; |
90 | 94 | ||
91 | typedef struct { | 95 | typedef struct { |
diff --git a/include/asm-ppc64/scatterlist.h b/include/asm-ppc64/scatterlist.h index cecce6c6dfbb..65a2a027ac94 100644 --- a/include/asm-ppc64/scatterlist.h +++ b/include/asm-ppc64/scatterlist.h | |||
@@ -19,7 +19,7 @@ struct scatterlist { | |||
19 | unsigned int length; | 19 | unsigned int length; |
20 | 20 | ||
21 | /* For TCE support */ | 21 | /* For TCE support */ |
22 | u32 dma_address; | 22 | dma_addr_t dma_address; |
23 | u32 dma_length; | 23 | u32 dma_length; |
24 | }; | 24 | }; |
25 | 25 | ||