aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic
Commit message (Collapse)AuthorAgeFilesLines
* b53: use drvdata to store driver dataHauke Mehrtens2014-01-203-10/+6
| | | | | | | | | we should not abuse the platform_data pointer. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39354 3c298f89-4303-0410-b956-a3cf2f4a3e73
* b53: make b53_switch_reset_gpio() staticHauke Mehrtens2014-01-201-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39353 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [3.13]: update ocf patchesZoltan HERPAI2014-01-201-2/+2
| | | | | | | | | | - as ENT_DEBUG is removed, move the messages into pr_notice Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39350 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [3.13]: update/fixup overlayfs patchImre Kaloz2014-01-201-11/+12
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39349 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [generic]: add initial 3.13 supportImre Kaloz2014-01-20169-0/+32779
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39348 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/3.1[02]: add AR8216_PHY_LEDS optionGabor Juhos2014-01-204-0/+28
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39339 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add custom LED support for the AR8327 switchGabor Juhos2014-01-203-0/+408
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39338 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: allow to use chip specific cleanup callbackGabor Juhos2014-01-201-0/+5
| | | | | | | | It will be used for AR8327. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39337 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add optimized rmw operationGabor Juhos2014-01-201-20/+44
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39336 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.10 to 3.10.26Gabor Juhos2014-01-113-33/+19
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39220 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: update the ethernet core hacksHauke Mehrtens2014-01-041-46/+0
| | | | | | | | | | The PHY always says there is no link Instead of doing this dma sync a mdelay does the same trick and it is as unreliable. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39202 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: bgmac: update the driver patches to a version submitted for mainline ↵Hauke Mehrtens2014-01-045-54/+117
| | | | | | | | | kernel. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39201 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: bgmac: update patchesHauke Mehrtens2013-12-268-267/+600
| | | | | | | | | | This updates the bgmac backport patch to the current upstream version and adds some more patches mostly for BCM4707. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39165 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport upstream inet fixLuka Perkov2013-12-191-0/+54
| | | | | | | | | Without it in some occasions oops is shown on network restart. Problem was noticed on imx6 targed. Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39134 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: define RB_ID_HW_OPTIONS in include/linux/routerboot.hGabor Juhos2013-12-161-0/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39090 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/3.1[02]: add Winbond W25X05 SPI flash supportGabor Juhos2013-12-162-0/+40
| | | | | | | | It is used on newer RouterBOARDs. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39086 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update yaffs codeGabor Juhos2013-12-16108-15464/+9533
| | | | | | | | | | | | | | | | Use the latest version of the yaffs code. Fetched from the yaffs2 git tree and it is based on the following commit: commit bc76682d93955cfb33051beb503ad9f8a5450578 Merge: 3a8580e ffa781d Author: Charles Manning <cdhmanning@gmail.com> Date: Thu Jul 11 17:46:25 2013 +1200 Merge branch 'master' of ssh://www.aleph1.co.uk/home/aleph1/git/yaffs2 Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39084 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/3.9: remove yaffs patchesGabor Juhos2013-12-1615-1643/+0
| | | | | | | | It is not used by any platform. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39083 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/3.6: remove yaffs supportGabor Juhos2013-12-1616-1644/+0
| | | | | | | | It is not used by any platform. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39082 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/3.3: remove yaffs supportGabor Juhos2013-12-1610-733/+0
| | | | | | | | It is not used by any platform. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39081 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: Enable jumbo frames on AR8327 by defaultGabor Juhos2013-12-151-2/+2
| | | | | | | | | | This patch enables jumbo frames on AR8327 switch by default. I have tested it on TP-Link TL-WDR3600. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39076 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 3.10 to 3.10.24Hauke Mehrtens2013-12-158-106/+26
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39059 3c298f89-4303-0410-b956-a3cf2f4a3e73
* upgrade 3.12 targets to 3.12.5Imre Kaloz2013-12-149-29/+29
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39055 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: added defines for 3.12Luka Perkov2013-12-091-0/+5
| | | | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39009 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: merge initval and tx gain table updates, calibration fixesFelix Fietkau2013-12-081-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39001 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: workaround arptables arpt_arp structure padding issue (#14577)Jo-Philipp Wich2013-12-061-0/+16
| | | | | | | | | | | | | | | | | | | Linaro GCC 4.6-2013.05 incorrectly pads the arpt_arp structure on at least the ar71xx target, resulting in a two bytes shorter struct in the kernel compared to what arptables userspace expects. When comparing sizeof(struct arpt_arp) in kernel and userspace, the former yields 162 byte, while the latter is 164 byte. As a consequence, the subsequent target_offset and next_offset members of the parent arpt_entry structure contain invalid values when processed by the arptables binary, leading to bad memory accesses in the populate_cache() procedure, subsequently causing a segfault. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38999 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: fix occasional "execvp: /bin/sh: Argument list too long" is kernel ↵Jo-Philipp Wich2013-12-061-0/+44
| | | | | | | | header install phase (#12907) Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38998 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.10 to 3.10.21Gabor Juhos2013-12-012-20/+20
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38972 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: refresh kernel configs with kconfig.plGabor Juhos2013-11-301-7/+7
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38970 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add AR8337N switch supportGabor Juhos2013-11-292-6/+27
| | | | | | | | | | | | | | | | | This patch is needed to use the switch inside the Sitecom WLR-8100; it was unusable and detected as Generic-Phy before. since ar8337 is behaving like ar8327 generally do the same thing see: https://forum.openwrt.org/viewtopic.php?pid=214218#p214218 forward-ported to trunk Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> Patchwork: http://patchwork.openwrt.org/patch/4469/ [juhosg: merge chip_is_ar83[23]7 statements in ar8xxx_phy_config_init] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38952 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: remove trailing whitespacesGabor Juhos2013-11-291-9/+9
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38951 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [generic/3.12]: refresh patchImre Kaloz2013-11-271-4/+3
| | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38930 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [generic/3.12]: make the wl12xx glue code available with compat-wireless, tooImre Kaloz2013-11-271-0/+15
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38929 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [generic/3.12]: add TI wireless symbols and enable the platform glue by defaultImre Kaloz2013-11-271-1/+6
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38928 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport get_cycles() fixHauke Mehrtens2013-11-171-0/+69
| | | | | | | | | | | | | get_cycles() is used in some places as one part of the seed for the kernel PRNG. This backports the following commit from mainline linux kernel: 9c9b415c50bc298ac61412dff856eae2f54889ee Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38834 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add fix to block2mtd driver for modified error loggingZoltan HERPAI2013-11-171-0/+12
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38827 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing symbols for 3.12Zoltan HERPAI2013-11-171-0/+2
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38826 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing symbols for 3.12Zoltan HERPAI2013-11-161-0/+24
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38820 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport an upstream fix to improve TCP performance for wifi driversFelix Fietkau2013-11-141-0/+80
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38810 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: b53: fix untagged shift for BCM5365Hauke Mehrtens2013-11-132-4/+8
| | | | | | | | | | | | The BCM5365 needs a shift of 7 bits and not 6 bits like the BCM5325 for the untagged ports. Thank you Russell for reporting this and testing the patch. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38793 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: bgmac: make it send and receive some packages on BCM4708Hauke Mehrtens2013-11-118-4/+520
| | | | | | | | | | | This adds some more code for bgmac core rev 4 and it now restarts all cores when initializing the first one on BCM4708. I am just able to send under 100 packages and then DMA TX does not work any more. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38714 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: bcma: detect pci ID 0x4313Hauke Mehrtens2013-11-112-1/+46
| | | | | | | | | | | | This pci ID is used by sprom less BCM4313 devices. This is a backport from the mainline kernel. This is part of #13551. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38713 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: b53: add initial support for switches in BCM5301XHauke Mehrtens2013-11-102-3/+87
| | | | | | | | | This is also known as BCM470{7,8,9}. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38712 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: adm6996: add support for ADM6996L and GPIO interfaceHauke Mehrtens2013-11-093-127/+497
| | | | | | | | | | | | | | | | | | This patch makes it possible to use adm6996.c on first generation BCM47XX devices with ADM switches. The GPIO bit banging protocol implementation was copied from the old switch driver and adapted to this driver and changed to the mainline kernel GPIO interface. The ADM6996L is different from the ADM6996M which is supported, for both specs are available in the Internet. This was tested on a WRT54GS version 1.0, thank you Dirk Neukirchen for the device. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38698 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/3.10: add EOF marker support to the UBI layerGabor Juhos2013-11-071-0/+51
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38681 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add some config optionsLuka Perkov2013-11-062-0/+6
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38660 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [generic/3.12]: update for 3.12 finalImre Kaloz2013-11-051-11/+11
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38657 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.10 to 3.10.18Gabor Juhos2013-11-055-14/+14
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38652 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/3.1[02]: move MTD root device setup code to mtdcoreGabor Juhos2013-11-0416-58/+94
| | | | | | | | | | The current code only allows to automatically set root device on MTD partitions. Move the code to MTD core to allow to use it with all MTD devices. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38643 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: refresh kernel configs with kconfig.plGabor Juhos2013-11-043-415/+414
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38642 3c298f89-4303-0410-b956-a3cf2f4a3e73