diff options
Diffstat (limited to 'drivers/serial')
| -rw-r--r-- | drivers/serial/8250_pci.c | 2 | ||||
| -rw-r--r-- | drivers/serial/Kconfig | 10 | ||||
| -rw-r--r-- | drivers/serial/amba-pl011.c | 2 | ||||
| -rw-r--r-- | drivers/serial/pxa.c | 4 |
4 files changed, 9 insertions, 9 deletions
diff --git a/drivers/serial/8250_pci.c b/drivers/serial/8250_pci.c index 8d92adfbb8bd..8adca0ce267f 100644 --- a/drivers/serial/8250_pci.c +++ b/drivers/serial/8250_pci.c | |||
| @@ -516,7 +516,7 @@ pci_timedia_setup(struct serial_private *priv, struct pciserial_board *board, | |||
| 516 | break; | 516 | break; |
| 517 | case 3: | 517 | case 3: |
| 518 | offset = board->uart_offset; | 518 | offset = board->uart_offset; |
| 519 | bar = 1; | 519 | /* FALLTHROUGH */ |
| 520 | case 4: /* BAR 2 */ | 520 | case 4: /* BAR 2 */ |
| 521 | case 5: /* BAR 3 */ | 521 | case 5: /* BAR 3 */ |
| 522 | case 6: /* BAR 4 */ | 522 | case 6: /* BAR 4 */ |
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index ad47c1b84c3f..812bae62c8ec 100644 --- a/drivers/serial/Kconfig +++ b/drivers/serial/Kconfig | |||
| @@ -10,7 +10,7 @@ menu "Serial drivers" | |||
| 10 | # The new 8250/16550 serial drivers | 10 | # The new 8250/16550 serial drivers |
| 11 | config SERIAL_8250 | 11 | config SERIAL_8250 |
| 12 | tristate "8250/16550 and compatible serial support" | 12 | tristate "8250/16550 and compatible serial support" |
| 13 | depends on (BROKEN || !(SPARC64 || SPARC32)) | 13 | depends on (BROKEN || !SPARC) |
| 14 | select SERIAL_CORE | 14 | select SERIAL_CORE |
| 15 | ---help--- | 15 | ---help--- |
| 16 | This selects whether you want to include the driver for the standard | 16 | This selects whether you want to include the driver for the standard |
| @@ -469,14 +469,14 @@ config SERIAL_IMX_CONSOLE | |||
| 469 | 469 | ||
| 470 | config SERIAL_SUNCORE | 470 | config SERIAL_SUNCORE |
| 471 | bool | 471 | bool |
| 472 | depends on SPARC32 || SPARC64 | 472 | depends on SPARC |
| 473 | select SERIAL_CORE | 473 | select SERIAL_CORE |
| 474 | select SERIAL_CORE_CONSOLE | 474 | select SERIAL_CORE_CONSOLE |
| 475 | default y | 475 | default y |
| 476 | 476 | ||
| 477 | config SERIAL_SUNZILOG | 477 | config SERIAL_SUNZILOG |
| 478 | tristate "Sun Zilog8530 serial support" | 478 | tristate "Sun Zilog8530 serial support" |
| 479 | depends on SPARC32 || SPARC64 | 479 | depends on SPARC |
| 480 | help | 480 | help |
| 481 | This driver supports the Zilog8530 serial ports found on many Sparc | 481 | This driver supports the Zilog8530 serial ports found on many Sparc |
| 482 | systems. Say Y or M if you want to be able to these serial ports. | 482 | systems. Say Y or M if you want to be able to these serial ports. |
| @@ -491,7 +491,7 @@ config SERIAL_SUNZILOG_CONSOLE | |||
| 491 | 491 | ||
| 492 | config SERIAL_SUNSU | 492 | config SERIAL_SUNSU |
| 493 | tristate "Sun SU serial support" | 493 | tristate "Sun SU serial support" |
| 494 | depends on (SPARC32 || SPARC64) && PCI | 494 | depends on SPARC && PCI |
| 495 | help | 495 | help |
| 496 | This driver supports the 8250 serial ports that run the keyboard and | 496 | This driver supports the 8250 serial ports that run the keyboard and |
| 497 | mouse on (PCI) UltraSPARC systems. Say Y or M if you want to be able | 497 | mouse on (PCI) UltraSPARC systems. Say Y or M if you want to be able |
| @@ -547,7 +547,7 @@ config PDC_CONSOLE | |||
| 547 | 547 | ||
| 548 | config SERIAL_SUNSAB | 548 | config SERIAL_SUNSAB |
| 549 | tristate "Sun Siemens SAB82532 serial support" | 549 | tristate "Sun Siemens SAB82532 serial support" |
| 550 | depends on (SPARC32 || SPARC64) && PCI | 550 | depends on SPARC && PCI |
| 551 | help | 551 | help |
| 552 | This driver supports the Siemens SAB82532 DUSCC serial ports on newer | 552 | This driver supports the Siemens SAB82532 DUSCC serial ports on newer |
| 553 | (PCI) UltraSPARC systems. Say Y or M if you want to be able to these | 553 | (PCI) UltraSPARC systems. Say Y or M if you want to be able to these |
diff --git a/drivers/serial/amba-pl011.c b/drivers/serial/amba-pl011.c index 89d7bd3eaee3..d84476ee6592 100644 --- a/drivers/serial/amba-pl011.c +++ b/drivers/serial/amba-pl011.c | |||
| @@ -160,7 +160,7 @@ pl011_rx_chars(struct uart_amba_port *uap) | |||
| 160 | flag = TTY_FRAME; | 160 | flag = TTY_FRAME; |
| 161 | } | 161 | } |
| 162 | 162 | ||
| 163 | if (uart_handle_sysrq_char(&uap->port, ch, regs)) | 163 | if (uart_handle_sysrq_char(&uap->port, ch & 255, regs)) |
| 164 | goto ignore_char; | 164 | goto ignore_char; |
| 165 | 165 | ||
| 166 | uart_insert_char(&uap->port, ch, UART011_DR_OE, ch, flag); | 166 | uart_insert_char(&uap->port, ch, UART011_DR_OE, ch, flag); |
diff --git a/drivers/serial/pxa.c b/drivers/serial/pxa.c index ff5e6309d682..cc998b99a19f 100644 --- a/drivers/serial/pxa.c +++ b/drivers/serial/pxa.c | |||
| @@ -361,7 +361,7 @@ static int serial_pxa_startup(struct uart_port *port) | |||
| 361 | if (port->line == 3) /* HWUART */ | 361 | if (port->line == 3) /* HWUART */ |
| 362 | up->mcr |= UART_MCR_AFE; | 362 | up->mcr |= UART_MCR_AFE; |
| 363 | else | 363 | else |
| 364 | up->mcr = 0; | 364 | up->mcr = 0; |
| 365 | 365 | ||
| 366 | /* | 366 | /* |
| 367 | * Allocate the IRQ | 367 | * Allocate the IRQ |
| @@ -641,7 +641,7 @@ serial_pxa_console_write(struct console *co, const char *s, unsigned int count) | |||
| 641 | int i; | 641 | int i; |
| 642 | 642 | ||
| 643 | /* | 643 | /* |
| 644 | * First save the UER then disable the interrupts | 644 | * First save the IER then disable the interrupts |
| 645 | */ | 645 | */ |
| 646 | ier = serial_in(up, UART_IER); | 646 | ier = serial_in(up, UART_IER); |
| 647 | serial_out(up, UART_IER, UART_IER_UUE); | 647 | serial_out(up, UART_IER, UART_IER_UUE); |
