mcf.c (ae50bb2752836277ae15aa4e9d99074d6d947946) | mcf.c (0139da50dc53f0ce2804e83566d290c7e626fd17) |
---|---|
1// SPDX-License-Identifier: GPL-2.0+ 2/****************************************************************************/ 3 4/* 5 * mcf.c -- Freescale ColdFire UART driver 6 * 7 * (C) Copyright 2003-2007, Greg Ungerer <gerg@uclinux.org> 8 */ --- 492 unchanged lines hidden (view full) --- 501 port->mapbase = platp[i].mapbase; 502 port->membase = (platp[i].membase) ? platp[i].membase : 503 (unsigned char __iomem *) port->mapbase; 504 port->iotype = SERIAL_IO_MEM; 505 port->irq = platp[i].irq; 506 port->uartclk = MCF_BUSCLK; 507 port->flags = UPF_BOOT_AUTOCONF; 508 port->rs485_config = mcf_config_rs485; | 1// SPDX-License-Identifier: GPL-2.0+ 2/****************************************************************************/ 3 4/* 5 * mcf.c -- Freescale ColdFire UART driver 6 * 7 * (C) Copyright 2003-2007, Greg Ungerer <gerg@uclinux.org> 8 */ --- 492 unchanged lines hidden (view full) --- 501 port->mapbase = platp[i].mapbase; 502 port->membase = (platp[i].membase) ? platp[i].membase : 503 (unsigned char __iomem *) port->mapbase; 504 port->iotype = SERIAL_IO_MEM; 505 port->irq = platp[i].irq; 506 port->uartclk = MCF_BUSCLK; 507 port->flags = UPF_BOOT_AUTOCONF; 508 port->rs485_config = mcf_config_rs485; |
509 port->rs485_supported = &mcf_rs485_supported; | 509 port->rs485_supported = mcf_rs485_supported; |
510 port->ops = &mcf_uart_ops; 511 } 512 513 return 0; 514} 515 516/****************************************************************************/ 517 --- 111 unchanged lines hidden (view full) --- 629 (unsigned char __iomem *) platp[i].mapbase; 630 port->dev = &pdev->dev; 631 port->iotype = SERIAL_IO_MEM; 632 port->irq = platp[i].irq; 633 port->uartclk = MCF_BUSCLK; 634 port->ops = &mcf_uart_ops; 635 port->flags = UPF_BOOT_AUTOCONF; 636 port->rs485_config = mcf_config_rs485; | 510 port->ops = &mcf_uart_ops; 511 } 512 513 return 0; 514} 515 516/****************************************************************************/ 517 --- 111 unchanged lines hidden (view full) --- 629 (unsigned char __iomem *) platp[i].mapbase; 630 port->dev = &pdev->dev; 631 port->iotype = SERIAL_IO_MEM; 632 port->irq = platp[i].irq; 633 port->uartclk = MCF_BUSCLK; 634 port->ops = &mcf_uart_ops; 635 port->flags = UPF_BOOT_AUTOCONF; 636 port->rs485_config = mcf_config_rs485; |
637 port->rs485_supported = &mcf_rs485_supported; | 637 port->rs485_supported = mcf_rs485_supported; |
638 port->has_sysrq = IS_ENABLED(CONFIG_SERIAL_MCF_CONSOLE); 639 640 uart_add_one_port(&mcf_driver, port); 641 } 642 643 return 0; 644} 645 --- 64 unchanged lines hidden --- | 638 port->has_sysrq = IS_ENABLED(CONFIG_SERIAL_MCF_CONSOLE); 639 640 uart_add_one_port(&mcf_driver, port); 641 } 642 643 return 0; 644} 645 --- 64 unchanged lines hidden --- |