2005-04-17 06:20:36 +08:00
|
|
|
#ifndef _ASM_IA64_MACHVEC_HPZX1_SWIOTLB_h
|
|
|
|
#define _ASM_IA64_MACHVEC_HPZX1_SWIOTLB_h
|
|
|
|
|
|
|
|
extern ia64_mv_setup_t dig_setup;
|
2009-01-05 22:36:17 +08:00
|
|
|
extern ia64_mv_dma_get_ops hwsw_dma_get_ops;
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
* This stuff has dual use!
|
|
|
|
*
|
|
|
|
* For a generic kernel, the macros are used to initialize the
|
|
|
|
* platform's machvec structure. When compiling a non-generic kernel,
|
|
|
|
* the macros are used directly.
|
|
|
|
*/
|
2012-07-25 15:15:13 +08:00
|
|
|
#define ia64_platform_name "hpzx1_swiotlb"
|
2005-04-17 06:20:36 +08:00
|
|
|
#define platform_setup dig_setup
|
2005-09-07 01:20:49 +08:00
|
|
|
#define platform_dma_init machvec_noop
|
2009-01-05 22:36:17 +08:00
|
|
|
#define platform_dma_get_ops hwsw_dma_get_ops
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
#endif /* _ASM_IA64_MACHVEC_HPZX1_SWIOTLB_h */
|