- /* Stop the channel on UART side hardware failure, e.g. stray
- * characters or neverending lines. This may be caused by bad
- * UART wiring, a bad ELM327, a bad UART bridge...
- * Once this is true, nothing will be sent to the TTY.
- */
- bool uart_side_failure;
-
- /* TTY TX helpers */
- struct work_struct tx_work; /* Flushes TTY TX buffer */
- u8 *txbuf; /* Pointer to our TX buffer */
- u8 *txhead; /* Pointer to next TX byte */
- unsigned txleft; /* Bytes left to TX */
-
- /* TTY RX helpers */
- u8 rxbuf[ELM327_SIZE_RXBUF];
- int rxfill;
-