Re: [PATCH 1/5] sparc64: expand LDC interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Jag Raman <jag.raman@xxxxxxxxxx>
Date: Wed, 29 Mar 2017 17:51:42 -0400

> @@ -24,6 +24,9 @@ struct ldc_channel_config {
>  	u32			mtu;
>  	unsigned int		rx_irq;
>  	unsigned int		tx_irq;
> +	u64			rx_ino;
> +	u64			tx_ino;
> +	u64			dev_handle;
>  	u8			mode;
>  #define LDC_MODE_RAW		0x00
>  #define LDC_MODE_UNRELIABLE	0x01
 ...
> +void ldc_enable_hv_intr(struct ldc_channel *lp)
 ...
> +void ldc_disable_hv_intr(struct ldc_channel *lp)

You should use enable_irq() and disable_irq() for this.

The whole idea is that the entire kernel should only operate on
32-bit abstract IRQ cookies, and not have to have any knowledge
about interrupt numbering details such as INOs.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux