aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.h
diff options
context:
space:
mode:
authorAntti Seppälä <a.seppala@gmail.com>2021-01-03 17:09:39 +0200
committerDaniel Golle <daniel@makrotopia.org>2021-02-12 05:07:04 +0000
commit38646938a458d0d9eda7ea3d14e182892470efe8 (patch)
tree01dc9740e7fb62834f046772872be7dffd662f79 /package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.h
parent6934d30cf8d95bc8652b4dcd8180d14e5e8e2417 (diff)
downloadupstream-38646938a458d0d9eda7ea3d14e182892470efe8.tar.gz
upstream-38646938a458d0d9eda7ea3d14e182892470efe8.tar.bz2
upstream-38646938a458d0d9eda7ea3d14e182892470efe8.zip
ltq-ptm: Update VR9 PTM firmware
After looking at various vendor GPL source code dumps I discovered that some of them contain updated versions of ltq-ptm driver when compared to what openwrt has. The driver update is mostly cursory (simple changes to comments, whitespace, formatting etc.) or adds debug features not used by openwrt. However the updated driver also contains a later version of PTM firmware which is extracted and included in this commit along with bits to correctly identify its version when driver loads. Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
Diffstat (limited to 'package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.h')
-rw-r--r--package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.h b/package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.h
index c0318805c5..b12c354fe0 100644
--- a/package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.h
+++ b/package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.h
@@ -111,7 +111,7 @@ struct ptm_priv_data {
extern unsigned int ifx_ptm_dbg_enable;
-extern void ifx_ptm_get_fw_ver(unsigned int *major, unsigned int *minor);
+extern void ifx_ptm_get_fw_ver(unsigned int *major, unsigned int *mid, unsigned int *minor);
extern void ifx_ptm_init_chip(struct platform_device *pdev);
extern void ifx_ptm_uninit_chip(void);