aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic
Commit message (Collapse)AuthorAgeFilesLines
* 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
* kernel: bridge: multicast: backport a few more fixes for 3.10Felix Fietkau2015-01-052-37/+162
| | | | | | | | | | | | | The following patches unfortunately didn't hit the kernel stable branches yet, therefore cherrypicking them for OpenWRT here: * bridge: fix netfilter/NF_BR_LOCAL_OUT for own, locally generated queries * bridge: multicast: enable snooping on general queries only * bridge: multicast: add sanity check for general query destination Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue> SVN-Revision: 43841
* kernel: update 3.18 to 3.18.1Luka Perkov2015-01-036-28/+19
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 43821
* kernel: update 3.14 to 3.14.27Luka Perkov2015-01-037-44/+19
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 43820
* kernel: add mtd split support for trx imagesFelix Fietkau2015-01-027-0/+157
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43809
* kernel: add a mtdsplit implementation for tp-link firmware headersFelix Fietkau2015-01-027-0/+179
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43806
* kernel: move mtdsplit files to drivers/mtd/mtdsplit/ to simplify ↵Felix Fietkau2015-01-0253-346/+93
| | | | | | | | maintenance, unify patches across kernel versions Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43805
* kernel: add some missing config optionsHauke Mehrtens2014-12-291-1/+46
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 43794
* kernel/generic: fix warnings if libata-ledtrig is disabledFelix Fietkau2014-12-272-10/+10
| | | | | | | | | accidentally #if was used instead of #ifdef, thus gcc warned about CONFIG_ATA_LEDS being undefined... Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 43786
* kernel: backport a few PHY layer fixes from upstreamFelix Fietkau2014-12-262-0/+103
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43776
* kernel: remove openwrt micrel.c (replaced by upstream driver)Felix Fietkau2014-12-229-147/+16
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43762
* kernel: disable soft-reset for generic PHY devices to avoid accidentally ↵Felix Fietkau2014-12-202-0/+58
| | | | | | | | clearing preinitialized state Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43757
* mvsw6171: note support for 88E6172 switchesLuka Perkov2014-12-193-3/+3
| | | | | | | | | The '6171 and '6172 are similar enough to work without any changes to the code. Signed-off-by: Claudio Leite <leitec@staticky.com> SVN-Revision: 43753
* kernel: bgmac: fix some problemsHauke Mehrtens2014-12-186-4/+148
| | | | | | | | There are some problems in the napi usage that are fixed now. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 43749
* ar8216: Inline function ar8xxx_create_miiFelix Fietkau2014-12-181-13/+3
| | | | | | | | Inline function ar8xxx_create_mii. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 43743
* ar8216: Remove read/write/rmw member functions from ar8xxx_privFelix Fietkau2014-12-181-65/+51
| | | | | | | | | | | | | | Remove read/write/rmw member functions from ar8xxx_priv There seems to be no real benefit of the ar8xxx_priv member functions read/write/rmw as one implementation exists for each of them only. Especially ar8xxx_mii_rmw is assigned to priv->rmw first and then mapped to ar8xxx_rmw. Rename the ar8xxx_mii_.. functions to ar8xxx_.. and use them directly. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 43742
* ar8216: Create helpers mii_read32 / mii_write32 for 32 bit MII opsFelix Fietkau2014-12-181-34/+40
| | | | | | | | | | Create helpers mii_read32 / mii_write32 for 32 bit MII ops. Rename r3 variable to page in ar8xxx_mii_write to make it consistent with the other ar8xxx_mii_xxxx functions. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 43741
* ar8216: Factor out chip-specific parameters from ar8xxx_probe_switchFelix Fietkau2014-12-181-117/+151
| | | | | | | | | Factor out chip-specific parameters from ar8xxx_probe_switch. Move the ar8xxx_chip definitions after the swops definitions. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 43740
* ar8216: remove unused function parameter in ar8327_led_registerFelix Fietkau2014-12-181-2/+2
| | | | | | | | Remove unused function parameter in ar8327_led_register. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 43739
* kernel: disable multicast-to-unicast translation for ipv6 neighbor ↵Felix Fietkau2014-12-173-51/+60
| | | | | | | | solicitation (#17625) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43736
* kernel: warn users to use the new (dedicated) firmware splitterRafał Miłecki2014-12-144-6/+16
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43700
* kernel: move old firmware uimage splitter into separated patchRafał Miłecki2014-12-1314-134/+202
| | | | | | | | | This will allow us to drop it in the future. This patch doesn't change the final mtdpart.c, it remains the same. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43696
* kernel/generic: remove some left-over garbage from ledtrig patchJohn Crispin2014-12-132-2/+2
| | | | | | | | cosmetics. clean a style issue introduced by r43674. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 43676
* kernel/generic: add ledtrig support to libataJohn Crispin2014-12-122-0/+324
| | | | SVN-Revision: 43674
* ar8216: enable cpu port to receive arp and broadcast frames for ar8236Felix Fietkau2014-12-122-0/+12
| | | | | | Signed-off-by: Weijie Gao <hackpascal@gmail.com> SVN-Revision: 43668
* kernel: refresh patchesLuka Perkov2014-12-115-25/+28
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 43643
* kernel: drop CONFIG_PROC_DEVICETREE in 3.18Luka Perkov2014-12-101-1/+0
| | | | | | | | This option was removed in upstream commit 8357041. Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 43607
* kernel: add missing config symbols for 3.18Luka Perkov2014-12-101-0/+12
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 43605
* kernel: refresh patchesLuka Perkov2014-12-0925-54/+57
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 43591