On Thu, Mar 14, 2013 at 07:08:34PM +0100, Florian Fainelli wrote:
> + if (dev->err_interrupt == NO_IRQ) {
...
> + init_waitqueue_head(>smi_busy_wait);
> +
> + dev->err_interrupt = platform_get_irq(pdev, 0);
> + if (dev->err_interrupt != -ENXIO) {
...
> + } else
> +
On Thu, Mar 14, 2013 at 07:08:34PM +0100, Florian Fainelli wrote:
+ if (dev-err_interrupt == NO_IRQ) {
...
+ init_waitqueue_head(dev-smi_busy_wait);
+
+ dev-err_interrupt = platform_get_irq(pdev, 0);
+ if (dev-err_interrupt != -ENXIO) {
...
+ } else
+
This patch enhances the "mvmdio" to support a SMI error/done interrupt
line which can be used along with a wait queue instead of doing
busy-waiting on the registers. This is a feature which is available in
the mv643xx_eth SMI code and thus reduces again the gap between the two.
Signed-off-by:
This patch enhances the mvmdio to support a SMI error/done interrupt
line which can be used along with a wait queue instead of doing
busy-waiting on the registers. This is a feature which is available in
the mv643xx_eth SMI code and thus reduces again the gap between the two.
Signed-off-by:
4 matches
Mail list logo