@@ -59,7 +59,7 @@ int domain_vuart_init(struct domain *d)
{
ASSERT( is_hardware_domain(d) );
- d->arch.vuart.info = serial_vuart_info(SERHND_DTUART);
+ d->arch.vuart.info = serial_vuart_info(SERHND_UART);
if ( !d->arch.vuart.info )
return 0;
@@ -196,7 +196,7 @@ static int __init cuart_init(struct dt_device_node *dev, const void *data)
uart->vuart.status = UART_SR_INTR_TEMPTY;
/* Register with generic serial driver. */
- serial_register_uart(SERHND_DTUART, &cuart_driver, uart);
+ serial_register_uart(SERHND_UART, &cuart_driver, uart);
dt_device_set_used_by(dev, DOMID_XEN);
@@ -345,7 +345,7 @@ static int __init exynos4210_uart_init(struct dt_device_node *dev,
uart->vuart.status = UTRSTAT_TXE | UTRSTAT_TXFE;
/* Register with generic serial driver. */
- serial_register_uart(SERHND_DTUART, &exynos4210_uart_driver, uart);
+ serial_register_uart(SERHND_UART, &exynos4210_uart_driver, uart);
dt_device_set_used_by(dev, DOMID_XEN);
@@ -343,7 +343,7 @@ static int __init omap_uart_init(struct dt_device_node *dev,
uart->vuart.status = UART_LSR_THRE;
/* Register with generic serial driver */
- serial_register_uart(SERHND_DTUART, &omap_uart_driver, uart);
+ serial_register_uart(SERHND_UART, &omap_uart_driver, uart);
dt_device_set_used_by(dev, DOMID_XEN);
@@ -252,7 +252,7 @@ static int __init pl011_uart_init(int irq, u64 addr, u64 size)
uart->vuart.status = 0;
/* Register with generic serial driver. */
- serial_register_uart(SERHND_DTUART, &pl011_driver, uart);
+ serial_register_uart(SERHND_UART, &pl011_driver, uart);
return 0;
}
@@ -339,7 +339,7 @@ static int __init scif_uart_init(struct dt_device_node *dev,
uart->vuart.status = SCFSR_TDFE;
/* Register with generic serial driver */
- serial_register_uart(SERHND_DTUART, &scif_uart_driver, uart);
+ serial_register_uart(SERHND_UART, &scif_uart_driver, uart);
dt_device_set_used_by(dev, DOMID_XEN);
@@ -312,7 +312,7 @@ int __init serial_parse_handle(char *conf)
if ( !strncmp(conf, "dtuart", 5) )
{
- handle = SERHND_DTUART;
+ handle = SERHND_UART;
goto common;
}
@@ -94,7 +94,7 @@ struct uart_driver {
# define SERHND_COM1 (0<<0)
# define SERHND_COM2 (1<<0)
# define SERHND_DBGP (2<<0)
-# define SERHND_DTUART (0<<0) /* Steal SERHND_COM1 value */
+# define SERHND_UART (0<<0) /* Steal SERHND_COM1 value */
#define SERHND_HI (1<<2) /* Mux/demux each transferred char by MSB. */
#define SERHND_LO (1<<3) /* Ditto, except that the MSB is cleared. */
#define SERHND_COOKED (1<<4) /* Newline/carriage-return translation? */