Michal Simek | 0a7d800 | 2009-03-27 14:25:44 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Arch specific extensions to struct device |
| 3 | * |
| 4 | * This file is subject to the terms and conditions of the GNU General Public |
| 5 | * License v2. See the file "COPYING" in the main directory of this archive |
| 6 | * for more details. |
| 7 | */ |
| 8 | |
| 9 | #ifndef _ASM_MICROBLAZE_DEVICE_H |
| 10 | #define _ASM_MICROBLAZE_DEVICE_H |
| 11 | |
| 12 | struct device_node; |
| 13 | |
| 14 | struct dev_archdata { |
Michal Simek | ccfe27d | 2010-01-14 11:21:02 +0100 | [diff] [blame] | 15 | /* DMA operations on that device */ |
| 16 | struct dma_map_ops *dma_ops; |
| 17 | void *dma_data; |
Michal Simek | 0a7d800 | 2009-03-27 14:25:44 +0100 | [diff] [blame] | 18 | }; |
| 19 | |
Magnus Damm | d7aacad | 2009-07-08 13:21:31 +0200 | [diff] [blame] | 20 | struct pdev_archdata { |
Grant Likely | 173b3a7 | 2010-04-13 16:13:00 -0700 | [diff] [blame] | 21 | u64 dma_mask; |
Magnus Damm | d7aacad | 2009-07-08 13:21:31 +0200 | [diff] [blame] | 22 | }; |
| 23 | |
Michal Simek | 0a7d800 | 2009-03-27 14:25:44 +0100 | [diff] [blame] | 24 | #endif /* _ASM_MICROBLAZE_DEVICE_H */ |
| 25 | |
| 26 | |