machvec_hpzx1_swiotlb.h 593 B

12345678910111213141516171819
  1. #ifndef _ASM_IA64_MACHVEC_HPZX1_SWIOTLB_h
  2. #define _ASM_IA64_MACHVEC_HPZX1_SWIOTLB_h
  3. extern ia64_mv_setup_t dig_setup;
  4. extern ia64_mv_dma_get_ops hwsw_dma_get_ops;
  5. /*
  6. * This stuff has dual use!
  7. *
  8. * For a generic kernel, the macros are used to initialize the
  9. * platform's machvec structure. When compiling a non-generic kernel,
  10. * the macros are used directly.
  11. */
  12. #define ia64_platform_name "hpzx1_swiotlb"
  13. #define platform_setup dig_setup
  14. #define platform_dma_init machvec_noop
  15. #define platform_dma_get_ops hwsw_dma_get_ops
  16. #endif /* _ASM_IA64_MACHVEC_HPZX1_SWIOTLB_h */