This patch permits the usage for GPIOs to control the CTS/RTS/DTR/DSR/DCD/RI signals. Changed by Stefan: Only call mctrl_gpio_init(), if the device has no ACPI companion device to not break existing ACPI based systems. Also only use the mctrl_gpio_ functions when "gpios" is available. Use MSR / MCR <-> TIOCM wrapper functions.
Showing the changes to include/linux (1 of 7 files). Show all
Unified · Split
| @@ -110,6 +110,7 @@ struct uart_8250_port { · 109 unmodified lines | ||
| 110 | 110 | * if no_console_suspend |
| 111 | 111 | */ |
| 112 | 112 | unsigned char probe; |
| 113 | + struct mctrl_gpios *gpios; | |
| 113 | 114 | #define UART_PROBE_RSA (1 << 0) |
| 114 | 115 | |
| 115 | 116 | /* |