aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/lantiq
Commit message (Collapse)AuthorAgeFilesLines
* lantiq: ltq-deu: Remove the "DEU test manager"Felix Fietkau2016-01-183-13561/+0
| | | | | | | | | | | Remove the "DEU test manager" code which has not been used for more than two years (as the kernel module is not installed anymore since r38731). This fixes compilation on kernel 4.3, which removes aead_request_set_assoc (and newer kernels). Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48308 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: ltq-deu: Make the DEU driver compatible with linux 4.2 and newerFelix Fietkau2016-01-176-6/+6
| | | | | | | | | | | Upstream linux 4.2 commit 84be456f883c4685680fba8e5154b5f72e92957e "remove <asm/scatterlist.h>" requires us to include linux/scatterlist.h instead. This also works with older kernels (at least 4.1, thanks to Hauke Mehrtens for testing). Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48282 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: ltq-vmmc: Fix compilation with linux 4.4John Crispin2016-01-012-5/+5
| | | | | | gpio.h needs the linux/ prefix with linux 4.4. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48057 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: ltq-adsl-mei: fix typoJohn Crispin2015-12-231-1/+1
| | | | | | Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47995 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: ltq-ptm: set carrier statusJohn Crispin2015-12-172-0/+27
| | | | | | | | | | | | | | | | | | | Principal purpose is to prevent the error message ifxmips_ptm_vdsl.c:281:ptm_hard_start_xmit: not in showtime which is printed at least once per second to the serial console, if the ptm interface is not in showtime, but a processes already sends packages over that interface. This happens for adsl as well as vdsl over ptm. It's pppd which sends packages over the ptm device before in showtime. As far as I can see, pppd is started unconditionally since netif can not gather the link status of the ptm network interface. Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47917 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: ltq-atm: set carrier statusJohn Crispin2015-12-171-1/+14
| | | | | | | | | | | | | | This prevents the unconditionally start of pppd since netifd will be triggered if the device goes into showtime. The same applies to lost showtime as well. In compare to the ptm driver, this changeset isn't strictly required, since the "not in showtime" message is limited to the debug loglevel. But it reduces the amount of ppp related messages significant. Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47916 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: get rid of ltq-vdsl-fwJohn Crispin2015-12-119-1259/+0
| | | | | | | | | Because of dsl-vrx200-firmware-xdsl-* there's no need anymore to download a dsl firmware at runtime. Signed-off-by: Andre Heider <a.heider@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47851 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: ltq-vdsl-mei: enable vectoring supportFelix Fietkau2015-12-052-1/+12
| | | | | | | | Dynamic Spectrum Management is a precondition for G.993.5 (VDSL2 vectoring). Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47784 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: ltq-vdsl: update to version 4.16.6.3John Crispin2015-11-242-22/+12
| | | | | | | | | In addition to the update this also fixes some build warnings and makes it use the same configure option as used in Lantiq UGW. Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47635 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: ltq-vdsl-mei: update to version 1.4.8.5John Crispin2015-11-244-27/+53
| | | | | | | | | In addition to the update this also fixes some build warnings and makes it use the same configure option as used in Lantiq UGW. Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47634 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: ltq-vdsl-mei: register char device automaticallyJohn Crispin2015-11-242-5/+36
| | | | | | Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47633 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: ltq-vdsl-mei: add mei_cpe_drv_test applicationJohn Crispin2015-11-241-1/+23
| | | | | | | | This application helps to debug some internal problems in the MEI driver. Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47632 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: ltq-ifxos: fix build warningsJohn Crispin2015-11-243-15/+34
| | | | | | | | | This makes the build script use the same configure options as used by Lantiq UGW and fixes some warnings and cleans up some of the patches. Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47630 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cosmetic: remove trailing whitespacesLuka Perkov2015-10-151-1/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47197 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix use of IRQF_DISABLED in lantiq kmodsJohn Crispin2015-10-115-46/+62
| | | | | | | | | | | | | The IRQF_DISABLED flag was removed in kernel 4.1 with commit "genirq: Remove the deprecated 'IRQF_DISABLED' request_irq() flag entirely" [1]. Therefore the compilation of ltq-hcd and ltq-vmmc kmods fails. [1] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d8bf368d0631d4bc2612d8bf2e4e8e74e620d0cc Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47180 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix gcc 5 buildMatteo Croce2015-10-042-0/+26
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47106 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: remove lantiq specific ATM API hacks and their kernel space users ↵Felix Fietkau2015-09-171-0/+10
| | | | | | | | (fixes #20523) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46984 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Update to the latest DSL driver / application versionsJohn Crispin2015-09-146-415/+294
| | | | | | | | | | | Thanks to Sylwester Petela for testing my patch (successfully on an ADSL connection) and for pointing out some configuration mistakes. Others (including me) have also successfully tested this extensively on VDSL connections. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46920 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Fix ifxos driver on linux 4.1John Crispin2015-07-241-1/+1
| | | | | | | | | | request_mem_region returns NULL when requesting the region failed, and a valid pointer when it was successful. Currently the condition is inverted. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46452 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
* ltq-hcd: remove ar10 and vr9 supportJohn Crispin2015-03-171-4/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44858 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ltq-adsl-mei: fix bugs in linux 3.18 compatiblity changeFelix Fietkau2015-03-161-1/+23
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44845 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ltq-adsl: fix bugs in linux 3.18 compatiblity changeFelix Fietkau2015-03-161-7/+34
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44844 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ltq-vdsl-fw: fix md5sum for new firmwareFelix Fietkau2015-03-151-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44770 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ltq-vdsl-fw: update firmware cutter URL for newer Speedport firmware (fixes ↵Felix Fietkau2015-03-152-4/+4
| | | | | | | | #19160) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44767 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: ltq-ptm-{ar9, ase, xway}: fix alloc_netdev for 3.18John Crispin2015-03-091-1/+1
| | | | | | | | | | | | | buildbot complained about ifxmips_ptm_adsl.c:1445:70: error: macro "alloc_netdev" requires 4 arguments, but only 3 given g_net_dev[i] = alloc_netdev(0, g_net_dev_name[i], ether_setup); ^ fix that similar to the change made to ltq_ptm_vdsl.c compile tested only. Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44632 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix netdev setup in ltq-ptm-vdslJohn Crispin2015-03-051-4/+4
| | | | | | | | | | | | | | | The initial fix for 3.18 in r44346 wrongly treated the newly added parameter of alloc_netdev to be another function pointer, causing ether_config to be skipped during ptm netdev init. Fix this by partially reverting r44346 and properly setting the newly added macro parameter. (Tested on VRX200 board) A similar change might be needed for ltq-ptm-adsl as well. Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44607 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix typo in scriptJohn Crispin2015-02-091-1/+1
| | | | | | | | Fix typo in firmware installer script. Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44351 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix dsl drivers for 3.18John Crispin2015-02-093-5/+18
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44346 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ltq-vmmc: fix broken autoconf invocationJo-Philipp Wich2015-01-111-1/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43934 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ltq-tapi: fix broken autoconf invocationJo-Philipp Wich2015-01-111-5/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43933 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ltq-ifxos: fix broken autoconf invocationJo-Philipp Wich2015-01-111-5/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43932 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ltq-adsl: fix broken autoconf invocationJo-Philipp Wich2015-01-111-5/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43931 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: vr9-vdsl-fw: properly write firmware to flashJohn Crispin2014-10-311-1/+1
| | | | | | | | | | Using a redirect to a non-empty mtd partition will not erase the blocks prior to writing to them resulting in broken dsl_fw. Fix this by piping to mtd write - /dev/mtdX instead. Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43125 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: remove the useless ltqtapi.mk include fileFelix Fietkau2014-10-052-4/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42778 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: revert vr9 driver update as it causes problemsJohn Crispin2014-09-153-7/+7
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42556 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: update to a newer versions of the vr9 driversJohn Crispin2014-09-113-7/+7
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42478 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ltq-deu: fix compile for 3.14John Crispin2014-09-111-0/+4
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42477 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: more PKG_CHECK_FORMAT_SECURITY fixesJohn Crispin2014-07-022-0/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41473 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: more PKG_CHECK_FORMAT_SECURITY related fixesJohn Crispin2014-07-022-0/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41456 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ltq-vdsl-mei: disable PKG_CHECK_FORMAT_SECURITYJohn Crispin2014-07-011-0/+1
| | | | | | | | the build breaks when PKG_CHECK_FORMAT_SECURITY:=1 Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41451 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ltq-hcd: disable mips16 supportFelix Fietkau2014-05-181-0/+2
| | | | | | | | | | This patch disables mips16 support in the ltq-hcd driver because some people reported slow speed and problems with usb storage devices, 3G dongles and wireless usb adapters. Signed-off-by: José Vázquez Fernández <ppvazquezfer@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40775 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ltq-vdsl-fw: vdsl_fw_install.sh: store firmware as tar.gz in flashFelix Fietkau2014-05-061-5/+14
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40716 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ltq-vdsl: force shell to bash to avoid compile errorsFelix Fietkau2014-05-061-0/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40713 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ltq-vdsl-mei: force shell to bash to avoid compile errorsFelix Fietkau2014-05-061-0/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40712 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: cleanup vdsl driver bringupJohn Crispin2014-04-092-2/+4
| | | | | | | | | | | | | | | | config interface 'wan' # a, b, j option annex b # a, b, av, bv option tone b # vdsl.bin option firmware # atm, ptm option xfer_mode atm Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40437 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix ptm crash under loadJohn Crispin2014-03-301-2/+2
| | | | | | | | https://dev.openwrt.org/ticket/14581 Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40335 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ltq-adsl-mei: improve memory allocationJohn Crispin2014-03-301-9/+44
| | | | | | | | | | | | | The ltq-adsl-mei driver allocates memory for the ADSL firmware in a rather stupid way, leading to several 128k allocations, which fail when many services are enabled. This patch tries to allocate 64 kiB chunks, and only falls back to larger allocations if the returned pointers are not correctly aligned. Fixes out-of-memory errors on Danube boards with 32 MiB RAM. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40325 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ltq-vdsl: fix MIPS16 compile breakageJohn Crispin2014-03-301-0/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40308 3c298f89-4303-0410-b956-a3cf2f4a3e73