Re: [PATCH] smc911x irq sense request and MPR2 board support
Markus Brunner wrote: Hi, this are the changes to the smc911x driver, which were necessary to get it running on the Magic Panel R2 (smsc9115). It is a SH3-DSP based board. The other patches are available on the linuxsh-dev mailinglist. http://marc.info/?l=linuxsh-devr=1b=200708w=2 It was necessary to set the irq sense to low level. Therefor the SMC_IRQ_SENSE define was added. How are the chances for inclusion in 2.6.24? Signed-off by: Markus Brunner [EMAIL PROTECTED] Signed-off by: Mark Jonas [EMAIL PROTECTED] --- Kconfig |2 +- smc911x.c |2 +- smc911x.h |6 ++ applied - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH] smc911x irq sense request and MPR2 board support
On Sat, Sep 29, 2007 at 01:24:47AM -0400, Jeff Garzik wrote: Markus Brunner wrote: this are the changes to the smc911x driver, which were necessary to get it running on the Magic Panel R2 (smsc9115). It is a SH3-DSP based board. The other patches are available on the linuxsh-dev mailinglist. http://marc.info/?l=linuxsh-devr=1b=200708w=2 It was necessary to set the irq sense to low level. Therefor the SMC_IRQ_SENSE define was added. How are the chances for inclusion in 2.6.24? Signed-off by: Markus Brunner [EMAIL PROTECTED] Signed-off by: Mark Jonas [EMAIL PROTECTED] does the SuperH maintainer ACK this? Yes, this looks fine. Acked-by: Paul Mundt [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH] smc911x irq sense request and MPR2 board support
Markus Brunner wrote: Hi, this are the changes to the smc911x driver, which were necessary to get it running on the Magic Panel R2 (smsc9115). It is a SH3-DSP based board. The other patches are available on the linuxsh-dev mailinglist. http://marc.info/?l=linuxsh-devr=1b=200708w=2 It was necessary to set the irq sense to low level. Therefor the SMC_IRQ_SENSE define was added. How are the chances for inclusion in 2.6.24? Signed-off by: Markus Brunner [EMAIL PROTECTED] Signed-off by: Mark Jonas [EMAIL PROTECTED] --- Kconfig |2 +- smc911x.c |2 +- smc911x.h |6 ++ 3 files changed, 8 insertions(+), 2 deletions(-) --- sh-2.6-intc/drivers/net/Kconfig 2007-08-02 07:05:16.0 +0200 +++ sh-2.6/drivers/net/Kconfig 2007-08-03 09:46:20.0 +0200 @@ -944,7 +944,7 @@ config SMC911X tristate SMSC LAN911[5678] support select CRC32 select MII - depends on ARCH_PXA + depends on ARCH_PXA || SUPERH help This is a driver for SMSC's LAN911x series of Ethernet chipsets including the new LAN9115, LAN9116, LAN9117, and LAN9118. --- sh-2.6-intc/drivers/net/smc911x.c 2007-07-04 21:46:34.0 +0200 +++ sh-2.6/drivers/net/smc911x.c2007-08-14 10:43:16.0 +0200 @@ -2084,7 +2084,7 @@ static int __init smc911x_probe(struct n /* Grab the IRQ */ retval = request_irq(dev-irq, smc911x_interrupt, - IRQF_SHARED | IRQF_TRIGGER_FALLING, dev-name, dev); + IRQF_SHARED | SMC_IRQ_SENSE, dev-name, dev); if (retval) goto err_out; --- sh-2.6-intc/drivers/net/smc911x.h 2007-07-04 21:46:34.0 +0200 +++ sh-2.6/drivers/net/smc911x.h2007-08-10 13:16:34.0 +0200 @@ -36,6 +36,12 @@ #define SMC_USE_PXA_DMA 1 #define SMC_USE_16BIT0 #define SMC_USE_32BIT1 + #define SMC_IRQ_SENSE IRQF_TRIGGER_FALLING +#elif CONFIG_SH_MAGIC_PANEL_R2 + #define SMC_USE_SH_DMA 0 + #define SMC_USE_16BIT0 + #define SMC_USE_32BIT1 + #define SMC_IRQ_SENSE IRQF_TRIGGER_LOW #endif does the SuperH maintainer ACK this? - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
[PATCH] smc911x irq sense request and MPR2 board support
Hi, this are the changes to the smc911x driver, which were necessary to get it running on the Magic Panel R2 (smsc9115). It is a SH3-DSP based board. The other patches are available on the linuxsh-dev mailinglist. http://marc.info/?l=linuxsh-devr=1b=200708w=2 It was necessary to set the irq sense to low level. Therefor the SMC_IRQ_SENSE define was added. How are the chances for inclusion in 2.6.24? Signed-off by: Markus Brunner [EMAIL PROTECTED] Signed-off by: Mark Jonas [EMAIL PROTECTED] --- Kconfig |2 +- smc911x.c |2 +- smc911x.h |6 ++ 3 files changed, 8 insertions(+), 2 deletions(-) --- sh-2.6-intc/drivers/net/Kconfig 2007-08-02 07:05:16.0 +0200 +++ sh-2.6/drivers/net/Kconfig 2007-08-03 09:46:20.0 +0200 @@ -944,7 +944,7 @@ config SMC911X tristate SMSC LAN911[5678] support select CRC32 select MII - depends on ARCH_PXA + depends on ARCH_PXA || SUPERH help This is a driver for SMSC's LAN911x series of Ethernet chipsets including the new LAN9115, LAN9116, LAN9117, and LAN9118. --- sh-2.6-intc/drivers/net/smc911x.c 2007-07-04 21:46:34.0 +0200 +++ sh-2.6/drivers/net/smc911x.c2007-08-14 10:43:16.0 +0200 @@ -2084,7 +2084,7 @@ static int __init smc911x_probe(struct n /* Grab the IRQ */ retval = request_irq(dev-irq, smc911x_interrupt, - IRQF_SHARED | IRQF_TRIGGER_FALLING, dev-name, dev); + IRQF_SHARED | SMC_IRQ_SENSE, dev-name, dev); if (retval) goto err_out; --- sh-2.6-intc/drivers/net/smc911x.h 2007-07-04 21:46:34.0 +0200 +++ sh-2.6/drivers/net/smc911x.h2007-08-10 13:16:34.0 +0200 @@ -36,6 +36,12 @@ #define SMC_USE_PXA_DMA 1 #define SMC_USE_16BIT0 #define SMC_USE_32BIT1 + #define SMC_IRQ_SENSE IRQF_TRIGGER_FALLING +#elif CONFIG_SH_MAGIC_PANEL_R2 + #define SMC_USE_SH_DMA 0 + #define SMC_USE_16BIT0 + #define SMC_USE_32BIT1 + #define SMC_IRQ_SENSE IRQF_TRIGGER_LOW #endif - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html