aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/lantiq/ltq-ptm
Commit message (Collapse)AuthorAgeFilesLines
* build: include BUILD_VARIANT in PKG_BUILD_DIRJeffery To2019-09-041-1/+0
| | | | | | | | | | | | This changes the default PKG_BUILD_DIR to take BUILD_VARIANT into account (if set), so that packages do not need to manually override PKG_BUILD_DIR just to handle variants. This also updates most base packages with variants to use the updated default PKG_BUILD_DIR. Signed-off-by: Jeffery To <jeffery.to@gmail.com> (cherry picked from commit e545fac8d968864a965edb9e50c6f90940b0a6c9)
* ltq-atm/ltq-ptm: re-enable/fix reset_ppe() functionality for VR9Martin Schiller2019-03-108-42/+128
| | | | | | | | | | | | | | | This patch re-enables the reset_ppe() functionality for VR9 targets by using the new lantiq rcu subsystem. The reset sequence in the reset_ppe() function was taken from the ppa datapath driver of lantiq UGW 7.4.1. Additionally it adds the required reset definitions to the vr9 dtsi file. It also prepares the reset_ppe() function calls for the other lantiq targets. This feature is needed to be able to switch between ltq-atm/ltq-ptm driver in ATM/PTM Auto-Mode at runtime. Signed-off-by: Martin Schiller <ms@dev.tdt.de>
* lantiq: fix lantiq applications kernel 4.14 compatiblityHauke Mehrtens2018-02-202-1/+24
| | | | | | | | This is fixing multiple compile problems with kernel 4.14 and updates the code to take care of changes introduced between kernel 4.9 and 4.14. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: create ATM/PTM interfaces with dsl as netdev nameMathias Kresin2018-01-102-4/+4
| | | | | | | | | | | | | | | | | | | | | Renaming an atm etherbride using 'ip link' (via hotplug) is racy since the original netdev might disappear before br2684ctl has finished appling it's setting: local2.notice br2684ctl[1667]: Interface "nas0" created sucessfully local2.notice br2684ctl[1667]: Communicating over ATM 0.8.35, encapsulation: LLC kern.info kernel: dsl0: renamed from nas0 kern.err kernel: br2684:br2684_regvcc: tried to attach to non-existent device local2.err br2684ctl[1667]: Could not configure interface:No such device or address By passing the final used netdev name to br2684ctl_wrap another race condition workaround will be enabled again. Change the lantiq ptm driver to create a netdev with the name dsl as well. Albeit the rename via 'ip link' works fine so far, using a different approach for ptm then atm could be confusing. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ltq-ptm: add missing depency to ltq-?dsl-*-meiJonas Gorski2017-11-071-0/+5
| | | | | | | Add the required dependency to the mei driver as cought by the depenceny checker. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* ltq-ptm: mark AmazonSE support as brokenMathias Kresin2017-10-041-0/+3
| | | | | | | | Albeit ltq-ptm is supported on AmazonSE, the package fails to compile. Mark the AmazonSE variant as broken to not mark it unnecessary harder to fix (and test) the compile error. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: ltq-ptm: fix ADSL showtime handlerDaniel Golle2017-08-291-1/+1
| | | | | | | commit 2d6c7c2526b6 introduced a reference to g_xdata_addr which isn't defined in that context. Use xdata_addr here instead. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* lantiq: ltq-atm/ltq-ptm: fix showtime handling on driver loadMartin Schiller2017-08-062-1/+7
| | | | | | | | This is needed to be able to load the ltq-atm/ltq-ptm driver from a notify script during synchronization, because the line can reach showtime state before the driver is fully loaded. Signed-off-by: Martin Schiller <ms@dev.tdt.de>
* treewide: add license tagsFlorian Eckert2017-06-241-0/+1
| | | | | | Add licence tags where missing. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* ltq-ptm: use netif_trans_update() only for kernel >= 4.7Hauke Mehrtens2017-02-122-4/+4
| | | | | | | This fixes a bug introduced in commit c7ce9908bd58af60153716aa64a7251 "ltq-ptm: fix build with kernel 4.9" Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ltq-ptm: fix build with kernel 4.9Hauke Mehrtens2017-02-112-0/+16
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel/lantiq/ltq-*: drop Build/Prepare rule in favor of default oneAlexandru Ardelean2016-10-151-5/+0
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* ltq-ptm: Support 1508-byte MTU for RFC4638David Woodhouse2016-10-152-2/+22
| | | | | | | | | | Tested with VDSL on TP-Link WD8970, I see full 1500-byte PPP data frames, which end up being 1526 byte Ethernet frames (including Ethernet+VLAN headers) on the wire. Fixes: FS#210 Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* global: change my email addressJohn Crispin2016-05-121-1/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* 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> SVN-Revision: 47917
* lantiq: Make ATM and PTM drivers compatible with kernel 4.1John Crispin2015-07-072-0/+8
| | | | | | Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 46218
* 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> SVN-Revision: 44632
* 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> SVN-Revision: 44607
* lantiq: fix dsl drivers for 3.18John Crispin2015-02-091-4/+4
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44346
* lantiq: cleanup vdsl driver bringupJohn Crispin2014-04-091-1/+0
| | | | | | | | | | | | | | | | 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> SVN-Revision: 40437
* 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> SVN-Revision: 40335
* lantiq: fix ltq_ptm compileJohn Crispin2013-10-072-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38329
* lantiq: update packages for v3.10John Crispin2013-09-171-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38028
* packages: clean up the package folderJohn Crispin2013-06-2127-0/+9005
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37007