Re: [PATCH 4/5] MIPS: ath79: Fix the PCI memory size and offset of window 7

2015-04-19 Thread Alban
On Sun, 19 Apr 2015 00:28:39 +0200 Jonas Gorski wrote: > Hi, > > On Fri, Apr 17, 2015 at 2:36 PM, Alban Bedel wrote: > > The define AR71XX_PCI_MEM_SIZE miss one window, there is 7 windows, > > not 6. To make things clearer, and allow simpler code, derive > > AR71XX_PCI_MEM_SIZE from the newly

Re: [PATCH 4/5] MIPS: ath79: Fix the PCI memory size and offset of window 7

2015-04-19 Thread Alban
On Sun, 19 Apr 2015 00:28:39 +0200 Jonas Gorski j...@openwrt.org wrote: Hi, On Fri, Apr 17, 2015 at 2:36 PM, Alban Bedel al...@free.fr wrote: The define AR71XX_PCI_MEM_SIZE miss one window, there is 7 windows, not 6. To make things clearer, and allow simpler code, derive

Re: [PATCH 4/5] MIPS: ath79: Fix the PCI memory size and offset of window 7

2015-04-18 Thread Jonas Gorski
Hi, On Fri, Apr 17, 2015 at 2:36 PM, Alban Bedel wrote: > The define AR71XX_PCI_MEM_SIZE miss one window, there is 7 windows, > not 6. To make things clearer, and allow simpler code, derive > AR71XX_PCI_MEM_SIZE from the newly introduced AR71XX_PCI_WIN_COUNT > and AR71XX_PCI_WIN_SIZE. > > The

Re: [PATCH 4/5] MIPS: ath79: Fix the PCI memory size and offset of window 7

2015-04-18 Thread Jonas Gorski
Hi, On Fri, Apr 17, 2015 at 2:36 PM, Alban Bedel al...@free.fr wrote: The define AR71XX_PCI_MEM_SIZE miss one window, there is 7 windows, not 6. To make things clearer, and allow simpler code, derive AR71XX_PCI_MEM_SIZE from the newly introduced AR71XX_PCI_WIN_COUNT and AR71XX_PCI_WIN_SIZE.

[PATCH 4/5] MIPS: ath79: Fix the PCI memory size and offset of window 7

2015-04-17 Thread Alban Bedel
The define AR71XX_PCI_MEM_SIZE miss one window, there is 7 windows, not 6. To make things clearer, and allow simpler code, derive AR71XX_PCI_MEM_SIZE from the newly introduced AR71XX_PCI_WIN_COUNT and AR71XX_PCI_WIN_SIZE. The define AR71XX_PCI_WIN7_OFFS also add a typo, fix it. Signed-off-by:

[PATCH 4/5] MIPS: ath79: Fix the PCI memory size and offset of window 7

2015-04-17 Thread Alban Bedel
The define AR71XX_PCI_MEM_SIZE miss one window, there is 7 windows, not 6. To make things clearer, and allow simpler code, derive AR71XX_PCI_MEM_SIZE from the newly introduced AR71XX_PCI_WIN_COUNT and AR71XX_PCI_WIN_SIZE. The define AR71XX_PCI_WIN7_OFFS also add a typo, fix it. Signed-off-by: