aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/cns3xxx
Commit message (Collapse)AuthorAgeFilesLines
* cns3xxx: fix RX softIRQ loopKoen Vandeputte2016-06-271-2/+2
| | | | | | | | | | Already reschedule when 1 or more frames came in. Checking for a full queue could produce a re-schedule loop as the checked RX ring location could contain undefined values depending on activity in previous loops. Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: update kernel 4.4 to version 4.4.10Álvaro Fernández Rojas2016-06-201-19/+0
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: update kernel 4.4 to version 4.4.9Álvaro Fernández Rojas2016-06-202-3/+3
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* treewide: fix replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-191-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@nbd.name> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49379 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: set both MPS 'and' MRSS to 128John Crispin2016-04-261-0/+23
| | | | | | | | | | | | Fixes some DMA issues with this platform. Because this isn't currently accepted, and can potentially disrupt other platforms (as read in commit log), I will leave this cns3xxx specific. Original Patch: https://patchwork.ozlabs.org/patch/600024/ Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49249 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: backport pci fix for cns3xxx_write_configJohn Crispin2016-04-261-0/+19
| | | | | | | | | Fix is required to properly set pci config bits. Original Patch: https://patchwork.ozlabs.org/patch/596170/ Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49248 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 4.4 to version 4.4.6Hauke Mehrtens2016-03-171-14/+0
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49032 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: enable CONFIG_PROC_STRIPPED to improve network performanceFelix Fietkau2016-01-311-2/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48581 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: improve ethernet performance by using the page fragment allocation APIFelix Fietkau2016-01-311-7/+7
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48580 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: fix ethernet DMA ring allocation issuesFelix Fietkau2016-01-311-50/+32
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48579 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "cns3xxx: re-enable CONFIG_CPU_SW_DOMAIN_PAN"Felix Fietkau2016-01-191-0/+1
| | | | | | | | There seem to be some remaining SMP issues with it This reverts commit r48336 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48367 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: re-enable CONFIG_CPU_SW_DOMAIN_PANFelix Fietkau2016-01-181-1/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48336 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: update to linux 4.4Felix Fietkau2016-01-1828-190/+171
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48334 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: fix a ethernet driver napi poll handling bugFelix Fietkau2016-01-181-1/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48333 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: clean up SMP related codeFelix Fietkau2016-01-182-17/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48332 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: fix adding twd local timersFelix Fietkau2016-01-186-13/+11
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48331 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: remove obsolete fileFelix Fietkau2016-01-181-26/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48330 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: remove unused define and use of a deprecated functionFelix Fietkau2016-01-181-2/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48329 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/3.18: update to version 3.18.25Hauke Mehrtens2016-01-121-1/+1
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48225 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: add GW2393 SupportJohn Crispin2015-12-171-1/+3
| | | | | | | | | | | Based off of the GW2391-C, but with the following changes: * 4x4in to 4x5in pcb * flat panel connector for LED signals Signed-off-by: Tim Harvey <tharvey@gateworks.com> Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47920 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: Fix commentJohn Crispin2015-12-171-1/+1
| | | | | | | | Original comment was wrong about which pads are being set. Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47919 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 3.18 to version 3.18.23Hauke Mehrtens2015-11-011-1/+1
| | | | | | | | | | | Changelog: * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.22 * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.23 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47334 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.18 to 3.18.21Jonas Gorski2015-09-021-1/+1
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.21 Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46768 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.18 to 3.18.17Jonas Gorski2015-06-301-1/+1
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.17 Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46150 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: use common image prefixJo-Philipp Wich2015-05-271-3/+3
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45781 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.18 to 3.18.14Jonas Gorski2015-05-212-2/+2
| | | | | | | | | | | | | | Changelogs: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.12 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.13 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.14 Build tested on brcm63xx and ipq806x, runtested on brcm63xx. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45711 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: drop 3.14 supportJohn Crispin2015-03-1626-1533/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44817 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: move KERNFS to generic configJohn Crispin2015-03-061-1/+0
| | | | | | | | KERNFS symbol is selected by SYSFS, so place it in generic config. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44615 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLEDJohn Crispin2015-03-062-2/+0
| | | | | | | | | Disable ARCH_NEEDS_CPU_IDLE_COUPLED by-default in generic config, since only one platfrom (omap) needs them. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44614 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: remove GENERIC_NET_UTILS from platform configsJohn Crispin2015-03-062-2/+0
| | | | | | | | | | CONFIG_GENERIC_NET_UTILS is selected by CONFIG_NET and already enabled in generic config, so we don't need this symbol in platform specific configurations. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44611 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: set v3.18 as defaultJohn Crispin2015-02-111-1/+1
| | | | | | | | tested on a nor and a spi laguna Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44393 3c298f89-4303-0410-b956-a3cf2f4a3e73
* all targets: remove all =m kernel config symbolsFelix Fietkau2015-01-052-2/+0
| | | | | | | | | | | | modules build during the kernel compile phase are ignored anyway, all modules should be built using KernelPackage in package/kernel/linux/modules/* selecting the appropriate config symbols there rather than in target/linux/*/config-* Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43842 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: refresh patchesFelix Fietkau2014-12-082-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43564 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: fix PCIe->PCI bridge access (fixes #18422)Felix Fietkau2014-11-271-0/+11
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43414 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: add experimental 3.18 supportFelix Fietkau2014-11-2725-0/+1431
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43406 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: fix pcie root bridge topologyFelix Fietkau2014-11-272-2/+55
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43403 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: add missing dma mask for ethernet deviceFelix Fietkau2014-11-261-1/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43399 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: switch to using the upstream dwc2 driver instead of dwc_otgFelix Fietkau2014-11-2626-22978/+51
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43398 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: update to linux 3.14Felix Fietkau2014-11-2626-66/+89
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43397 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: remove bogus image added in r38703Felix Fietkau2014-11-261-4/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43396 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: set base device for ethernet port netdevsFelix Fietkau2014-11-261-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43395 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: fix passing the device to dma mapping opsFelix Fietkau2014-11-261-17/+20
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43394 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: makefiles: make use of new var KERNEL_PATCHVERFelix Fietkau2014-10-241-1/+1
| | | | | | | | | | | replace all occurences of LINUX_VERSION with the cleaner approach. future kernel upgrades must mostly touch only one file. the only platform left is netlogic, because it uses a intermediate kernel 3.14.16 Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43047 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: Adopt irq_domain support for cns3xxx gpio driverFelix Fietkau2014-10-081-7/+23
| | | | | | | | | Have gpio driver adopt irqdomain support so that there are non-overlapping allocations of irq numbers mapped to gpio's. Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42844 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: fix shared PCI interrupt mappingFelix Fietkau2014-10-071-5/+2
| | | | | | | | | | | | | | This patch originally failed to combine INTA/B/C/D onto a single ARM CPU interrupt. Instead, it mapped INTA/B/C and excluded D. This patch corrects the issue by mapping all four interrupts to the single ARM CPU interrupt. The original intent of the patch still holds as the newer PCB take advantage of isolated interrupts. This fix only applies to older PCB's that do not route INTA/B/C/D to unique external ARM CPU interrupts. Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42830 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: fix register for enabling MMC/SD pinsFelix Fietkau2014-10-071-2/+1
| | | | | | | | also fixes a GPIO related regression from the upgrade to 3.10 Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42829 3c298f89-4303-0410-b956-a3cf2f4a3e73
* targets: remove useless quotes around KERNELNAMEFelix Fietkau2014-10-051-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42780 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: support isolated PCI interrupts on newer Laguna PCBsFelix Fietkau2014-09-021-0/+196
| | | | | | | | | | | | | | | | | The cns3xxx uses irq61 for pcie0_intr which in the case of a PCIe-to-PCI bridge ends up combining INTA/B/C/D on a single ARM CPU interrupt. This is not optimal when you have multiple cores. To overcome this limitation an enhancement was made on newer Laguna PCB's that support miniPCI cards to route the INTA/B/C/D signals to unique external ARM CPU interrupts which can help balance CPU core utilization and in some cases increase overall system performance or responsiveness. For more details see: http://trac.gateworks.com/wiki/multicoreprocessing#PCIInterruptsteering Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42400 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: add myself as maintainerFelix Fietkau2014-08-011-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41928 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: fix building initramfs and non-initramfs togetherFelix Fietkau2014-08-011-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41922 3c298f89-4303-0410-b956-a3cf2f4a3e73