diff mbox

[OpenWrt-Devel] lantiq/xrx200/TDW8970: add ltq-ptm-vr9 to default packages

Message ID 1426544093-10062-2-git-send-email-lynxis@fe80.eu
State Accepted
Headers show

Commit Message

Alexander Couzens March 16, 2015, 10:14 p.m. UTC
ptm(vdsl2) is supported by this device.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
---
 target/linux/lantiq/xrx200/profiles/tplink.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

John Crispin March 17, 2015, 7:17 a.m. UTC | #1
Hi,

does this work with default images ? i recall that when both drivers
are loaded, neither works, or only the first caller. the drivers
register a call back with the mei driver and there is only a slot for
one caller if i remember correctly.

	John

On 16/03/2015 23:14, Alexander Couzens wrote:
> ptm(vdsl2) is supported by this device.
> 
> Signed-off-by: Alexander Couzens <lynxis@fe80.eu> --- 
> target/linux/lantiq/xrx200/profiles/tplink.mk | 2 +- 1 file
> changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/target/linux/lantiq/xrx200/profiles/tplink.mk
> b/target/linux/lantiq/xrx200/profiles/tplink.mk index
> 21880c0..8e016d4 100644 ---
> a/target/linux/lantiq/xrx200/profiles/tplink.mk +++
> b/target/linux/lantiq/xrx200/profiles/tplink.mk @@ -3,7 +3,7 @@
> define Profile/TDW8970 PACKAGES:=kmod-ath9k wpad-mini \ 
> kmod-ltq-deu-vr9 kmod-ltq-hcd-vr9 \ kmod-ltq-vdsl-vr9-mei
> kmod-ltq-vdsl-vr9 \ -	kmod-ltq-atm-vr9 ltq-vdsl-vr9-fw-installer \ 
> +	kmod-ltq-atm-vr9 kmod-ltq-ptm-vr9 ltq-vdsl-vr9-fw-installer \ 
> ltq-vdsl-app ppp-mod-pppoa \ kmod-ledtrig-usbdev endef
>
John Crispin March 17, 2015, 8:47 a.m. UTC | #2
On 17/03/2015 08:17, John Crispin wrote:
> Hi,
> 
> does this work with default images ? i recall that when both drivers
> are loaded, neither works, or only the first caller. the drivers
> register a call back with the mei driver and there is only a slot for
> one caller if i remember correctly.
> 
> 	John
> 


i forgot about his code in dsl_control. just added the patch to my local
queue

case "${xfer_mode}" in
        atm)
                insmod ltq_atm_vr9
                mode=1
                ;;
        *)
                insmod ltq_ptm_vr9
                mode=2
                ;;
        esac
diff mbox

Patch

diff --git a/target/linux/lantiq/xrx200/profiles/tplink.mk b/target/linux/lantiq/xrx200/profiles/tplink.mk
index 21880c0..8e016d4 100644
--- a/target/linux/lantiq/xrx200/profiles/tplink.mk
+++ b/target/linux/lantiq/xrx200/profiles/tplink.mk
@@ -3,7 +3,7 @@  define Profile/TDW8970
   PACKAGES:=kmod-ath9k wpad-mini \
 	kmod-ltq-deu-vr9 kmod-ltq-hcd-vr9 \
 	kmod-ltq-vdsl-vr9-mei kmod-ltq-vdsl-vr9 \
-	kmod-ltq-atm-vr9 ltq-vdsl-vr9-fw-installer \
+	kmod-ltq-atm-vr9 kmod-ltq-ptm-vr9 ltq-vdsl-vr9-fw-installer \
 	ltq-vdsl-app ppp-mod-pppoa \
 	kmod-ledtrig-usbdev
 endef