summaryrefslogtreecommitdiffstats
path: root/target/linux/generic
Commit message (Collapse)AuthorAgeFilesLines
* kernel: fix compile error inside adm6996.cJohn Crispin2015-02-091-1/+1
| | | | | | | | drivers/net/phy/adm6996.c:881:5: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'u32' [-Wformat=] Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44333
* linux/generic: add missing config symbolsNicolas Thill2015-02-083-0/+6
| | | | | | | | Related to debug/tracing, only added to 3.14+, might be needed for older versions as well Signed-off-by: Nicolas Thill <nico@openwrt.org> SVN-Revision: 44323
* kernel: update 3.18 to 3.18.6Luka Perkov2015-02-087-30/+20
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 44318
* kernel: update 3.14 to 3.14.32Luka Perkov2015-02-072-10/+5
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 44302
* generic: allow ubi autoattach to run on NOR flashImre Kaloz2015-02-054-8/+12
| | | | | | | | | | | | Some devices out there only have a NOR flash to store the rootfs on. While using UBI is arguable on this kind of flash, this is something that should be supported. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 44260
* ar71xx: Revert "added board support for compex wpj558"John Crispin2015-02-021-1/+0
| | | | | | | | This reverts commit f7873071561d82e75ba2dc46433a2982fef8ac6f. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44245
* added board support for compex wpj558John Crispin2015-02-021-0/+1
| | | | | | Signed-off-by: Christian Mehlis <christian@m3hlis.de> SVN-Revision: 44237
* kernel: disable bcma's usage of OF API in kernel 3.10Rafał Miłecki2015-01-311-0/+30
| | | | | | | | | It fails to build because of missing of_irq_parse_raw and incompatible irq_create_of_mapping. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 44230
* linux: fix mips boot decompressor buildJo-Philipp Wich2015-01-302-64/+18
| | | | | | | | | | Replace the now defunct 062-mips_decompressor_build_fix.patch with another patch that simply undefines the arch memset and memcpy defines to avoid syntax errors in the redeclaration. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44223
* ar71xx: add Netgear WNR1000v2/WNR1000v2-VC support (#18633)John Crispin2015-01-301-0/+4
| | | | | | | | | | | The board is already supported by OpenWrt. WNR1000v2/WNR1000v2-VC are pretty much the same as WNR2000v3/WNR612v2, therefore the same initialization code and flash layout is used. Signed-off-by: Ștefan Rusu <saltwaterc@gmail.com> Tested-by: Douglas Fraser <1dsfraser@gmail.com> SVN-Revision: 44221
* kernel: bcm47xxpart: support T_Meter partitionsRafał Miłecki2015-01-282-0/+94
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 44185
* linux: add upstream patch to allow building dwc2 as module on 3.18Jo-Philipp Wich2015-01-281-0/+146
| | | | | | | | Also add the required config symbols to usb.mk Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44181
* kernel: add LZ4 decompressors to kconfig hackJohn Crispin2015-01-282-2/+18
| | | | | | Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 44168
* kernel: update 3.14 to 3.14.30Luka Perkov2015-01-285-11/+6
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 44158
* kernel: bcm47xxpart: support boart_data partition on XiaomiRafał Miłecki2015-01-272-0/+78
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 44157
* kernel: backport queued bcm47xxpart changesRafał Miłecki2015-01-274-132/+190
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 44156
* kernel: add missing symbol to generic 3.18 configJo-Philipp Wich2015-01-251-0/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44150
* generic/3.19: fixup the value of IFF_NO_IP_ALIGNImre Kaloz2015-01-251-1/+1
| | | | | | | Reported-by: Stephen Walker <stephendwalker+openwrt@gmail.com> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 44139
* kernel: update 3.14 to 3.14.29Luka Perkov2015-01-253-13/+9
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 44137
* xburst: fix kernel buildJo-Philipp Wich2015-01-251-0/+64
| | | | | | | | | | | | Changeset r43049 removed the "062-mips_decompressor_build_fix.patch" which is still required to properly build the xburst kernel. Fix the syntax error in the preprocessed code by explicitely undefining the "memcpy" and "memset" macros prior to declaring the replacements functions. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44133
* generic: add preliminary 3.19 supportImre Kaloz2015-01-25175-0/+31697
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 44126
* generic/3.18: update to 3.18.3Imre Kaloz2015-01-251-10/+6
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 44121
* kernel: remove linux 3.3 patches and configFelix Fietkau2015-01-24179-45292/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44109
* ar8216: prefix mii_xxx functions to avoid kernel namespace pollutionFelix Fietkau2015-01-243-18/+18
| | | | | | | | | Prefix the exported mii_xxx32 functions with ar8xxx_ to avoid kernel namespace pollution. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 44105
* ar8216: add swconfig attribute to display ARL table on AR8327/AR8337Felix Fietkau2015-01-244-15/+220
| | | | | | | | | | | | | | Add global read-only swconfig attribute "arl_table" to display the address resolution table. So far the chip-specific part is implemented for AR8327/AR8337 only as I don't have the datasheets for the other AR8XXX chips. Successfully tested on TL-WDR4300 (AR8327rev2) and TL-WDR4900 (AR8327rev4). Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 44104
* ar8216: decrease page switch wait timeFelix Fietkau2015-01-242-3/+9
| | | | | | | | | | | | | | | | | | | | | | Until a few years ago the page switch wait time was set to msleep(1) what was changed to usleep_range(1000, 2000) later. I can not imagine that a low-level operation like switching page on register level takes so much time. Most likely the value of 1ms was initially set to check whether it fixes an issue and then remained w/o further checking whether also a smaller value would be sufficient. Now the wait time is set to 5us and I successfully tested this on AR8327. IMHO 5us should be plenty of time for all supported chips. However I couldn't test this due to missing hardware. If other chips should need a longer wait time we can add the wait time as a parameter to the ar8xxx_chip struct. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 44103
* ar8216: add link change detection for switch portsFelix Fietkau2015-01-242-0/+36
| | | | | | | | | | Check for switch port link changes and - flush ATU in case of a change - report link change via syslog Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 44102
* ar8216: fix ATU flushingFelix Fietkau2015-01-242-9/+5
| | | | | | | | | | | | | | | | | | The functionality to flush the address translation table contains two bugs which luckily compensate each other. 1. Just setting the operation is not sufficient to perform the flushing. The "active" bit needs to be set to actually trigger an action. For the vtu operations this is implemented correctly. 2. ar8xxx_phy_read_status is called every 2s by the phy state machine to check for link changes. This would have caused an ATU flush every 2s. Fix the chip-specific ATU flush functions and remove the ATU flush call from ar8xxx_phy_read_status. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 44101
* kernel: add missing config symbol for 3.18Zoltan Herpai2015-01-181-0/+1
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 44034
* kernel: preserve bootloader command line on MIPSJohn Crispin2015-01-182-6/+38
| | | | | | | | | | | Somewhere in the conversion of the MIPS architecture code to Device Tree usage, there's been a failure to keep the separate variables holding the kernel command line reconciled between the tree and the bootloader. This patch restores previous functionality that broke. Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> SVN-Revision: 44030
* kernel: add missing config symbolFelix Fietkau2015-01-182-0/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44026
* kernel: backport upstream commit to fix MIPS cache shift with secondary ↵Felix Fietkau2015-01-184-5/+47
| | | | | | | | cache enabled Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44024
* ar8216: display flow control info in swconfig get_link in case of ↵Felix Fietkau2015-01-182-1/+19
| | | | | | | | | | | | | | | | | | autonegatiation too The swconfig get_link attribute (at least) on AR8327/AR8337 doesn't consider the autonegotiated flow control. AR8327/AR8337 provide the info about autonegotiated rx/tx flow control in bits 10 and 11 of the port status register. Use these values to display info about autonegotiated rx/tx flow control as part of the get_link attribute. Successfully tested on TL-WDR4900 (AR8327 rev.4) and TL-WDR4300 (AR8327 rev.2). Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 44023
* ar8216: add 802.3az EEE info to swconfig get_link attributeFelix Fietkau2015-01-185-1/+49
| | | | | | | | | | | | | AR8327/AR8337 allow to read the result of EEE autonegotiation. If EEE is autonegotiated between the link partners, display this as part of the swconfig get_link attribute. eee100: 100MBit EEE supported by both link partners eee1000: 1GBit EEE supported by both link partners Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 44022
* ar8216: introduce enable_eee swconfig attribute to control 802.3az EEE per portFelix Fietkau2015-01-184-17/+122
| | | | | | | | | | | | | | | | Users reported network issues with AR8327 which turned out to be caused by EEE not working correctly with certain link partners (ticket 14597). The workaround was to disable EEE on all ports (changeset 41577). The issue was with certain link partners only, therefore this patch allows to control usage of EEE per port via swconfig. Still the default is to initially disable EEE on all ports. Successfully tested on a TL-WDR4900 (AR8327 rev.4) Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 44021
* ar8216: introduce ar8xxx_reg_clear complementing ar8xxx_reg_setJohn Crispin2015-01-173-12/+14
| | | | | | | | Introduce ar8xxx_reg_clear complementing ar8xxx_reg_set. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 44004
* ar8216: replace ar8xxx_rmw with ar8xxx_reg_set where appropriateJohn Crispin2015-01-172-12/+7
| | | | | | | | Replace ar8xxx_rmw with ar8xxx_reg_set where appropriate. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 44003
* ar8216: define all switch_addr structs as constJohn Crispin2015-01-172-6/+6
| | | | | | | | Define all switch_addr structs as const. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 44002
* kernel: fix disable_irq() on MIPS CPU IRQsFelix Fietkau2015-01-152-0/+40
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43973
* mvsw61xx: track and set per-VLAN port state in STULuka Perkov2015-01-112-7/+32
| | | | | | | | | | Since the driver doesn't know anything about (M)STP we just hard-set the ports to be enabled if they are part of the VLAN. Signed-off-by: Claudio Leite <leitec@staticky.com> SVN-Revision: 43938
* mvsw61xx: clean up and expand register definitionsLuka Perkov2015-01-112-29/+50
| | | | | | | | | | | | | | | | - eliminate MV_CPUPORT; not necessary since we define the CPU port(s) via Device Tree - add STU and expand VTU operations - update register names to match those of 88E61xx rather than mvswitch's 88E6060 - use more consistent formatting Signed-off-by: Claudio Leite <leitec@staticky.com> SVN-Revision: 43937
* mvsw61xx: rework chip recognitionLuka Perkov2015-01-112-10/+31
| | | | | | | | Recognizes 88E6171/6172/6176 at the moment. Signed-off-by: Claudio Leite <leitec@staticky.com> SVN-Revision: 43936
* mvsw6171: rename to 'mvsw61xx'Luka Perkov2015-01-116-135/+135
| | | | | | | | | In preparation for properly supporting switches beyond the 88E6171. Signed-off-by: Claudio Leite <leitec@staticky.com> SVN-Revision: 43935
* kernel: update 3.14 to 3.14.28Luka Perkov2015-01-112-3/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 43929
* kernel: add missing config symbols for 3.18Zoltan Herpai2015-01-101-0/+18
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 43912
* upgrade to 3.18.2Imre Kaloz2015-01-091-1/+1
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 43892
* kernel: add SECCOMP to menuconfigJohn Crispin2015-01-086-6/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43888
* ar8216: factor out AR8327/AR8337-specific driver code into ar8327.cFelix Fietkau2015-01-0523-1050/+1154
| | | | | | | | | | Move all AR8327/AR8337-specific driver code into a separate source file ar8327.c and adjust patches so that ar8327.c is compiled if CONFIG_AR8216_PHY is set. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 43845
* ar8216: move definitions from ar8216.c to ar8216.h and introduce ar8327.hFelix Fietkau2015-01-053-345/+365
| | | | | | | | | | Move several structure definitions and #defines from ar8216.c to ar8216.h and move AR8327/AR8337 header stuff into a new header file ar8327.h. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 43844
* all targets: remove all =m kernel config symbolsFelix Fietkau2015-01-056-16/+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> SVN-Revision: 43842