target/cxgbit: Use T6 specific macros to get ETH/IP hdr len
[linux/fpc-iii.git] / arch / mips / include / asm / device.h
blob21c2082a0dfbb3b1dec84125f9216d54accd4edf
1 /*
2 * Arch specific extensions to struct device
4 * This file is released under the GPLv2
5 */
6 #ifndef _ASM_MIPS_DEVICE_H
7 #define _ASM_MIPS_DEVICE_H
9 struct dma_map_ops;
11 struct dev_archdata {
12 /* DMA operations on that device */
13 struct dma_map_ops *dma_ops;
15 #ifdef CONFIG_DMA_PERDEV_COHERENT
16 /* Non-zero if DMA is coherent with CPU caches */
17 bool dma_coherent;
18 #endif
21 struct pdev_archdata {
24 #endif /* _ASM_MIPS_DEVICE_H*/