aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: Add support for Cisco-Linksys WAP4410NJohn Crispin2015-07-078-0/+307
| | | | | | | | | | This patch adds support for the Cisco WAP4410N, an access point that uses the AR9132 SoC. Web upgrades from stock are not yet possible, UART access required for the initial flash. Signed-off-by: Ryan A Young <rayoung@utexas.edu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46250 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gdb: fix compilation for x86_64 with muslSteven Barth2015-07-072-1/+65
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46249 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for D-Link DIR-615 rev. Ix boardJohn Crispin2015-07-0711-6/+189
| | | | | | | | Based on trunk r46212. Signed-off-by: Jaehoon You <teslamint@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46248 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46247 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46246 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46245 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46244 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: ath9k: fix qca956x name alsoJohn Crispin2015-07-071-0/+8
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46243 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46242 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Use *_eth_cfg helper for Open Mesh MR900 boardsJohn Crispin2015-07-071-20/+1
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46241 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Allow to use ath79_gpio_output_select on QCA955xJohn Crispin2015-07-071-0/+57
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46240 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46239 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46238 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46237 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46236 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: allow pci calibration fixup to work with ar9344John Crispin2015-07-071-0/+3
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46235 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46234 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46233 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: swlib.c: free name and description of attributesJohn Crispin2015-07-072-2/+4
| | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46232 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: swlib.c: free portmaps in swlib_free()John Crispin2015-07-072-1/+15
| | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46231 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46230 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: swlib.c: free device name and aliasJohn Crispin2015-07-072-2/+4
| | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46229 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46228 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46227 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46226 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46225 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46224 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46223 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46222 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46221 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46220 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46219 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46218 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Make ltq-ifxos compile with kernel 4.1John Crispin2015-07-071-22/+97
| | | | | | Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46217 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46216 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: a5-v11 board fix power led blinking at bootJohn Crispin2015-07-071-0/+6
| | | | | | Signed-off-by: Konrad Kotowicz <skoti1@go2.pl> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46215 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46214 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to the latest version, fix stdout loggingRafał Miłecki2015-07-071-2/+3
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46212 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46211 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46210 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: update regulatory database to master-2015-06-05Felix Fietkau2015-07-071-45/+81
| | | | | | Signed-off-by: Petko Bordjukov <bordjukov@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46209 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for ap143Felix Fietkau2015-07-079-0/+274
| | | | | | Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46208 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46207 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46206 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46205 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46204 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46203 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46202 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add missing patch chunkFelix Fietkau2015-07-061-0/+21
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46201 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46200 3c298f89-4303-0410-b956-a3cf2f4a3e73