Re: [PATCH 1/3] msi vector targeting abstractions

Jun'ichi Nomura
2006-03-21T19:23:44Z

Hi,

Mark Maule wrote:
> @@ -386,5 +390,8 @@
> #ifndef platform_readq_relaxed
> # define platform_readq_relaxed __ia64_readq_relaxed
> #endif
> +#ifndef platform_msi_init
> +# define platform_msi_init ((ia64_mv_msi_init_t*)NULL)
> +#endif

You may also need to change the sn specific header below.

> @@ -115,6 +116,11 @@
> #define platform_dma_sync_sg_for_device sn_dma_sync_sg_for_device
> #define platform_dma_mapping_error sn_dma_mapping_error
> #define platform_dma_supported sn_dma_supported
> +#ifdef CONFIG_PCI_MSI
> +#define platform_msi_init sn_msi_init
> +#else
> +#define platform_msi_init NULL
> +#endif

Thanks,
--
Jun'ichi Nomura, NEC Solutions (America), Inc.