* Re: smsc911x in 2.6.29
2008-11-06 11:06 smsc911x in 2.6.29 Steve.Glendinning
@ 2008-11-07 0:57 ` Nobuhiro Iwamatsu
2008-11-14 6:26 ` Nobuhiro Iwamatsu
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Nobuhiro Iwamatsu @ 2008-11-07 0:57 UTC (permalink / raw)
To: linux-sh
Hi, Steve.
2008/11/6 <Steve.Glendinning@smsc.com>:
> Hi all,
>
> I recently posted a patchset on netdev to replace smc911x with a new
> vendor-supported smsc911x driver:
>
> http://marc.info/?l=linux-netdev&m\x122588138425309&w=4
>
> Jeff Garzik has merged the driver itself for net-next (2.6.29).
>
> 3 of the patches convert sh platforms (rsk7203, ap325rxa & magicpanelr2)
> from one driver to the other, but I don't have access to any of these
> platforms to test. Can anyone here help?
>
> Please let me know if anyone wants me to re-send them the whole patchset
> (6 patches).
OK, I will test and report about rsk7203 and ap325rxa.
Thank you for your work!
Best regards,
Nobuhiro
--
Nobuhiro Iwamatsu
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: smsc911x in 2.6.29
2008-11-06 11:06 smsc911x in 2.6.29 Steve.Glendinning
2008-11-07 0:57 ` Nobuhiro Iwamatsu
@ 2008-11-14 6:26 ` Nobuhiro Iwamatsu
2008-11-14 13:34 ` Steve.Glendinning
2008-11-17 7:49 ` Nobuhiro Iwamatsu
3 siblings, 0 replies; 5+ messages in thread
From: Nobuhiro Iwamatsu @ 2008-11-14 6:26 UTC (permalink / raw)
To: linux-sh
Hi, Steve.
I checked your patch on ap325rxa board.
Your patch had compile error. I fixed this.
When fixed this patch, this board work fine.
Rsk7203 has hardware problem. It doesn't yet work.
It may take time.
I will send patch about ap325rxa, magicpanelr2 and rsk7203.
Best regards,
Nobuhiro
Nobuhiro Iwamatsu wrote:
> Hi, Steve.
>
> 2008/11/6 <Steve.Glendinning@smsc.com>:
>> Hi all,
>>
>> I recently posted a patchset on netdev to replace smc911x with a new
>> vendor-supported smsc911x driver:
>>
>> http://marc.info/?l=linux-netdev&m\x122588138425309&w=4
>>
>> Jeff Garzik has merged the driver itself for net-next (2.6.29).
>>
>> 3 of the patches convert sh platforms (rsk7203, ap325rxa & magicpanelr2)
>> from one driver to the other, but I don't have access to any of these
>> platforms to test. Can anyone here help?
>>
>> Please let me know if anyone wants me to re-send them the whole patchset
>> (6 patches).
>
> OK, I will test and report about rsk7203 and ap325rxa.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: smsc911x in 2.6.29
2008-11-06 11:06 smsc911x in 2.6.29 Steve.Glendinning
2008-11-07 0:57 ` Nobuhiro Iwamatsu
2008-11-14 6:26 ` Nobuhiro Iwamatsu
@ 2008-11-14 13:34 ` Steve.Glendinning
2008-11-17 7:49 ` Nobuhiro Iwamatsu
3 siblings, 0 replies; 5+ messages in thread
From: Steve.Glendinning @ 2008-11-14 13:34 UTC (permalink / raw)
To: linux-sh
Hi Nobuhiro,
The second patch in my patchset adds support for dynamic bus
configuration, so the platform config must specify its bus width at
runtime. I'm merging this patch through netdev, it should be queued up
for .29.
You removed this support from the sh platform patches (.phy_interface
member of smsc911x_config):
-static struct smc911x_platdata smc911x_info = {
- .flags = SMC911X_USE_32BIT,
- .irq_flags = IRQF_TRIGGER_LOW,
+static struct smsc911x_platform_config smsc911x_config = {
+ .irq_polarity = SMSC911X_IRQ_POLARITY_ACTIVE_LOW,
+ .irq_type = SMSC911X_IRQ_TYPE_OPEN_DRAIN,
+ .flags = SMSC911X_USE_32BIT,
+ .phy_interface = PHY_INTERFACE_MODE_MII,
};
Can you add this back? With the dynamic bus config patch applied, the
driver will BUG() if neither SMSC911X_USE_32BIT nor SMSC911X_USE_16BIT is
set.
Regards,
--
Steve Glendinning
SMSC GmbH
m: +44 777 933 9124
e: steve.glendinning@smsc.com
Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
Sent by: iwamatsu.nobuhiro@renesas.com
14/11/2008 06:26
To
Steve Glendinning/SMSC@SMSC
cc
Nobuhiro Iwamatsu <iwamatsu@nigauri.org>, linux-sh@vger.kernel.org,
lethal@linux-sh.org, damm@igel.co.jp, shimoda.yoshihiro@renesas.com, Ian
Saturley/SMSC@SMSC
Subject
Re: smsc911x in 2.6.29
Hi, Steve.
I checked your patch on ap325rxa board.
Your patch had compile error. I fixed this.
When fixed this patch, this board work fine.
Rsk7203 has hardware problem. It doesn't yet work.
It may take time.
I will send patch about ap325rxa, magicpanelr2 and rsk7203.
Best regards,
Nobuhiro
Nobuhiro Iwamatsu wrote:
> Hi, Steve.
>
> 2008/11/6 <Steve.Glendinning@smsc.com>:
>> Hi all,
>>
>> I recently posted a patchset on netdev to replace smc911x with a new
>> vendor-supported smsc911x driver:
>>
>> http://marc.info/?l=linux-netdev&m\x122588138425309&w=4
>>
>> Jeff Garzik has merged the driver itself for net-next (2.6.29).
>>
>> 3 of the patches convert sh platforms (rsk7203, ap325rxa &
magicpanelr2)
>> from one driver to the other, but I don't have access to any of these
>> platforms to test. Can anyone here help?
>>
>> Please let me know if anyone wants me to re-send them the whole
patchset
>> (6 patches).
>
> OK, I will test and report about rsk7203 and ap325rxa.
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: smsc911x in 2.6.29
2008-11-06 11:06 smsc911x in 2.6.29 Steve.Glendinning
` (2 preceding siblings ...)
2008-11-14 13:34 ` Steve.Glendinning
@ 2008-11-17 7:49 ` Nobuhiro Iwamatsu
3 siblings, 0 replies; 5+ messages in thread
From: Nobuhiro Iwamatsu @ 2008-11-17 7:49 UTC (permalink / raw)
To: linux-sh
Hi, Steve.
Steve.Glendinning@smsc.com wrote:
> Hi Nobuhiro,
>
> The second patch in my patchset adds support for dynamic bus
> configuration, so the platform config must specify its bus width at
> runtime. I'm merging this patch through netdev, it should be queued up
> for .29.
Oh, sorry.
>
> You removed this support from the sh platform patches (.phy_interface
> member of smsc911x_config):
>
> -static struct smc911x_platdata smc911x_info = {
> - .flags = SMC911X_USE_32BIT,
> - .irq_flags = IRQF_TRIGGER_LOW,
> +static struct smsc911x_platform_config smsc911x_config = {
> + .irq_polarity = SMSC911X_IRQ_POLARITY_ACTIVE_LOW,
> + .irq_type = SMSC911X_IRQ_TYPE_OPEN_DRAIN,
> + .flags = SMSC911X_USE_32BIT,
> + .phy_interface = PHY_INTERFACE_MODE_MII,
> };
>
> Can you add this back? With the dynamic bus config patch applied, the
> driver will BUG() if neither SMSC911X_USE_32BIT nor SMSC911X_USE_16BIT is
> set.
Ok, I will check it.
Best regards,
Nobuhiro
^ permalink raw reply [flat|nested] 5+ messages in thread