Hi David,

what needs to be included to get 64bit DMA? The obvious step
of including linux/dma-mapping.h fails.

In file included from include/linux/dma-mapping.h:13,
                 from drivers/usb/net/kaweth.c:50:
include/asm/dma-mapping.h:10: warning: `struct device' declared inside parameter list
include/asm/dma-mapping.h:10: warning: its scope is only this definition or 
declaration, which is probably not what you want
include/asm/dma-mapping.h:13: warning: `struct device' declared inside parameter list
include/asm/dma-mapping.h:17: warning: `struct device' declared inside parameter list
include/asm/dma-mapping.h: In function `dma_map_single':
include/asm/dma-mapping.h:20: warning: implicit declaration of function 
`flush_write_buffers'
include/asm/dma-mapping.h:21: warning: implicit declaration of function `virt_to_phys'
include/asm/dma-mapping.h: At top level:
include/asm/dma-mapping.h:26: warning: `struct device' declared inside parameter list
include/asm/dma-mapping.h:33: warning: `struct scatterlist' declared inside parameter 
list
include/asm/dma-mapping.h:33: warning: `struct device' declared inside parameter list
include/asm/dma-mapping.h: In function `dma_map_sg':
include/asm/dma-mapping.h:40: error: invalid use of undefined type `struct scatterlist'
include/asm/dma-mapping.h:40: error: dereferencing pointer to incomplete type
include/asm/dma-mapping.h:42: error: invalid use of undefined type `struct scatterlist'
include/asm/dma-mapping.h:42: error: dereferencing pointer to incomplete type
include/asm/dma-mapping.h:42: warning: implicit declaration of function `page_to_phys'
include/asm/dma-mapping.h:42: error: invalid use of undefined type `struct scatterlist'
include/asm/dma-mapping.h:42: error: dereferencing pointer to incomplete type
include/asm/dma-mapping.h:42: error: invalid use of undefined type `struct scatterlist'
include/asm/dma-mapping.h:42: error: dereferencing pointer to incomplete type
include/asm/dma-mapping.h: At top level:
include/asm/dma-mapping.h:51: warning: `struct device' declared inside parameter list
include/asm/dma-mapping.h: In function `dma_map_page':
include/asm/dma-mapping.h:54: error: `mem_map' undeclared (first use in this function)
include/asm/dma-mapping.h:54: error: (Each undeclared identifier is reported only once
include/asm/dma-mapping.h:54: error: for each function it appears in.)
include/asm/dma-mapping.h: At top level:
include/asm/dma-mapping.h:59: warning: `struct device' declared inside parameter list
include/asm/dma-mapping.h:67: warning: `struct scatterlist' declared inside parameter 
list
include/asm/dma-mapping.h:67: warning: `struct device' declared inside parameter list
include/asm/dma-mapping.h:74: warning: `struct device' declared inside parameter list
include/asm/dma-mapping.h:82: warning: `struct device' declared inside parameter list
include/asm/dma-mapping.h:90: warning: `struct scatterlist' declared inside parameter 
list
include/asm/dma-mapping.h:90: warning: `struct device' declared inside parameter list
include/asm/dma-mapping.h:96: warning: `struct device' declared inside parameter list
include/asm/dma-mapping.h:110: warning: `struct device' declared inside parameter list
include/asm/dma-mapping.h: In function `dma_set_mask':
include/asm/dma-mapping.h:112: error: dereferencing pointer to incomplete type
include/asm/dma-mapping.h:112: warning: passing arg 1 of `dma_supported' from 
incompatible pointer type
include/asm/dma-mapping.h:115: error: dereferencing pointer to incomplete type
In file included from include/linux/skbuff.h:25,
                 from include/linux/netdevice.h:151,
                 from drivers/usb/net/kaweth.c:56:
include/linux/mm.h: At top level:
include/linux/mm.h:400: error: `mem_map' used prior to declaration
In file included from drivers/usb/net/kaweth.c:58:
include/linux/usb.h: In function `usb_make_path':
include/linux/usb.h:327: warning: comparison between signed and unsigned
drivers/usb/net/kaweth.c: In function `kaweth_probe':
drivers/usb/net/kaweth.c:1084: warning: passing arg 1 of `dma_supported' from 
incompatible pointer type
make[3]: *** [drivers/usb/net/kaweth.o] Fehler 1
make[2]: *** [drivers/usb/net] Fehler 2
make[1]: *** [drivers/usb] Fehler 2
make: *** [drivers] Fehler 2

        Regards
                Oliver



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to