Re: [OpenWrt-Devel] [PATCH][lantiq] Fixes to athxk EEPROM loading

2013-06-04 Thread Daniel Gimpelevich
On Tue, 2013-06-04 at 13:39 +0200, Álvaro Fernández Rojas wrote: > Hello John, > > the patch doesn't fix the DGN3500 eeprom loading, but it's an > outstanding fix we need to make. > I think it's better if we fix what we currently have first and then > add Daniel's patches. > > Regards, > Álvaro >

Re: [OpenWrt-Devel] [PATCH][lantiq] Fixes to athxk EEPROM loading

2013-06-04 Thread Álvaro Fernández Rojas
> On 03/06/13 19:54, ?lvaro Fern?ndez Rojas wrote: >> Use platform data array for storing ath5k EEPROM instead of creating another >> one. >> EEPROM size is 2048 words (2 bytes), so we must read 4096 bytes from flash. >> No need to keep the checksum fix now that the EEPROM is loaded completely. >>

Re: [OpenWrt-Devel] [PATCH][lantiq] Fixes to athxk EEPROM loading

2013-06-03 Thread John Crispin
On 03/06/13 19:54, Álvaro Fernández Rojas wrote: Use platform data array for storing ath5k EEPROM instead of creating another one. EEPROM size is 2048 words (2 bytes), so we must read 4096 bytes from flash. No need to keep the checksum fix now that the EEPROM is loaded completely. Add a manual e

Re: [OpenWrt-Devel] [PATCH][lantiq] Fixes to athxk EEPROM loading

2013-06-03 Thread John Crispin
On 03/06/13 20:35, Daniel Gimpelevich wrote: On Mon, 2013-06-03 at 19:54 +0200, Álvaro Fernández Rojas wrote: Use platform data array for storing ath5k EEPROM instead of creating another one. EEPROM size is 2048 words (2 bytes), so we must read 4096 bytes from flash. No need to keep the checksu

Re: [OpenWrt-Devel] [PATCH][lantiq] Fixes to athxk EEPROM loading

2013-06-03 Thread Daniel Gimpelevich
On Mon, 2013-06-03 at 19:54 +0200, Álvaro Fernández Rojas wrote: > Use platform data array for storing ath5k EEPROM instead of creating another > one. > EEPROM size is 2048 words (2 bytes), so we must read 4096 bytes from flash. > No need to keep the checksum fix now that the EEPROM is loaded com

[OpenWrt-Devel] [PATCH][lantiq] Fixes to athxk EEPROM loading

2013-06-03 Thread Álvaro Fernández Rojas
Use platform data array for storing ath5k EEPROM instead of creating another one. EEPROM size is 2048 words (2 bytes), so we must read 4096 bytes from flash. No need to keep the checksum fix now that the EEPROM is loaded completely. Add a manual eeprom swap for ath9k and keep the endian way. Use m