projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lantiq: ltq-atm/ltq-ptm: fix showtime handling on driver load
[openwrt/openwrt.git]
/
package
/
kernel
/
lantiq
/
ltq-ptm
/
src
/
ifxmips_ptm_vdsl.c
diff --git
a/package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.c
b/package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.c
index
0a357f1
..
22f1e23
100644
(file)
--- a/
package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.c
+++ b/
package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.c
@@
-1022,7
+1022,10
@@
static int ifx_ptm_init(void)
enable_irq(PPE_MAILBOX_IGU1_INT);
ifx_mei_atm_showtime_check(&g_showtime, &port_cell, &g_xdata_addr);
enable_irq(PPE_MAILBOX_IGU1_INT);
ifx_mei_atm_showtime_check(&g_showtime, &port_cell, &g_xdata_addr);
-
+ if ( g_showtime ) {
+ ptm_showtime_enter(&port_cell, &g_xdata_addr);
+ }
+
ifx_mei_atm_showtime_enter = ptm_showtime_enter;
ifx_mei_atm_showtime_exit = ptm_showtime_exit;
ifx_mei_atm_showtime_enter = ptm_showtime_enter;
ifx_mei_atm_showtime_exit = ptm_showtime_exit;