blob: 1091ac39740c6c407c35bb43e8d511eea2aafb02 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _ASM_IA64_MACHVEC_HPZX1_SWIOTLB_h
2#define _ASM_IA64_MACHVEC_HPZX1_SWIOTLB_h
3
4extern ia64_mv_setup_t dig_setup;
FUJITA Tomonoric7b3aee2009-01-05 23:36:17 +09005extern ia64_mv_dma_get_ops hwsw_dma_get_ops;
Linus Torvalds1da177e2005-04-16 15:20:36 -07006
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 Torvalds1da177e2005-04-16 15:20:36 -070015#define platform_setup dig_setup
Alex Williamson0b9afed2005-09-06 11:20:49 -060016#define platform_dma_init machvec_noop
FUJITA Tomonoric7b3aee2009-01-05 23:36:17 +090017#define platform_dma_get_ops hwsw_dma_get_ops
Linus Torvalds1da177e2005-04-16 15:20:36 -070018
19#endif /* _ASM_IA64_MACHVEC_HPZX1_SWIOTLB_h */