aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
Commit message (Collapse)AuthorAgeFilesLines
* atheros: constify some static structuresFelix Fietkau2014-06-103-4/+6
| | | | | | | | Constify some static structures as suggested by checkpatch. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41094 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: avoid __FUNCTION__ usageFelix Fietkau2014-06-101-6/+6
| | | | | | | | | Use __func__ instead of gcc specific __FUNCTION__ as suggested by checkpatch. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41093 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: trailing statements fixesFelix Fietkau2014-06-104-9/+14
| | | | | | | | | Move trailing statements to next line with indentation as suggested by checkpatch. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41092 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: spaces fixesFelix Fietkau2014-06-109-63/+66
| | | | | | | | Add missed spaces and remove odd space as suggested by checkpatch. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41091 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: indent fixesFelix Fietkau2014-06-105-145/+146
| | | | | | | | | Various indent fixes suggested by checkpatch: use tabs, use same level of indentation for switch and case, correct indentation levels. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41090 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: fix includesFelix Fietkau2014-06-107-29/+20
| | | | | | | | | Remove some unnecessary includes and use <linux/foo.h> instead of <asm/foo.h> when it possible as suggested by checkpatch. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41089 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: various printk(...) fixesFelix Fietkau2014-06-103-30/+33
| | | | | | | | | Use more particular functions dev_<level> or pr_<level>(...) insead of direct printk(...) call. Add KERN_LEVEL to calls what missed it. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41088 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: various braces fixesFelix Fietkau2014-06-107-42/+32
| | | | | | | | | Fix braces location, remove unnecessary empty lines before or after code block, remove useless braces. All cases are detected by checkpatch. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41087 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: do not initialize statics to 0 or falseFelix Fietkau2014-06-103-4/+4
| | | | | | | | as suggested by checkpatch. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41086 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: remove trailing whitespaceFelix Fietkau2014-06-101-1/+1
| | | | | | | | as suggested by checkpatch. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41085 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: do not assignment in if conditionFelix Fietkau2014-06-105-10/+13
| | | | | | | | Remove assignments from if conditions as suggested by checkpatch. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41084 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: remove parentheses around return valuesFelix Fietkau2014-06-103-8/+8
| | | | | | | | | Remove parentheses around return values since return is no a function, as suggested by checkpatch. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41083 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: parenthesis around complex macroses valueFelix Fietkau2014-06-102-31/+31
| | | | | | | | | Use parenthesis around complex macroses value as suggested by checkpatch. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41082 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: various comments fixesFelix Fietkau2014-06-104-97/+74
| | | | | | | | | | Fix comment issues detected by checkpatch. Convert C99 // comments to ordinary /* ... */ comments. Correct block comments style or convert them to single line comments. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41081 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: avoid CamelCaseFelix Fietkau2014-06-103-62/+63
| | | | | | | | | | Change fooBar variables names to foo_bar as suggested by checkpatch, write few tables names in lower case and correctly place __initdata keyword. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41080 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: merge FEATURES lines in the legacy subtargetFelix Fietkau2014-06-081-2/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41053 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: fix kmod-usb-brcm47xx build on legacy and mips74k subtargetsFelix Fietkau2014-06-081-3/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41052 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: activate some compiler optimizations for 74K CPUsHauke Mehrtens2014-06-074-1/+6
| | | | | | | | | | | | With this patch the mips74k subtarget will be compiled with optimized compiler options to generated smaller and faster code. This currently breaks broadcom-wl, because the binary blob is only compiled with mipsr1 support. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41050 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: move the low_mem feature flag to the legacy subtargetFelix Fietkau2014-06-072-1/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41049 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: remove old gpio and nvram interfacesHauke Mehrtens2014-06-072-188/+2
| | | | | | | | | These were only used by broadcom-diag any more. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41048 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: mips74k: optimize kernel configHauke Mehrtens2014-06-071-0/+10
| | | | | | | | | | This saves abount 15 kB of compressed kernel size. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41043 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm47xx: use eth0 for switch nameHauke Mehrtens2014-06-071-3/+3
| | | | | | | | | | | | This fixes some strange problems with tg3. I assume that the Ethernet driver was not brought up if the switch was named switch0. This was reported and tested by ernesto (Faulp3lz). Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41042 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: add a "legacy" subtarget that is usable for low-end 802.11g ↵Felix Fietkau2014-06-077-1/+90
| | | | | | | | devices like WRT54G Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41041 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: add mips74k subtarget for newer devicesHauke Mehrtens2014-06-056-1/+82
| | | | | | | | | | | | | | All new devices (with MIPS 74K CPU) are based on BCMA SoC and have Ethernet core supported by bgmac. Create a new subtarget to generate optimized builds. This is just a beginning, further tweaks (like kernel configuration) are still possible. This decreases default root.squashfs by ~128 kB. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41025 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: move current target to "generic" subtargetHauke Mehrtens2014-06-0523-11/+22
| | | | | | | | | | This allows creating more subtargets and optimize builds per family. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41024 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix eep handling patchJohn Crispin2014-06-051-1/+1
| | | | | | | | 0b79a4a66d17d2c7c12cde8d13637c1b0e5152c2 broke the patch Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41005 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: kernel: update 3.14 pcie patchesLuka Perkov2014-06-044-43/+151
| | | | | | | | | Remove old irq map patch and replace it with the propper upstream patches allowing IMX6 PCIe devices behind PCIe switches to work properly. Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41004 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: ath5k fix in wifi and ethernet eeprom handling patch.John Crispin2014-06-041-0/+2
| | | | | | | | | | | | | | | ath5k fix in wifi and ethernet eeprom handling patch. Without the line that adds the patch of_ath5k_eeprom_probe cause a kernel panic, at least with the ARV4518PW. Tested only in the modem-router mentioned above. This patch is based in Bruno's hack present in patch #5454. Signed off by: Bruno Rodríguez <bruno.rodriguez.1980@gmail.com> Signed off by: José Vázquez Fernández <ppvazquezfer@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40999 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: ventana: remove non-trunk packages from defaultsLuka Perkov2014-06-021-1/+0
| | | | | | | | | The canutils package is in the packages repo and not part of trunk, so we should not enable them by default. Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40991 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: ventana: add default kernel modulesLuka Perkov2014-06-021-1/+2
| | | | | | | | | | | | Add the following kernel modules by default (which are present on most Ventana baseboards): - kmod-leds-gpio (user leds) - kmod-sound-core (required as a dependency of the other sound modules) - kmod-pps-gpio (Pulse-Per-Second) Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40990 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: update board names per device-tree updatesLuka Perkov2014-06-021-8/+8
| | | | | | | | | The Gateworks Ventana board names have been adjusted per upstream patches to include all IMX6 SoC variants. Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40989 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: update 3.14 ventana dts with upstream fixesLuka Perkov2014-06-021-28/+103
| | | | | | | | | | | | | | | | | update the Ventana DTS files with upstream fixes: - The 'model' property in the imx-audio-sgtl5000 binding specifies the user-visible name of the audio device. This should be something common and not baseboard specific. - removed obsolete crts - fix include typo: The imx6q-gw51xx needs to include imx6qdl-gw51xx.dtsi - fix gw52xx clock for sgtl5000 ananlog audio codec - fix LVDS mapping for Ventana GW52xx/GW53xx/GW54xx - add LVDS backlight for Ventana - update model descriptions for all processor variants Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40988 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: update 3.10 ventana dtsLuka Perkov2014-06-0211-14/+14
| | | | | | | | | | | | update the Ventana DTS files with upstream fixes: - The 'model' property in the imx-audio-sgtl5000 binding specifies the user-visible name of the audio device. This should be something common an not baseboard specific. - update model descriptions for all processor variants Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40987 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add another new config symbol for kernel 3.14Luka Perkov2014-06-021-0/+1
| | | | | | | | | It was augmented by CONFIG_USB_GADGET... Signed-off-by: Daniel Golle <daniel@makrotopia.org> Acked-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40986 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: enable the low-memory feature flagFelix Fietkau2014-06-021-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40982 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix compile error in r40969, refresh patchesFelix Fietkau2014-06-0221-27/+27
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40977 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: WNDAP360 adding wifi LED supportJohn Crispin2014-06-021-3/+4
| | | | | | | | | I added WIFI LED support (so now AP blinks nicely), I removed WPS button GPIO (as it doesn't exist) and changed GPIO for reset button. Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40976 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add profile and build image for HiWiFi HC6361.John Crispin2014-06-022-0/+37
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40975 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add user-space support for HiWiFi HC6361 board.John Crispin2014-06-025-0/+13
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40974 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for HiWiFi HC6361.John Crispin2014-06-023-0/+155
| | | | | | | | | | | | | | | | This board manufactured by HiWiFi has the following features. - Atheros 9331 SoC. - 16MB flash and 64MB RAM. - 4GB eMMC storage via SK6226 USB 2.0 controller. - 2 LAN and 1 WAN ethernet ports with LEDs on them. - 3 blue LEDs on the front panel. - 1 button labeled as "reset". - Powered by a USB cable. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40973 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support to TP-LINK TL-WA730RE v1John Crispin2014-06-023-0/+14
| | | | | | | | | | The TL-WA730RE seems to be almost identical to TL-WA701ND, just that it comes without PoE and a stock-firmware claiming the device to be a "Range Extender". Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40972 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix board detection for TL-WA7510NJohn Crispin2014-06-021-1/+4
| | | | | | | | | Detect TL-WA7510N v1 by the board name as defined in mach-tl-wa901nd.c and add hardware ID to tplink_board_detect Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40971 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: enable sysupgrade on wnr2000-v3John Crispin2014-06-021-0/+1
| | | | | | | | tested, works. Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40970 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for dlink dir-615-e1John Crispin2014-06-0210-1/+29
| | | | | | | | | | | | Dlink dir-615-e1 can use dir-600-a1's image, but the image can't be uploaded through dlink's normal firmware update web page. Add profile for dir-615-e1 so the generated image can be uploaded through the firmware update web page. Signed-off-by: Zhao, Gang <gamerh2o@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40969 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: adjust OM2P profile for the OpenMesh OM2P-HSv2 boardJohn Crispin2014-06-021-2/+2
| | | | | | | | Signed-off-by: Marek Lindner <marek@open-mesh.com> [sven@open-mesh.com: Rebased] Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40966 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add sysupgrade support for OpenMesh OM2P-HSv2John Crispin2014-06-022-0/+3
| | | | | | | | Signed-off-by: Marek Lindner <marek@open-mesh.com> [sven@open-mesh.com: Rebased] Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40963 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add user-space support for OpenMesh OM2P-HSv2John Crispin2014-06-023-0/+5
| | | | | | | | Signed-off-by: Marek Lindner <marek@open-mesh.com> [sven@open-mesh.com: Rebased] Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40962 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for the OpenMesh OM2P-HSv2John Crispin2014-06-022-0/+11
| | | | | | | | Signed-off-by: Marek Lindner <marek@open-mesh.com> [sven@open-mesh.com: Rebased] Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40961 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: adjust OM2P profile for the OpenMesh OM2Pv2 boardJohn Crispin2014-06-021-2/+2
| | | | | | | | Signed-off-by: Marek Lindner <marek@open-mesh.com> [sven@open-mesh.com: Rebased] Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40960 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add sysupgrade support for OpenMesh OM2Pv2John Crispin2014-06-021-0/+2
| | | | | | | | Signed-off-by: Marek Lindner <marek@open-mesh.com> [sven@open-mesh.com: Rebased] Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40957 3c298f89-4303-0410-b956-a3cf2f4a3e73