Re: [OpenWrt-Devel] [PATCH] Kernel patch in trunk (version 21251) to support Netgear WNR3500L

2010-05-26 Thread Tathagata Das
I have already submitted one separate patch for sflash. Below is the link of the same. http://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg05976.html Regards, Tathagata Per Åstrand wrote: On 2010-05-26 12:10 AM, Per ?strand wrote: Hi! I've updated the patch for wnr3500l to bu

Re: [OpenWrt-Devel] [PATCH] Kernel patch in trunk (version 21251) to support Netgear WNR3500L

2010-05-26 Thread Per Åstrand
>On 2010-05-26 12:10 AM, Per ?strand wrote: >> Hi! >> >> I've updated the patch for wnr3500l to build against @21567. >> I don't have access to the router for a couple of more days, so it's >> untested so far. >Please remove all #ifdef CONFIG_WNR3500L >It makes the code harder to read and it's not

Re: [OpenWrt-Devel] [PATCH] Kernel patch in trunk (version 21251) to support Netgear WNR3500L

2010-05-25 Thread Felix Fietkau
On 2010-05-26 12:10 AM, Per Åstrand wrote: > Hi! > > I've updated the patch for wnr3500l to build against @21567. > I don't have access to the router for a couple of more days, so it's > untested so far. Please remove all #ifdef CONFIG_WNR3500L It makes the code harder to read and it's not accepta

Re: [OpenWrt-Devel] [PATCH] Kernel patch in trunk (version 21251) to support Netgear WNR3500L

2010-05-20 Thread Tathagata Das
Fine, I will clean up this serial flash driver as much as possible and submit it again. Regards, Tathagata Bernhard Loos wrote: Your patch contains a driver for the serial flash chip on the wnr3500l, but it's kinda ugly (excessive ioremaps, duplicated defines, global statics, ...). If you coul

Re: [OpenWrt-Devel] [PATCH] Kernel patch in trunk (version 21251) to support Netgear WNR3500L

2010-05-20 Thread Bernhard Loos
Your patch contains a driver for the serial flash chip on the wnr3500l, but it's kinda ugly (excessive ioremaps, duplicated defines, global statics, ...). If you could clean this up, it would have a chance of getting accepted. Bernhard 2010/5/20 Tathagata Das : > What do you mean to s

Re: [OpenWrt-Devel] [PATCH] Kernel patch in trunk (version 21251) to support Netgear WNR3500L

2010-05-20 Thread Tathagata Das
What do you mean to say "clean up the flash driver you have" ? Regards, Tathagata Bernhard Loos wrote: 2010/5/17 Tathagata Das : Okay, so I will start working on those drivers (serial and wired). Does current version of OpenWRT trunk supports WNR3500L ? Otherwise I need to download latest

Re: [OpenWrt-Devel] [PATCH] Kernel patch in trunk (version 21251) to support Netgear WNR3500L

2010-05-19 Thread Bernhard Loos
2010/5/17 Tathagata Das : > Okay, so I will start working on those drivers (serial and wired). Does > current version of OpenWRT trunk supports WNR3500L ? Otherwise I need to > download latest trunk, modify it to run on WNR3500L and then concentrate on > drivers. I doesn't but the difference from

Re: [OpenWrt-Devel] [PATCH] Kernel patch in trunk (version 21251) to support Netgear WNR3500L

2010-05-17 Thread Tathagata Das
Okay, so I will start working on those drivers (serial and wired). Does current version of OpenWRT trunk supports WNR3500L ? Otherwise I need to download latest trunk, modify it to run on WNR3500L and then concentrate on drivers. If you elaborate the idea of spi master driver then it would help

Re: [OpenWrt-Devel] [PATCH] Kernel patch in trunk (version 21251) to support Netgear WNR3500L

2010-05-17 Thread Bernhard Loos
2010/5/17 Tathagata Das : > Hi, > I have used source code of version 21251. It might be possible that some > fixes has been made after that version which is not reflected in my code. So > if I use latest code then that issue will be resolved. The bugs are in the patch, not in the code already in o

Re: [OpenWrt-Devel] [PATCH] Kernel patch in trunk (version 21251) to support Netgear WNR3500L

2010-05-16 Thread Tathagata Das
Hi, I have not done anything specific to 3300. Regards, Tathagata Weedy wrote: On Fri, May 14, 2010 at 4:22 AM, Tathagata Das wrote: Hi, Attached is the kernel patch to support Netgear WNR3500L. All changes are made under CONFIG_WNR3500L. I have used trunk source code of version number 212

Re: [OpenWrt-Devel] [PATCH] Kernel patch in trunk (version 21251) to support Netgear WNR3500L

2010-05-15 Thread Weedy
On Fri, May 14, 2010 at 4:22 AM, Tathagata Das wrote: > Hi, > Attached is the kernel patch to support Netgear WNR3500L. All changes are > made under CONFIG_WNR3500L. > I have used trunk source code of version number 21251 to create this kernel > patch. > > Regards, > Tathagata Would this cover t

[OpenWrt-Devel] [PATCH] Kernel patch in trunk (version 21251) to support Netgear WNR3500L

2010-05-14 Thread Tathagata Das
Hi, Attached is the kernel patch to support Netgear WNR3500L. All changes are made under CONFIG_WNR3500L. I have used trunk source code of version number 21251 to create this kernel patch. Regards, Tathagata diff -Naur a/arch/mips/bcm47xx/irq.c b/arch/mips/bcm47xx/irq.c --- a/arch/mips/bcm4