Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _ASM_IA64_MACHVEC_HPZX1_SWIOTLB_h |
| 2 | #define _ASM_IA64_MACHVEC_HPZX1_SWIOTLB_h |
| 3 | |
| 4 | extern ia64_mv_setup_t dig_setup; |
FUJITA Tomonori | c7b3aee | 2009-01-05 23:36:17 +0900 | [diff] [blame] | 5 | extern ia64_mv_dma_get_ops hwsw_dma_get_ops; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | |
| 7 | /* |
| 8 | * This stuff has dual use! |
| 9 | * |
| 10 | * For a generic kernel, the macros are used to initialize the |
| 11 | * platform's machvec structure. When compiling a non-generic kernel, |
| 12 | * the macros are used directly. |
| 13 | */ |
| 14 | #define platform_name "hpzx1_swiotlb" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | #define platform_setup dig_setup |
Alex Williamson | 0b9afed | 2005-09-06 11:20:49 -0600 | [diff] [blame] | 16 | #define platform_dma_init machvec_noop |
FUJITA Tomonori | c7b3aee | 2009-01-05 23:36:17 +0900 | [diff] [blame] | 17 | #define platform_dma_get_ops hwsw_dma_get_ops |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | |
| 19 | #endif /* _ASM_IA64_MACHVEC_HPZX1_SWIOTLB_h */ |