aboutsummaryrefslogtreecommitdiffstats
path: root/package/ltq-dsl/src/lantiq_mei.c
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2011-10-10 15:14:17 +0000
committerJohn Crispin <john@openwrt.org>2011-10-10 15:14:17 +0000
commit261389b709cb26f4eac6981d0a44ce77de284f2d (patch)
treea0ade5dd7615822bcf8b71cc99be4a9672e20f8c /package/ltq-dsl/src/lantiq_mei.c
parent0a866293bd9e204978c995cb0545c20f8ab63c7e (diff)
downloadupstream-261389b709cb26f4eac6981d0a44ce77de284f2d.tar.gz
upstream-261389b709cb26f4eac6981d0a44ce77de284f2d.tar.bz2
upstream-261389b709cb26f4eac6981d0a44ce77de284f2d.zip
* add support for ar9
* add support for ase (vr9 support is still a todo) SVN-Revision: 28406
Diffstat (limited to 'package/ltq-dsl/src/lantiq_mei.c')
-rw-r--r--package/ltq-dsl/src/lantiq_mei.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/package/ltq-dsl/src/lantiq_mei.c b/package/ltq-dsl/src/lantiq_mei.c
index ac818929cc..aadb098c6d 100644
--- a/package/ltq-dsl/src/lantiq_mei.c
+++ b/package/ltq-dsl/src/lantiq_mei.c
@@ -1351,11 +1351,13 @@ IFX_MEI_RunAdslModem (DSL_DEV_Device_t *pDev)
im2_register = (*LTQ_ICU_IM2_IER) & (1 << 20);
/* Turn off irq */
#ifdef CONFIG_SOC_AMAZON_SE
+#define IFXMIPS_USB_OC_INT0 (INT_NUM_IM4_IRL0 + 23)
disable_irq (IFXMIPS_USB_OC_INT0);
- disable_irq (IFXMIPS_USB_OC_INT2);
- #elif defined(CONFIG_LANTIQ_AR9)
+// disable_irq (IFXMIPS_USB_OC_INT2);
+ #elif defined(CONFIG_SOC_AR9)
+#define IFXMIPS_USB_OC_INT0 (INT_NUM_IM4_IRL1 + 28)
disable_irq (IFXMIPS_USB_OC_INT0);
- disable_irq (IFXMIPS_USB_OC_INT2);
+// disable_irq (IFXMIPS_USB_OC_INT2);
#elif defined(CONFIG_SOC_XWAY)
disable_irq (LTQ_USB_OC_INT);
#else
@@ -1369,10 +1371,10 @@ IFX_MEI_RunAdslModem (DSL_DEV_Device_t *pDev)
#ifdef CONFIG_SOC_AMAZON_SE
MEI_MASK_AND_ACK_IRQ (IFXMIPS_USB_OC_INT0);
- MEI_MASK_AND_ACK_IRQ (IFXMIPS_USB_OC_INT2);
- #elif defined(CONFIG_LANTIQ_AMAZON_S)
+// MEI_MASK_AND_ACK_IRQ (IFXMIPS_USB_OC_INT2);
+ #elif defined(CONFIG_SOC_AR9)
MEI_MASK_AND_ACK_IRQ (IFXMIPS_USB_OC_INT0);
- MEI_MASK_AND_ACK_IRQ (IFXMIPS_USB_OC_INT2);
+// MEI_MASK_AND_ACK_IRQ (IFXMIPS_USB_OC_INT2);
#elif defined(CONFIG_SOC_XWAY)
MEI_MASK_AND_ACK_IRQ (LTQ_USB_OC_INT);
#else