FreeCalypso > hg > fc-magnetite
comparison src/cs/drivers/drv_app/uart/uartfax.c @ 683:81394dcdf4d3
uartfax.c: OM-style wakeup interrupt implemented for Tango
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 26 Jun 2020 03:06:16 +0000 |
parents | 17b7b92e7dba |
children | 005151e56328 |
comparison
equal
deleted
inserted
replaced
682:17b7b92e7dba | 683:81394dcdf4d3 |
---|---|
2598 else { | 2598 else { |
2599 | 2599 |
2600 uart->tx_stopped_by_driver = 0; | 2600 uart->tx_stopped_by_driver = 0; |
2601 #ifdef CONFIG_TARGET_GTAMODEM | 2601 #ifdef CONFIG_TARGET_GTAMODEM |
2602 AI_ResetBit(1); | 2602 AI_ResetBit(1); |
2603 #elif defined(CONFIG_TANGO_MODEM) | |
2604 if (AI_Tango_pinmux[0] == 0x82) | |
2605 AI_ResetBit(1); | |
2603 #endif | 2606 #endif |
2604 | 2607 |
2605 #if ((CHIPSET != 5) && (CHIPSET != 6)) | 2608 #if ((CHIPSET != 5) && (CHIPSET != 6)) |
2606 /* | 2609 /* |
2607 * Disable sleep mode. | 2610 * Disable sleep mode. |
4379 /* If we have been stopped due to high RTS, we have to | 4382 /* If we have been stopped due to high RTS, we have to |
4380 * wake up application processor by IRQ via IO1 -HW */ | 4383 * wake up application processor by IRQ via IO1 -HW */ |
4381 #ifdef CONFIG_TARGET_GTAMODEM | 4384 #ifdef CONFIG_TARGET_GTAMODEM |
4382 if (uart->tx_stopped_by_driver) | 4385 if (uart->tx_stopped_by_driver) |
4383 AI_SetBit(1); | 4386 AI_SetBit(1); |
4387 #elif defined(CONFIG_TANGO_MODEM) | |
4388 if (AI_Tango_pinmux[0] == 0x82 && uart->tx_stopped_by_driver) | |
4389 AI_SetBit(1); | |
4384 #endif | 4390 #endif |
4385 | 4391 |
4386 /* | 4392 /* |
4387 * If: | 4393 * If: |
4388 * - there is no break to send, | 4394 * - there is no break to send, |