aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mips: Free memory when load_module fails (#14453)John Crispin2015-07-074-15/+200
| | | | | | | | | | | | | | | | | | | | | | The mips reloc patch introduced new allocations which were done before add_unformed_module but never freed them in case of an error. A new hook in Linux 3.19 called module_arch_freeing_init can be used for freeing memory which were allocated during this init phase. The problem can be seen when trying to load a module (via busybox insmod) when it was already loaded. free -m for i in `seq 1 100`; do /sbin/insmod /lib/modules/*/ath9k.ko >& /dev/null done free -m This simple loop would leak ~3.2 MB. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 46247
* ubus: bump to latest git HEADJohn Crispin2015-07-071-2/+2
| | | | | | | | fixes a bug where gid was checked twice instead of the uid/gid combo Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46246
* mac80211: Drop ath10k workaround for providing calibration dataJohn Crispin2015-07-071-18/+0
| | | | | | | | | | Ath10k has now a proper method of providing calibration data via the kernel firmware API. This patch can be dropped as all boards now use the proper method. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> SVN-Revision: 46245
* ar71xx: Unify ath10k calibration data loadingJohn Crispin2015-07-072-87/+49
| | | | | | | | | | | | | Currently one board uses the "proper" way of providing firmware with the name ath10k/cal-pci-<pci address>.bin, whereas other boards patch board.bin template in preinit and rely on a custom ath10k patch to use calibration data from the template. This patch makes all boards use the first method. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> SVN-Revision: 46244
* mac80211: ath9k: fix qca956x name alsoJohn Crispin2015-07-071-0/+8
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 46243
* kernel: move wpan to separate menuJohn Crispin2015-07-071-1/+1
| | | | | | | | bluetooth is separate from 802.11 entries too Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> SVN-Revision: 46242
* ar71xx: Use *_eth_cfg helper for Open Mesh MR900 boardsJohn Crispin2015-07-071-20/+1
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 46241
* ar71xx: Allow to use ath79_gpio_output_select on QCA955xJohn Crispin2015-07-071-0/+57
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 46240
* sysctl: read settings from /etc/sysctl.d/*.confJohn Crispin2015-07-074-4/+12
| | | | | | | | | This changes makes it possible to store custom settings in individual files inside the directory /etc/sysctl.d/. Signed-off-by: Stefan Tomanek <stefan.tomanek+openwrt@wertarbyte.de> SVN-Revision: 46239
* ar71xx: add support for TL-WR741ND v5John Crispin2015-07-071-1/+9
| | | | | | | | | This device is identical to the TL-WR740N v5, it even uses the same HWID (which wasn't the case for older TL-WR741ND revisions). Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 46238
* generic: mtd backport for Spansion S25FL164KJohn Crispin2015-07-073-0/+36
| | | | | | | | | Backport for the Spansion S25FL164K It's a 8 MiB flash chip with 4 KiB erase sectors. Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 46237
* ar71xx: Add Support for the Bitmain Antminer S3John Crispin2015-07-0711-2/+172
| | | | | | | | | | This patch adds support for the Bitmain Antminer S3 Cryptocurrency Miner http://wiki.openwrt.org/toh/bitmain/s3 Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 46236
* ar71xx: allow pci calibration fixup to work with ar9344John Crispin2015-07-071-0/+3
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 46235
* ar71xx: add support for ubnt rocket-m tiJohn Crispin2015-07-077-1/+164
| | | | | | | | | | | rocket-m titanium is a device based on ar9344 with 802.11af poe. It doesn't use the SoC wifi, instead it's using an ar9280 connected to the pci bus. The gps version of the rocket-m ti is working, but gps is untested. The gps is connected to the first serial port. Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 46234
* x86/xen_domu: enable image generationJohn Crispin2015-07-071-1/+1
| | | | | | | | | | | Add features ext4 targz to target x86/xen_domu in order to generate images in defconfig. This fixes #18074. Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com> SVN-Revision: 46233
* swconfig: swlib.c: free name and description of attributesJohn Crispin2015-07-072-2/+4
| | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> SVN-Revision: 46232
* swconfig: swlib.c: free portmaps in swlib_free()John Crispin2015-07-072-1/+15
| | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> SVN-Revision: 46231
* swconfig: swlib.c: remove const qualifier for val.s since this is supposed ↵John Crispin2015-07-072-2/+2
| | | | | | | | to be free'd Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> SVN-Revision: 46230
* swconfig: swlib.c: free device name and aliasJohn Crispin2015-07-072-2/+4
| | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> SVN-Revision: 46229
* ar71xx: Enable sysupgrade on the Bitmain Antminer S1John Crispin2015-07-071-0/+1
| | | | | | | | This patch enables sysupgrade for the Bitmain Antminer S1 Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 46228
* ar71xx: Fix WAN port location on EnGenius ESR1750 and EPG5000.John Crispin2015-07-071-2/+2
| | | | | | | | The designated blue WAN port on both devices has index 5, not 1. Signed-off-by: Christian Beier <cb@shoutrlabs.com> SVN-Revision: 46227
* ar71xx: add LED defaults for the EnGenius EPG5000John Crispin2015-07-071-0/+5
| | | | | | | | NB that wlan5g is phy0tpt and wlan2g phy1tpt. Signed-off-by: Christian Beier <cb@shoutrlabs.com> SVN-Revision: 46226
* uboot-lantiq: Add support for Arcadyan ARV8539PW22 (Speedport W 504V)John Crispin2015-07-072-0/+260
| | | | | | | | uboot-lantiq: Add support for Arcadyan ARV8539PW22 (Speedport W 504V) Signed-off-by: Jannis Pinter <jannis@pinterjann.is> SVN-Revision: 46225
* lantiq: Add support for Arcadyan ARV8539PW22 (Speedport W 504V)John Crispin2015-07-075-1/+185
| | | | | | | | lantiq: Add support for Arcadyan ARV8539PW22 (Speedport W 504V) Signed-off-by: Jannis Pinter <jannis@pinterjann.is> SVN-Revision: 46224
* lantiq: Add support for the BT Home Hub 5AJohn Crispin2015-07-077-2/+360
| | | | | | | | | | | | | | | u-boot support depends on the next "upstream" version ([0]) from Daniel Schwierzeck. Since the installation process is quite complicated a "how to" was added to the wiki: [1] [0] https://github.com/danielschwierzeck/u-boot-lantiq/tree/openwrt/v2014.01-next [1] http://wiki.openwrt.org/toh/bt/homehub_v5a V2: Use the correct PCI interrupt (fixes 2.4GHz wifi) Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 46223
* lantiq: Silence the printk when a PCIe error interrupt arrivesJohn Crispin2015-07-071-1/+1
| | | | | | | | | | Basically the only error I am seeing is "Correctable Error". Also newer lantiq PCIe drivers have this message wrapped in a "if debug enabled" block. So it should be safe to disable this warning. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 46222
* lantiq: Make the MEI address available for kernel driversJohn Crispin2015-07-071-0/+1
| | | | | | | | Newer DSL driver versions depend on the address information. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 46221
* generic: Allow configuring an increment with mtd-mac-addressJohn Crispin2015-07-073-12/+24
| | | | | | | | | This is useful if the device also has an ethernet WAN interface with a separate mac address (that is derived from the LAN mac address). Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 46220
* lantiq: Change the data-type of mac address in ETOP driverJohn Crispin2015-07-072-10/+1
| | | | | | | | Make it consistent with the net_device struct and the xrx200 driver Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 46219
* lantiq: Make ATM and PTM drivers compatible with kernel 4.1John Crispin2015-07-073-0/+12
| | | | | | Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 46218
* lantiq: Make ltq-ifxos compile with kernel 4.1John Crispin2015-07-071-22/+97
| | | | | | Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 46217
* lantiq: Add support for linux 4.1John Crispin2015-07-0739-0/+19662
| | | | | | | | | | | | | | | | All (still relevant) patches were refresh. The following patches were dropped because they are applied upstream: - 0003-MIPS-lantiq-handle-vmmc-memory-reservation.patch - 0005-MIPS-lantiq-add-reset-controller-api-support.patch - 0006-MIPS-lantiq-reboot-gphy-on-restart.patch - 0009-MIPS-lantiq-command-line-work-around.patch - 0010-MIPS-lantiq-export-soc-type.patch - 0011-lantiq-add-support-for-xrx200-firmware-depending-on-.patch - 0037-MIPS-lantiq-move-eiu-init-after-irq_domain-register.patch Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 46216
* ramips: a5-v11 board fix power led blinking at bootJohn Crispin2015-07-071-0/+6
| | | | | | Signed-off-by: Konrad Kotowicz <skoti1@go2.pl> SVN-Revision: 46215
* ramips: fix typo in WHR1166D mtd size variableJohn Crispin2015-07-071-1/+1
| | | | | | | | Fix typo in WHR1166D mtd size variable Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> SVN-Revision: 46214
* procd: update to the latest version, fix stdout loggingRafał Miłecki2015-07-071-2/+3
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46212
* dnsmasq: Add sequential_ip UCI parameterSteven Barth2015-07-071-0/+1
| | | | | | | | | When enabled the dnsmasq DHCP server allocates the IP addresses sequentially starting from the lowest available IP address. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> SVN-Revision: 46211
* dnsmasq: enable extra tracing by default when UCI parameter logqueries is setSteven Barth2015-07-071-1/+1
| | | | | | Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> SVN-Revision: 46210
* mac80211: update regulatory database to master-2015-06-05Felix Fietkau2015-07-071-45/+81
| | | | | | Signed-off-by: Petko Bordjukov <bordjukov@gmail.com> SVN-Revision: 46209
* ar71xx: add support for ap143Felix Fietkau2015-07-079-0/+274
| | | | | | Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org> SVN-Revision: 46208
* ar71xx: rework patch for qca953x/956xFelix Fietkau2015-07-074-157/+379
| | | | | | | | | | | | | | | | | | | Patch cherry-picked from the following location: https://www.codeaurora.org/cgit/quic/qsdk/oss/system/openwrt/commit/?h=release/coconut_ioe4531_2.0&id=5c357bf6c763e4140dddcc9a3bc5f005525a9c0e Changelist, - add more register defines - add EHCI support - fix GPIO pin count to 18 - fix chained irq disabled - fix GMAC0/GMAC1 initial - fix WMAC irq number to 47 - merge the changes of dev-eth.c from the patch to file. Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org> Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 46207
* ar71xx: fix ethernet initialization on QCA953x-based boards (TP-Link ↵Felix Fietkau2015-07-072-0/+13
| | | | | | | | | | | | TL-WR841N/ND v9, Compex WPJ531) The initialization routines for these boards were relying on some (wrong) defaults for the QCA953x ethernet. Make these defaults explicit to prevent breaking them when the QCA953x defaults are fixed. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 46206
* mac80211: fix compile warning in rt2800lib.cHauke Mehrtens2015-07-061-7/+8
| | | | | | | | | reorder some parts of the patch to remove the declaration-after- statement warning. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46205
* mac80211: add kernel 4.1 support againHauke Mehrtens2015-07-061-1/+0
| | | | | | | | The new version now works with kernel 4.1 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46204
* mac80211: remove useless patchHauke Mehrtens2015-07-061-16/+0
| | | | | | | | | | | unregister_netdevice_many() was extended in this commit to also delete unreg_list: https://git.kernel.org/cgit/linux/kernel/git/backports/backports.git/commit/?id=97666f936e0656a1b28c40cc33981a8db65e1a11 This patch is no longer needed. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46203
* mac80211: remove useless patchHauke Mehrtens2015-07-061-10/+0
| | | | | | | | | | | | This patch was already applied upstream, linux/device.h gets included 2 lines above this change. This was done in this commit: https://git.kernel.org/cgit/linux/kernel/git/backports/backports.git/commit/?id=fd6bb301116d48c50722b0a4399e26ab0237e563 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46202
* mac80211: add missing patch chunkFelix Fietkau2015-07-061-0/+21
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46201
* ar71xx: fix kernel Oops in at803x_link_change_notifyFelix Fietkau2015-07-061-1/+1
| | | | | | | | | | | | r45954 ("ar71xx: fix 100/10mbps ethernet link issues on mynet range extender") introduced a pdata based modification of the tx_clk_dly. But it was not checked if pdata actually existed. This caused a page fault on all devices which didn't have at803x_platform_data specified for an at803x based device. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 46200
* ubus: update to the latest version, fixes a segfault on message retryFelix Fietkau2015-07-061-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46199
* mac80211: update to version 2015-06-22Felix Fietkau2015-07-06177-11380/+1062
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46198
* ath10k: remove support for the obsolete STA firmwareFelix Fietkau2015-07-061-19/+0
| | | | | | | | | | | Current firmware should work for station mode as well, and the older firmware will usually behave worse and become unsupported over time. Also, the MAC address handling on ar71xx is only implemented on one firmware version. Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46197