Commit 749c4e60 authored by Haavard Skinnemoen's avatar Haavard Skinnemoen Committed by Linus Torvalds

[PATCH] at91_serial -> atmel_serial: Kconfig symbols

Rename the following Kconfig symbols:
  * CONFIG_SERIAL_AT91 -> CONFIG_SERIAL_ATMEL
  * CONFIG_SERIAL_AT91_CONSOLE -> CONFIG_SERIAL_ATMEL_CONSOLE
  * CONFIG_SERIAL_AT91_TTYAT -> CONFIG_SERIAL_ATMEL_TTYAT
Signed-off-by: default avatarHaavard Skinnemoen <hskinnemoen@atmel.com>
Acked-by: default avatarAndrew Victor <andrew@sanpeople.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent b6156b4e
...@@ -553,9 +553,9 @@ CONFIG_HW_CONSOLE=y ...@@ -553,9 +553,9 @@ CONFIG_HW_CONSOLE=y
# #
# Non-8250 serial port support # Non-8250 serial port support
# #
CONFIG_SERIAL_AT91=y CONFIG_SERIAL_ATMEL=y
CONFIG_SERIAL_AT91_CONSOLE=y CONFIG_SERIAL_ATMEL_CONSOLE=y
# CONFIG_SERIAL_AT91_TTYAT is not set # CONFIG_SERIAL_ATMEL_TTYAT is not set
CONFIG_SERIAL_CORE=y CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_UNIX98_PTYS=y CONFIG_UNIX98_PTYS=y
......
...@@ -534,9 +534,9 @@ CONFIG_HW_CONSOLE=y ...@@ -534,9 +534,9 @@ CONFIG_HW_CONSOLE=y
# #
# Non-8250 serial port support # Non-8250 serial port support
# #
CONFIG_SERIAL_AT91=y CONFIG_SERIAL_ATMEL=y
CONFIG_SERIAL_AT91_CONSOLE=y CONFIG_SERIAL_ATMEL_CONSOLE=y
# CONFIG_SERIAL_AT91_TTYAT is not set # CONFIG_SERIAL_ATMEL_TTYAT is not set
CONFIG_SERIAL_CORE=y CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_UNIX98_PTYS=y CONFIG_UNIX98_PTYS=y
......
...@@ -656,9 +656,9 @@ CONFIG_HW_CONSOLE=y ...@@ -656,9 +656,9 @@ CONFIG_HW_CONSOLE=y
# #
# Non-8250 serial port support # Non-8250 serial port support
# #
CONFIG_SERIAL_AT91=y CONFIG_SERIAL_ATMEL=y
CONFIG_SERIAL_AT91_CONSOLE=y CONFIG_SERIAL_ATMEL_CONSOLE=y
# CONFIG_SERIAL_AT91_TTYAT is not set # CONFIG_SERIAL_ATMEL_TTYAT is not set
CONFIG_SERIAL_CORE=y CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_UNIX98_PTYS=y CONFIG_UNIX98_PTYS=y
......
...@@ -455,8 +455,8 @@ CONFIG_HW_CONSOLE=y ...@@ -455,8 +455,8 @@ CONFIG_HW_CONSOLE=y
# #
# Non-8250 serial port support # Non-8250 serial port support
# #
CONFIG_SERIAL_AT91=y CONFIG_SERIAL_ATMEL=y
CONFIG_SERIAL_AT91_CONSOLE=y CONFIG_SERIAL_ATMEL_CONSOLE=y
CONFIG_SERIAL_CORE=y CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_UNIX98_PTYS=y CONFIG_UNIX98_PTYS=y
......
...@@ -591,9 +591,9 @@ CONFIG_HW_CONSOLE=y ...@@ -591,9 +591,9 @@ CONFIG_HW_CONSOLE=y
# #
# Non-8250 serial port support # Non-8250 serial port support
# #
CONFIG_SERIAL_AT91=y CONFIG_SERIAL_ATMEL=y
CONFIG_SERIAL_AT91_CONSOLE=y CONFIG_SERIAL_ATMEL_CONSOLE=y
# CONFIG_SERIAL_AT91_TTYAT is not set # CONFIG_SERIAL_ATMEL_TTYAT is not set
CONFIG_SERIAL_CORE=y CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_UNIX98_PTYS=y CONFIG_UNIX98_PTYS=y
......
...@@ -591,9 +591,9 @@ CONFIG_HW_CONSOLE=y ...@@ -591,9 +591,9 @@ CONFIG_HW_CONSOLE=y
# #
# Non-8250 serial port support # Non-8250 serial port support
# #
CONFIG_SERIAL_AT91=y CONFIG_SERIAL_ATMEL=y
CONFIG_SERIAL_AT91_CONSOLE=y CONFIG_SERIAL_ATMEL_CONSOLE=y
# CONFIG_SERIAL_AT91_TTYAT is not set # CONFIG_SERIAL_ATMEL_TTYAT is not set
CONFIG_SERIAL_CORE=y CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_UNIX98_PTYS=y CONFIG_UNIX98_PTYS=y
......
...@@ -536,9 +536,9 @@ CONFIG_HW_CONSOLE=y ...@@ -536,9 +536,9 @@ CONFIG_HW_CONSOLE=y
# #
# Non-8250 serial port support # Non-8250 serial port support
# #
CONFIG_SERIAL_AT91=y CONFIG_SERIAL_ATMEL=y
CONFIG_SERIAL_AT91_CONSOLE=y CONFIG_SERIAL_ATMEL_CONSOLE=y
# CONFIG_SERIAL_AT91_TTYAT is not set # CONFIG_SERIAL_ATMEL_TTYAT is not set
CONFIG_SERIAL_CORE=y CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_UNIX98_PTYS=y CONFIG_UNIX98_PTYS=y
......
...@@ -418,8 +418,8 @@ CONFIG_HW_CONSOLE=y ...@@ -418,8 +418,8 @@ CONFIG_HW_CONSOLE=y
# #
# Non-8250 serial port support # Non-8250 serial port support
# #
CONFIG_SERIAL_AT91=y CONFIG_SERIAL_ATMEL=y
CONFIG_SERIAL_AT91_CONSOLE=y CONFIG_SERIAL_ATMEL_CONSOLE=y
CONFIG_SERIAL_CORE=y CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_UNIX98_PTYS=y CONFIG_UNIX98_PTYS=y
......
...@@ -583,9 +583,9 @@ CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 ...@@ -583,9 +583,9 @@ CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# #
# Non-8250 serial port support # Non-8250 serial port support
# #
CONFIG_SERIAL_AT91=y CONFIG_SERIAL_ATMEL=y
CONFIG_SERIAL_AT91_CONSOLE=y CONFIG_SERIAL_ATMEL_CONSOLE=y
# CONFIG_SERIAL_AT91_TTYAT is not set # CONFIG_SERIAL_ATMEL_TTYAT is not set
CONFIG_SERIAL_CORE=y CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_UNIX98_PTYS=y CONFIG_UNIX98_PTYS=y
......
...@@ -544,7 +544,7 @@ void __init at91_init_leds(u8 cpu_led, u8 timer_led) {} ...@@ -544,7 +544,7 @@ void __init at91_init_leds(u8 cpu_led, u8 timer_led) {}
* UART * UART
* -------------------------------------------------------------------- */ * -------------------------------------------------------------------- */
#if defined(CONFIG_SERIAL_AT91) #if defined(CONFIG_SERIAL_ATMEL)
static struct resource dbgu_resources[] = { static struct resource dbgu_resources[] = {
[0] = { [0] = {
.start = AT91_VA_BASE_SYS + AT91_DBGU, .start = AT91_VA_BASE_SYS + AT91_DBGU,
......
...@@ -385,9 +385,9 @@ CONFIG_PPP_DEFLATE=m ...@@ -385,9 +385,9 @@ CONFIG_PPP_DEFLATE=m
# #
# Non-8250 serial port support # Non-8250 serial port support
# #
CONFIG_SERIAL_AT91=y CONFIG_SERIAL_ATMEL=y
CONFIG_SERIAL_AT91_CONSOLE=y CONFIG_SERIAL_ATMEL_CONSOLE=y
# CONFIG_SERIAL_AT91_TTYAT is not set # CONFIG_SERIAL_ATMEL_TTYAT is not set
CONFIG_SERIAL_CORE=y CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_UNIX98_PTYS=y CONFIG_UNIX98_PTYS=y
......
...@@ -299,17 +299,17 @@ config SERIAL_AMBA_PL011_CONSOLE ...@@ -299,17 +299,17 @@ config SERIAL_AMBA_PL011_CONSOLE
your boot loader (lilo or loadlin) about how to pass options to the your boot loader (lilo or loadlin) about how to pass options to the
kernel at boot time.) kernel at boot time.)
config SERIAL_AT91 config SERIAL_ATMEL
bool "AT91RM9200 / AT91SAM9261 serial port support" bool "AT91 / AT32 on-chip serial port support"
depends on ARM && (ARCH_AT91RM9200 || ARCH_AT91SAM9261) depends on ARM && (ARCH_AT91RM9200 || ARCH_AT91SAM9261)
select SERIAL_CORE select SERIAL_CORE
help help
This enables the driver for the on-chip UARTs of the Atmel This enables the driver for the on-chip UARTs of the Atmel
AT91RM9200 and AT91SAM926 processor. AT91RM9200 and AT91SAM926 processor.
config SERIAL_AT91_CONSOLE config SERIAL_ATMEL_CONSOLE
bool "Support for console on AT91RM9200 / AT91SAM9261 serial port" bool "Support for console on AT91 / AT32 serial port"
depends on SERIAL_AT91=y depends on SERIAL_ATMEL=y
select SERIAL_CORE_CONSOLE select SERIAL_CORE_CONSOLE
help help
Say Y here if you wish to use a UART on the Atmel AT91RM9200 or Say Y here if you wish to use a UART on the Atmel AT91RM9200 or
...@@ -317,9 +317,9 @@ config SERIAL_AT91_CONSOLE ...@@ -317,9 +317,9 @@ config SERIAL_AT91_CONSOLE
which receives all kernel messages and warnings and which allows which receives all kernel messages and warnings and which allows
logins in single user mode). logins in single user mode).
config SERIAL_AT91_TTYAT config SERIAL_ATMEL_TTYAT
bool "Install as device ttyAT0-4 instead of ttyS0-4" bool "Install as device ttyAT0-4 instead of ttyS0-4"
depends on SERIAL_AT91=y depends on SERIAL_ATMEL=y
help help
Say Y here if you wish to have the five internal AT91RM9200 UARTs Say Y here if you wish to have the five internal AT91RM9200 UARTs
appear as /dev/ttyAT0-4 (major 204, minor 154-158) instead of the appear as /dev/ttyAT0-4 (major 204, minor 154-158) instead of the
......
...@@ -54,5 +54,5 @@ obj-$(CONFIG_SERIAL_TXX9) += serial_txx9.o ...@@ -54,5 +54,5 @@ obj-$(CONFIG_SERIAL_TXX9) += serial_txx9.o
obj-$(CONFIG_SERIAL_VR41XX) += vr41xx_siu.o obj-$(CONFIG_SERIAL_VR41XX) += vr41xx_siu.o
obj-$(CONFIG_SERIAL_SGI_IOC4) += ioc4_serial.o obj-$(CONFIG_SERIAL_SGI_IOC4) += ioc4_serial.o
obj-$(CONFIG_SERIAL_SGI_IOC3) += ioc3_serial.o obj-$(CONFIG_SERIAL_SGI_IOC3) += ioc3_serial.o
obj-$(CONFIG_SERIAL_AT91) += atmel_serial.o obj-$(CONFIG_SERIAL_ATMEL) += atmel_serial.o
obj-$(CONFIG_SERIAL_NETX) += netx-serial.o obj-$(CONFIG_SERIAL_NETX) += netx-serial.o
...@@ -44,13 +44,13 @@ ...@@ -44,13 +44,13 @@
#include "atmel_serial.h" #include "atmel_serial.h"
#if defined(CONFIG_SERIAL_AT91_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) #if defined(CONFIG_SERIAL_ATMEL_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)
#define SUPPORT_SYSRQ #define SUPPORT_SYSRQ
#endif #endif
#include <linux/serial_core.h> #include <linux/serial_core.h>
#ifdef CONFIG_SERIAL_AT91_TTYAT #ifdef CONFIG_SERIAL_ATMEL_TTYAT
/* Use device name ttyAT, major 204 and minor 154-169. This is necessary if we /* Use device name ttyAT, major 204 and minor 154-169. This is necessary if we
* should coexist with the 8250 driver, such as if we have an external 16C550 * should coexist with the 8250 driver, such as if we have an external 16C550
...@@ -726,7 +726,7 @@ void __init at91_register_uart_fns(struct at91_port_fns *fns) ...@@ -726,7 +726,7 @@ void __init at91_register_uart_fns(struct at91_port_fns *fns)
} }
#ifdef CONFIG_SERIAL_AT91_CONSOLE #ifdef CONFIG_SERIAL_ATMEL_CONSOLE
static void at91_console_putchar(struct uart_port *port, int ch) static void at91_console_putchar(struct uart_port *port, int ch)
{ {
while (!(UART_GET_CSR(port) & AT91_US_TXRDY)) while (!(UART_GET_CSR(port) & AT91_US_TXRDY))
......
...@@ -24,7 +24,7 @@ struct at91_port_fns { ...@@ -24,7 +24,7 @@ struct at91_port_fns {
void (*close)(struct uart_port *); void (*close)(struct uart_port *);
}; };
#if defined(CONFIG_SERIAL_AT91) #if defined(CONFIG_SERIAL_ATMEL)
void at91_register_uart_fns(struct at91_port_fns *fns); void at91_register_uart_fns(struct at91_port_fns *fns);
#else #else
#define at91_register_uart_fns(fns) do { } while (0) #define at91_register_uart_fns(fns) do { } while (0)
......
...@@ -24,7 +24,7 @@ struct at91_port_fns { ...@@ -24,7 +24,7 @@ struct at91_port_fns {
void (*close)(struct uart_port *); void (*close)(struct uart_port *);
}; };
#if defined(CONFIG_SERIAL_AT91) #if defined(CONFIG_SERIAL_ATMEL)
void at91_register_uart_fns(struct at91_port_fns *fns); void at91_register_uart_fns(struct at91_port_fns *fns);
#else #else
#define at91_register_uart_fns(fns) do { } while (0) #define at91_register_uart_fns(fns) do { } while (0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment