Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[ARM] 3268/1: AT91RM9200 serial update for 2.6.15-git12

Patch from Andrew Victor

This patch fixes two small issues with 2.6.15-git12.

1) Corrected major/minor numbers for ttyAT devices in the KConfig help.
(Patch from Karl Olsen)

2) tty->flip.count has been removed.

Signed-off-by: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by

Andrew Victor and committed by
Russell King
1230b404 68477d11

+1 -3
+1 -1
drivers/serial/Kconfig
··· 301 301 depends on SERIAL_AT91=y 302 302 help 303 303 Say Y here if you wish to have the five internal AT91RM9200 UARTs 304 - appear as /dev/ttyAT0-4 (major 240, minor 0-4) instead of the 304 + appear as /dev/ttyAT0-4 (major 204, minor 154-158) instead of the 305 305 normal /dev/ttyS0-4 (major 4, minor 64-68). This is necessary if 306 306 you also want other UARTs, such as external 8250/16C550 compatible 307 307 UARTs.
-2
drivers/serial/at91_serial.c
··· 222 222 while (status & (AT91_US_RXRDY)) { 223 223 ch = UART_GET_CHAR(port); 224 224 225 - if (tty->flip.count >= TTY_FLIPBUF_SIZE) 226 - goto ignore_char; 227 225 port->icount.rx++; 228 226 229 227 flg = TTY_NORMAL;