netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] cs89x0: add support for i.MX31ADS ARM board
@ 2008-08-09 17:13 Gilles Chanteperdrix
  2008-09-14  0:29 ` Jeff Garzik
  0 siblings, 1 reply; 8+ messages in thread
From: Gilles Chanteperdrix @ 2008-08-09 17:13 UTC (permalink / raw)
  To: netdev

Signed-off-by: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
---
diff --git a/drivers/net/cs89x0.c b/drivers/net/cs89x0.c
index ea6144a..875a43d 100644
--- a/drivers/net/cs89x0.c
+++ b/drivers/net/cs89x0.c
@@ -194,6 +194,12 @@ static unsigned int cs8900_irq_map[] = {IRQ_IXDP2X01_CS8900, 0, 0, 0};
 #define CIRRUS_DEFAULT_IRQ	VH_INTC_INT_NUM_CASCADED_INTERRUPT_1 /* Event inputs bank 1 - ID 35/bit 3 */
 static unsigned int netcard_portlist[] __used __initdata = {CIRRUS_DEFAULT_BASE, 0};
 static unsigned int cs8900_irq_map[] = {CIRRUS_DEFAULT_IRQ, 0, 0, 0};
+#elif defined(CONFIG_MACH_MX31ADS)
+#include <mach/board-mx31ads.h>
+static unsigned int netcard_portlist[] __used __initdata = {
+	PBC_BASE_ADDRESS + PBC_CS8900A_IOBASE + 0x300, 0
+};
+static unsigned cs8900_irq_map[] = {EXPIO_INT_ENET_INT, 0, 0, 0};
 #else
 static unsigned int netcard_portlist[] __used __initdata =
    { 0x300, 0x320, 0x340, 0x360, 0x200, 0x220, 0x240, 0x260, 0x280, 0x2a0, 0x2c0, 0x2e0, 0};
@@ -802,7 +808,7 @@ cs89x0_probe1(struct net_device *dev, int ioaddr, int modular)
 	} else {
 		i = lp->isa_config & INT_NO_MASK;
 		if (lp->chip_type == CS8900) {
-#if defined(CONFIG_MACH_IXDP2351) || defined(CONFIG_ARCH_IXDP2X01) || defined(CONFIG_ARCH_PNX010X)
+#if defined(CONFIG_MACH_IXDP2351) || defined(CONFIG_ARCH_IXDP2X01) || defined(CONFIG_ARCH_PNX010X) || defined(CONFIG_MACH_MX31ADS)
 		        i = cs8900_irq_map[0];
 #else
 			/* Translate the IRQ using the IRQ mapping table. */
@@ -1029,6 +1035,7 @@ skip_this_frame:
 
 void  __init reset_chip(struct net_device *dev)
 {
+#if !defined(CONFIG_MACH_MX31ADS)
 #if !defined(CONFIG_MACH_IXDP2351) && !defined(CONFIG_ARCH_IXDP2X01)
 	struct net_local *lp = netdev_priv(dev);
 	int ioaddr = dev->base_addr;
@@ -1057,6 +1064,7 @@ void  __init reset_chip(struct net_device *dev)
 	reset_start_time = jiffies;
 	while( (readreg(dev, PP_SelfST) & INIT_DONE) == 0 && jiffies - reset_start_time < 2)
 		;
+#endif /* !CONFIG_MACH_MX31ADS */
 }
 
 
@@ -1304,7 +1312,7 @@ net_open(struct net_device *dev)
 	else
 #endif
 	{
-#if !defined(CONFIG_MACH_IXDP2351) && !defined(CONFIG_ARCH_IXDP2X01) && !defined(CONFIG_ARCH_PNX010X)
+#if !defined(CONFIG_MACH_IXDP2351) && !defined(CONFIG_ARCH_IXDP2X01) && !defined(CONFIG_ARCH_PNX010X) && !defined(CONFIG_MACH_MX31ADS)
 		if (((1 << dev->irq) & lp->irq_map) == 0) {
 			printk(KERN_ERR "%s: IRQ %d is not in our map of allowable IRQs, which is %x\n",
                                dev->name, dev->irq, lp->irq_map);


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH] cs89x0: add support for i.MX31ADS ARM board
  2008-08-09 17:13 [PATCH] cs89x0: add support for i.MX31ADS ARM board Gilles Chanteperdrix
@ 2008-09-14  0:29 ` Jeff Garzik
  2008-09-14 12:03   ` Lennert Buytenhek
  0 siblings, 1 reply; 8+ messages in thread
From: Jeff Garzik @ 2008-09-14  0:29 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: netdev, Russell King, Lennert Buytenhek

Gilles Chanteperdrix wrote:
> Signed-off-by: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
> ---
> diff --git a/drivers/net/cs89x0.c b/drivers/net/cs89x0.c
> index ea6144a..875a43d 100644
> --- a/drivers/net/cs89x0.c
> +++ b/drivers/net/cs89x0.c
> @@ -194,6 +194,12 @@ static unsigned int cs8900_irq_map[] = {IRQ_IXDP2X01_CS8900, 0, 0, 0};
>  #define CIRRUS_DEFAULT_IRQ	VH_INTC_INT_NUM_CASCADED_INTERRUPT_1 /* Event inputs bank 1 - ID 35/bit 3 */
>  static unsigned int netcard_portlist[] __used __initdata = {CIRRUS_DEFAULT_BASE, 0};
>  static unsigned int cs8900_irq_map[] = {CIRRUS_DEFAULT_IRQ, 0, 0, 0};
> +#elif defined(CONFIG_MACH_MX31ADS)
> +#include <mach/board-mx31ads.h>
> +static unsigned int netcard_portlist[] __used __initdata = {
> +	PBC_BASE_ADDRESS + PBC_CS8900A_IOBASE + 0x300, 0
> +};
> +static unsigned cs8900_irq_map[] = {EXPIO_INT_ENET_INT, 0, 0, 0};
>  #else
>  static unsigned int netcard_portlist[] __used __initdata =
>     { 0x300, 0x320, 0x340, 0x360, 0x200, 0x220, 0x240, 0x260, 0x280, 0x2a0, 0x2c0, 0x2e0, 0};
> @@ -802,7 +808,7 @@ cs89x0_probe1(struct net_device *dev, int ioaddr, int modular)
>  	} else {
>  		i = lp->isa_config & INT_NO_MASK;
>  		if (lp->chip_type == CS8900) {
> -#if defined(CONFIG_MACH_IXDP2351) || defined(CONFIG_ARCH_IXDP2X01) || defined(CONFIG_ARCH_PNX010X)
> +#if defined(CONFIG_MACH_IXDP2351) || defined(CONFIG_ARCH_IXDP2X01) || defined(CONFIG_ARCH_PNX010X) || defined(CONFIG_MACH_MX31ADS)
>  		        i = cs8900_irq_map[0];
>  #else
>  			/* Translate the IRQ using the IRQ mapping table. */
> @@ -1029,6 +1035,7 @@ skip_this_frame:
>  
>  void  __init reset_chip(struct net_device *dev)
>  {
> +#if !defined(CONFIG_MACH_MX31ADS)
>  #if !defined(CONFIG_MACH_IXDP2351) && !defined(CONFIG_ARCH_IXDP2X01)
>  	struct net_local *lp = netdev_priv(dev);
>  	int ioaddr = dev->base_addr;
> @@ -1057,6 +1064,7 @@ void  __init reset_chip(struct net_device *dev)
>  	reset_start_time = jiffies;
>  	while( (readreg(dev, PP_SelfST) & INIT_DONE) == 0 && jiffies - reset_start_time < 2)
>  		;
> +#endif /* !CONFIG_MACH_MX31ADS */
>  }
>  
>  
> @@ -1304,7 +1312,7 @@ net_open(struct net_device *dev)
>  	else
>  #endif
>  	{
> -#if !defined(CONFIG_MACH_IXDP2351) && !defined(CONFIG_ARCH_IXDP2X01) && !defined(CONFIG_ARCH_PNX010X)
> +#if !defined(CONFIG_MACH_IXDP2351) && !defined(CONFIG_ARCH_IXDP2X01) && !defined(CONFIG_ARCH_PNX010X) && !defined(CONFIG_MACH_MX31ADS)
>  		if (((1 << dev->irq) & lp->irq_map) == 0) {
>  			printk(KERN_ERR "%s: IRQ %d is not in our map of allowable IRQs, which is %x\n",

I don't know enough about the arch to be able to ACK or NAK...  pass 
this through the appropriate arch maintainer tree please?


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] cs89x0: add support for i.MX31ADS ARM board
  2008-09-14  0:29 ` Jeff Garzik
@ 2008-09-14 12:03   ` Lennert Buytenhek
  2008-09-14 14:13     ` Gilles Chanteperdrix
  0 siblings, 1 reply; 8+ messages in thread
From: Lennert Buytenhek @ 2008-09-14 12:03 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: Gilles Chanteperdrix, netdev, Russell King

On Sat, Sep 13, 2008 at 08:29:55PM -0400, Jeff Garzik wrote:

> >Signed-off-by: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
> >---
> >diff --git a/drivers/net/cs89x0.c b/drivers/net/cs89x0.c
> >index ea6144a..875a43d 100644
> >--- a/drivers/net/cs89x0.c
> >+++ b/drivers/net/cs89x0.c
> >@@ -194,6 +194,12 @@ static unsigned int cs8900_irq_map[] = 
> >{IRQ_IXDP2X01_CS8900, 0, 0, 0};
> > #define CIRRUS_DEFAULT_IRQ	VH_INTC_INT_NUM_CASCADED_INTERRUPT_1 /* 
> > Event inputs bank 1 - ID 35/bit 3 */
> > static unsigned int netcard_portlist[] __used __initdata = 
> > {CIRRUS_DEFAULT_BASE, 0};
> > static unsigned int cs8900_irq_map[] = {CIRRUS_DEFAULT_IRQ, 0, 0, 0};
> >+#elif defined(CONFIG_MACH_MX31ADS)
> >+#include <mach/board-mx31ads.h>
> >+static unsigned int netcard_portlist[] __used __initdata = {
> >+	PBC_BASE_ADDRESS + PBC_CS8900A_IOBASE + 0x300, 0
> >+};
> >+static unsigned cs8900_irq_map[] = {EXPIO_INT_ENET_INT, 0, 0, 0};
> > #else
> > static unsigned int netcard_portlist[] __used __initdata =
> >    { 0x300, 0x320, 0x340, 0x360, 0x200, 0x220, 0x240, 0x260, 0x280, 
> >    0x2a0, 0x2c0, 0x2e0, 0};
> >@@ -802,7 +808,7 @@ cs89x0_probe1(struct net_device *dev, int ioaddr, int 
> >modular)
> > 	} else {
> > 		i = lp->isa_config & INT_NO_MASK;
> > 		if (lp->chip_type == CS8900) {
> >-#if defined(CONFIG_MACH_IXDP2351) || defined(CONFIG_ARCH_IXDP2X01) || 
> >defined(CONFIG_ARCH_PNX010X)
> >+#if defined(CONFIG_MACH_IXDP2351) || defined(CONFIG_ARCH_IXDP2X01) || 
> >defined(CONFIG_ARCH_PNX010X) || defined(CONFIG_MACH_MX31ADS)
> > 		        i = cs8900_irq_map[0];
> > #else
> > 			/* Translate the IRQ using the IRQ mapping table. */
> >@@ -1029,6 +1035,7 @@ skip_this_frame:
> > 
> > void  __init reset_chip(struct net_device *dev)
> > {
> >+#if !defined(CONFIG_MACH_MX31ADS)
> > #if !defined(CONFIG_MACH_IXDP2351) && !defined(CONFIG_ARCH_IXDP2X01)
> > 	struct net_local *lp = netdev_priv(dev);
> > 	int ioaddr = dev->base_addr;
> >@@ -1057,6 +1064,7 @@ void  __init reset_chip(struct net_device *dev)
> > 	reset_start_time = jiffies;
> > 	while( (readreg(dev, PP_SelfST) & INIT_DONE) == 0 && jiffies - 
> > 	reset_start_time < 2)
> > 		;
> >+#endif /* !CONFIG_MACH_MX31ADS */
> > }
> > 
> > 
> >@@ -1304,7 +1312,7 @@ net_open(struct net_device *dev)
> > 	else
> > #endif
> > 	{
> >-#if !defined(CONFIG_MACH_IXDP2351) && !defined(CONFIG_ARCH_IXDP2X01) && 
> >!defined(CONFIG_ARCH_PNX010X)
> >+#if !defined(CONFIG_MACH_IXDP2351) && !defined(CONFIG_ARCH_IXDP2X01) && 
> >!defined(CONFIG_ARCH_PNX010X) && !defined(CONFIG_MACH_MX31ADS)
> > 		if (((1 << dev->irq) & lp->irq_map) == 0) {
> > 			printk(KERN_ERR "%s: IRQ %d is not in our map of 
> > 			allowable IRQs, which is %x\n",
> 
> I don't know enough about the arch to be able to ACK or NAK...  pass 
> this through the appropriate arch maintainer tree please?

I don't have the original patch in my netdev box anymore, but what
seems to me should be done is to add a platform driver interface to
the cs89x0 driver, like how most other non-PCI non-other-autoconf-
supporting-bus net drivers do it.  (There aren't too many -- grep
for platform_driver_register in drivers/net/*)

Then the knowledge about I/O addresses and IRQ lines can live in the
platform code (where it belongs) instead of having it all in the driver
(where it doesn't belong).  And all the IXDP2351 and IXDP2X01 ifdefs
can disappear as well.  And the ->readword()/->writeword() hacks that
need to be done for IXDP2351 and IXDP2X01 and PNX can then just be an
(optional) set of platform data methods, with a fallback to the default
one if they aren't passed in.

The question is whether someone wants to step up and do that work.
cs89x0 has seen a lot of drive-by patching by people looking to satisfy
their needs, but noone has stepped up to give it the proper love and
care that it deserves.

Gilles, are you willing to do the platform driver conversion?  If not,
then I guess we should just merge this patch as-is (after you explain
why you need to stub out reset_chip() on your board, as no other board
seems to need this?).

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] cs89x0: add support for i.MX31ADS ARM board
  2008-09-14 12:03   ` Lennert Buytenhek
@ 2008-09-14 14:13     ` Gilles Chanteperdrix
  2008-09-16 12:44       ` Lennert Buytenhek
  0 siblings, 1 reply; 8+ messages in thread
From: Gilles Chanteperdrix @ 2008-09-14 14:13 UTC (permalink / raw)
  To: Lennert Buytenhek; +Cc: Jeff Garzik, netdev, Russell King

Lennert Buytenhek wrote:
> I don't have the original patch in my netdev box anymore, but what
> seems to me should be done is to add a platform driver interface to
> the cs89x0 driver, like how most other non-PCI non-other-autoconf-
> supporting-bus net drivers do it.  (There aren't too many -- grep
> for platform_driver_register in drivers/net/*)
> 
> Then the knowledge about I/O addresses and IRQ lines can live in the
> platform code (where it belongs) instead of having it all in the driver
> (where it doesn't belong).  And all the IXDP2351 and IXDP2X01 ifdefs
> can disappear as well.  And the ->readword()/->writeword() hacks that
> need to be done for IXDP2351 and IXDP2X01 and PNX can then just be an
> (optional) set of platform data methods, with a fallback to the default
> one if they aren't passed in.
> 
> The question is whether someone wants to step up and do that work.
> cs89x0 has seen a lot of drive-by patching by people looking to satisfy
> their needs, but noone has stepped up to give it the proper love and
> care that it deserves.
> 
> Gilles, are you willing to do the platform driver conversion?  If not,
> then I guess we should just merge this patch as-is (after you explain
> why you need to stub out reset_chip() on your board, as no other board
> seems to need this?).

Hi Lennert,

When I published this patch, I had access to an i.MX31ADS board, and
getting Linux to work on this board was just a necessity to get my job
done. I did this by copying the parts I needed working (the serial
console and ethernet driver) from the Freescale tree.

Now, I am no longer working on this, so I can not test any modification.
And I do not even know why people at Freescale did what they did.

All I can tell you is that an i.MX31ADS board works when using this patch.

Regards.

-- 
					    Gilles.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] cs89x0: add support for i.MX31ADS ARM board
  2008-09-14 14:13     ` Gilles Chanteperdrix
@ 2008-09-16 12:44       ` Lennert Buytenhek
  2008-09-16 12:47         ` Gilles Chanteperdrix
  0 siblings, 1 reply; 8+ messages in thread
From: Lennert Buytenhek @ 2008-09-16 12:44 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: Jeff Garzik, netdev, Russell King

On Sun, Sep 14, 2008 at 04:13:45PM +0200, Gilles Chanteperdrix wrote:

> > I don't have the original patch in my netdev box anymore, but what
> > seems to me should be done is to add a platform driver interface to
> > the cs89x0 driver, like how most other non-PCI non-other-autoconf-
> > supporting-bus net drivers do it.  (There aren't too many -- grep
> > for platform_driver_register in drivers/net/*)
> > 
> > Then the knowledge about I/O addresses and IRQ lines can live in the
> > platform code (where it belongs) instead of having it all in the driver
> > (where it doesn't belong).  And all the IXDP2351 and IXDP2X01 ifdefs
> > can disappear as well.  And the ->readword()/->writeword() hacks that
> > need to be done for IXDP2351 and IXDP2X01 and PNX can then just be an
> > (optional) set of platform data methods, with a fallback to the default
> > one if they aren't passed in.
> > 
> > The question is whether someone wants to step up and do that work.
> > cs89x0 has seen a lot of drive-by patching by people looking to satisfy
> > their needs, but noone has stepped up to give it the proper love and
> > care that it deserves.
> > 
> > Gilles, are you willing to do the platform driver conversion?  If not,
> > then I guess we should just merge this patch as-is (after you explain
> > why you need to stub out reset_chip() on your board, as no other board
> > seems to need this?).
> 
> Hi Lennert,
> 
> When I published this patch, I had access to an i.MX31ADS board, and
> getting Linux to work on this board was just a necessity to get my job
> done. I did this by copying the parts I needed working (the serial
> console and ethernet driver) from the Freescale tree.
> 
> Now, I am no longer working on this, so I can not test any modification.
> And I do not even know why people at Freescale did what they did.

I guess then we should just wait until the Freescale people submit it.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] cs89x0: add support for i.MX31ADS ARM board
  2008-09-16 12:44       ` Lennert Buytenhek
@ 2008-09-16 12:47         ` Gilles Chanteperdrix
  2008-09-16 12:52           ` Lennert Buytenhek
  0 siblings, 1 reply; 8+ messages in thread
From: Gilles Chanteperdrix @ 2008-09-16 12:47 UTC (permalink / raw)
  To: Lennert Buytenhek; +Cc: Jeff Garzik, netdev, Russell King

Lennert Buytenhek wrote:
> On Sun, Sep 14, 2008 at 04:13:45PM +0200, Gilles Chanteperdrix wrote:
> 
>>> I don't have the original patch in my netdev box anymore, but what
>>> seems to me should be done is to add a platform driver interface to
>>> the cs89x0 driver, like how most other non-PCI non-other-autoconf-
>>> supporting-bus net drivers do it.  (There aren't too many -- grep
>>> for platform_driver_register in drivers/net/*)
>>>
>>> Then the knowledge about I/O addresses and IRQ lines can live in the
>>> platform code (where it belongs) instead of having it all in the driver
>>> (where it doesn't belong).  And all the IXDP2351 and IXDP2X01 ifdefs
>>> can disappear as well.  And the ->readword()/->writeword() hacks that
>>> need to be done for IXDP2351 and IXDP2X01 and PNX can then just be an
>>> (optional) set of platform data methods, with a fallback to the default
>>> one if they aren't passed in.
>>>
>>> The question is whether someone wants to step up and do that work.
>>> cs89x0 has seen a lot of drive-by patching by people looking to satisfy
>>> their needs, but noone has stepped up to give it the proper love and
>>> care that it deserves.
>>>
>>> Gilles, are you willing to do the platform driver conversion?  If not,
>>> then I guess we should just merge this patch as-is (after you explain
>>> why you need to stub out reset_chip() on your board, as no other board
>>> seems to need this?).
>> Hi Lennert,
>>
>> When I published this patch, I had access to an i.MX31ADS board, and
>> getting Linux to work on this board was just a necessity to get my job
>> done. I did this by copying the parts I needed working (the serial
>> console and ethernet driver) from the Freescale tree.
>>
>> Now, I am no longer working on this, so I can not test any modification.
>> And I do not even know why people at Freescale did what they did.
> 
> I guess then we should just wait until the Freescale people submit it.

I will be able to test the modification soon. I will repost the patch on
linux-arm-kernel after this test.

-- 
                                                 Gilles.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] cs89x0: add support for i.MX31ADS ARM board
  2008-09-16 12:47         ` Gilles Chanteperdrix
@ 2008-09-16 12:52           ` Lennert Buytenhek
  2008-09-16 12:54             ` Gilles Chanteperdrix
  0 siblings, 1 reply; 8+ messages in thread
From: Lennert Buytenhek @ 2008-09-16 12:52 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: Jeff Garzik, netdev, Russell King

On Tue, Sep 16, 2008 at 02:47:33PM +0200, Gilles Chanteperdrix wrote:

> >>> I don't have the original patch in my netdev box anymore, but what
> >>> seems to me should be done is to add a platform driver interface to
> >>> the cs89x0 driver, like how most other non-PCI non-other-autoconf-
> >>> supporting-bus net drivers do it.  (There aren't too many -- grep
> >>> for platform_driver_register in drivers/net/*)
> >>>
> >>> Then the knowledge about I/O addresses and IRQ lines can live in the
> >>> platform code (where it belongs) instead of having it all in the driver
> >>> (where it doesn't belong).  And all the IXDP2351 and IXDP2X01 ifdefs
> >>> can disappear as well.  And the ->readword()/->writeword() hacks that
> >>> need to be done for IXDP2351 and IXDP2X01 and PNX can then just be an
> >>> (optional) set of platform data methods, with a fallback to the default
> >>> one if they aren't passed in.
> >>>
> >>> The question is whether someone wants to step up and do that work.
> >>> cs89x0 has seen a lot of drive-by patching by people looking to satisfy
> >>> their needs, but noone has stepped up to give it the proper love and
> >>> care that it deserves.
> >>>
> >>> Gilles, are you willing to do the platform driver conversion?  If not,
> >>> then I guess we should just merge this patch as-is (after you explain
> >>> why you need to stub out reset_chip() on your board, as no other board
> >>> seems to need this?).
> >> Hi Lennert,
> >>
> >> When I published this patch, I had access to an i.MX31ADS board, and
> >> getting Linux to work on this board was just a necessity to get my job
> >> done. I did this by copying the parts I needed working (the serial
> >> console and ethernet driver) from the Freescale tree.
> >>
> >> Now, I am no longer working on this, so I can not test any modification.
> >> And I do not even know why people at Freescale did what they did.
> > 
> > I guess then we should just wait until the Freescale people submit it.
> 
> I will be able to test the modification soon. I will repost the patch on
> linux-arm-kernel after this test.

OK.  Please also try leaving reset_chip() as it is and see if it still
works like that -- I suspect that that part of the patch might have been
a debug leftover.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] cs89x0: add support for i.MX31ADS ARM board
  2008-09-16 12:52           ` Lennert Buytenhek
@ 2008-09-16 12:54             ` Gilles Chanteperdrix
  0 siblings, 0 replies; 8+ messages in thread
From: Gilles Chanteperdrix @ 2008-09-16 12:54 UTC (permalink / raw)
  To: Lennert Buytenhek; +Cc: Jeff Garzik, netdev, Russell King

Lennert Buytenhek wrote:
>>>> Hi Lennert,
>>>>
>>>> When I published this patch, I had access to an i.MX31ADS board, and
>>>> getting Linux to work on this board was just a necessity to get my job
>>>> done. I did this by copying the parts I needed working (the serial
>>>> console and ethernet driver) from the Freescale tree.
>>>>
>>>> Now, I am no longer working on this, so I can not test any modification.
>>>> And I do not even know why people at Freescale did what they did.
>>> I guess then we should just wait until the Freescale people submit it.
>> I will be able to test the modification soon. I will repost the patch on
>> linux-arm-kernel after this test.
> 
> OK.  Please also try leaving reset_chip() as it is and see if it still
> works like that -- I suspect that that part of the patch might have been
> a debug leftover.

Yes, that is precisely the part I want to test.

-- 
                                                 Gilles.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-09-16 12:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-09 17:13 [PATCH] cs89x0: add support for i.MX31ADS ARM board Gilles Chanteperdrix
2008-09-14  0:29 ` Jeff Garzik
2008-09-14 12:03   ` Lennert Buytenhek
2008-09-14 14:13     ` Gilles Chanteperdrix
2008-09-16 12:44       ` Lennert Buytenhek
2008-09-16 12:47         ` Gilles Chanteperdrix
2008-09-16 12:52           ` Lennert Buytenhek
2008-09-16 12:54             ` Gilles Chanteperdrix

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).