You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Merge master.kernel.org:/home/rmk/linux-2.6-serial
This commit is contained in:
@@ -27,7 +27,6 @@
|
||||
#include <asm/mach/arch.h>
|
||||
#include <linux/interrupt.h>
|
||||
#include "generic.h"
|
||||
#include <asm/serial.h>
|
||||
|
||||
static struct resource cs89x0_resources[] = {
|
||||
[0] = {
|
||||
|
||||
@@ -140,7 +140,7 @@ void __init plat_setup(void)
|
||||
uart.type = PORT_UNKNOWN;
|
||||
uart.uartclk = 18432000;
|
||||
uart.irq = COBALT_SERIAL_IRQ;
|
||||
uart.flags = STD_COM_FLAGS;
|
||||
uart.flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST;
|
||||
uart.iobase = 0xc800000;
|
||||
uart.iotype = UPIO_PORT;
|
||||
|
||||
|
||||
@@ -134,8 +134,8 @@ void __init serial_init(void)
|
||||
|
||||
memset(&s, 0, sizeof(s));
|
||||
|
||||
s.flags = STD_COM_FLAGS;
|
||||
s.iotype = SERIAL_IO_MEM;
|
||||
s.flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST;
|
||||
s.iotype = UPIO_MEM;
|
||||
|
||||
if (mips_machtype == MACH_LASAT_100) {
|
||||
s.uartclk = LASAT_BASE_BAUD_100 * 16;
|
||||
|
||||
@@ -82,8 +82,8 @@ static void __init serial_init(void)
|
||||
#endif
|
||||
s.irq = ATLASINT_UART;
|
||||
s.uartclk = ATLAS_BASE_BAUD * 16;
|
||||
s.flags = ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST | ASYNC_AUTO_IRQ;
|
||||
s.iotype = SERIAL_IO_PORT;
|
||||
s.flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST | UPF_AUTO_IRQ;
|
||||
s.iotype = UPIO_PORT;
|
||||
s.regshift = 3;
|
||||
|
||||
if (early_serial_setup(&s) != 0) {
|
||||
|
||||
@@ -71,8 +71,8 @@ static void __init serial_init(void)
|
||||
#endif
|
||||
s.irq = MIPSCPU_INT_BASE + MIPSCPU_INT_UART0;
|
||||
s.uartclk = SEAD_BASE_BAUD * 16;
|
||||
s.flags = ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST | ASYNC_AUTO_IRQ;
|
||||
s.iotype = 0;
|
||||
s.flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST | UPF_AUTO_IRQ;
|
||||
s.iotype = UPIO_PORT;
|
||||
s.regshift = 3;
|
||||
|
||||
if (early_serial_setup(&s) != 0) {
|
||||
|
||||
@@ -88,8 +88,8 @@ static void __init serial_init(void)
|
||||
but poll for now */
|
||||
s.irq = 0;
|
||||
s.uartclk = BASE_BAUD * 16;
|
||||
s.flags = ASYNC_BOOT_AUTOCONF | UPF_SKIP_TEST;
|
||||
s.iotype = SERIAL_IO_PORT | ASYNC_SKIP_TEST;
|
||||
s.flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST;
|
||||
s.iotype = UPIO_PORT;
|
||||
s.regshift = 0;
|
||||
s.timeout = 4;
|
||||
|
||||
|
||||
@@ -93,7 +93,7 @@ static void inline ja_console_probe(void)
|
||||
up.uartclk = JAGUAR_ATX_UART_CLK;
|
||||
up.regshift = 2;
|
||||
up.iotype = UPIO_MEM;
|
||||
up.flags = ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST;
|
||||
up.flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST;
|
||||
up.line = 0;
|
||||
|
||||
if (early_serial_setup(&up))
|
||||
|
||||
@@ -66,28 +66,28 @@ struct ip3106_port ip3106_ports[] = {
|
||||
[0] = {
|
||||
.port = {
|
||||
.type = PORT_IP3106,
|
||||
.iotype = SERIAL_IO_MEM,
|
||||
.iotype = UPIO_MEM,
|
||||
.membase = (void __iomem *)PNX8550_UART_PORT0,
|
||||
.mapbase = PNX8550_UART_PORT0,
|
||||
.irq = PNX8550_UART_INT(0),
|
||||
.uartclk = 3692300,
|
||||
.fifosize = 16,
|
||||
.ops = &ip3106_pops,
|
||||
.flags = ASYNC_BOOT_AUTOCONF,
|
||||
.flags = UPF_BOOT_AUTOCONF,
|
||||
.line = 0,
|
||||
},
|
||||
},
|
||||
[1] = {
|
||||
.port = {
|
||||
.type = PORT_IP3106,
|
||||
.iotype = SERIAL_IO_MEM,
|
||||
.iotype = UPIO_MEM,
|
||||
.membase = (void __iomem *)PNX8550_UART_PORT1,
|
||||
.mapbase = PNX8550_UART_PORT1,
|
||||
.irq = PNX8550_UART_INT(1),
|
||||
.uartclk = 3692300,
|
||||
.fifosize = 16,
|
||||
.ops = &ip3106_pops,
|
||||
.flags = ASYNC_BOOT_AUTOCONF,
|
||||
.flags = UPF_BOOT_AUTOCONF,
|
||||
.line = 1,
|
||||
},
|
||||
},
|
||||
|
||||
@@ -185,7 +185,7 @@ static void __init py_uart_setup(void)
|
||||
up.uartclk = TITAN_UART_CLK;
|
||||
up.regshift = 0;
|
||||
up.iotype = UPIO_MEM;
|
||||
up.flags = ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST;
|
||||
up.flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST;
|
||||
up.line = 0;
|
||||
|
||||
if (early_serial_setup(&up))
|
||||
|
||||
@@ -66,11 +66,6 @@ static inline void str2eaddr(unsigned char *ea, unsigned char *str)
|
||||
#include <linux/tty.h>
|
||||
#include <linux/serial.h>
|
||||
#include <linux/serial_core.h>
|
||||
extern int early_serial_setup(struct uart_port *port);
|
||||
|
||||
#define STD_COM_FLAGS (ASYNC_SKIP_TEST)
|
||||
#define BASE_BAUD (1843200 / 16)
|
||||
|
||||
#endif /* CONFIG_SERIAL_8250 */
|
||||
|
||||
/* An arbitrary time; this can be decreased if reliability looks good */
|
||||
@@ -110,8 +105,8 @@ void __init plat_setup(void)
|
||||
o2_serial[0].type = PORT_16550A;
|
||||
o2_serial[0].line = 0;
|
||||
o2_serial[0].irq = MACEISA_SERIAL1_IRQ;
|
||||
o2_serial[0].flags = STD_COM_FLAGS;
|
||||
o2_serial[0].uartclk = BASE_BAUD * 16;
|
||||
o2_serial[0].flags = UPF_SKIP_TEST;
|
||||
o2_serial[0].uartclk = 1843200;
|
||||
o2_serial[0].iotype = UPIO_MEM;
|
||||
o2_serial[0].membase = (char *)&mace->isa.serial1;
|
||||
o2_serial[0].fifosize = 14;
|
||||
@@ -121,8 +116,8 @@ void __init plat_setup(void)
|
||||
o2_serial[1].type = PORT_16550A;
|
||||
o2_serial[1].line = 1;
|
||||
o2_serial[1].irq = MACEISA_SERIAL2_IRQ;
|
||||
o2_serial[1].flags = STD_COM_FLAGS;
|
||||
o2_serial[1].uartclk = BASE_BAUD * 16;
|
||||
o2_serial[1].flags = UPF_SKIP_TEST;
|
||||
o2_serial[1].uartclk = 1843200;
|
||||
o2_serial[1].iotype = UPIO_MEM;
|
||||
o2_serial[1].membase = (char *)&mace->isa.serial2;
|
||||
o2_serial[1].fifosize = 14;
|
||||
|
||||
@@ -332,8 +332,8 @@ bamboo_early_serial_map(void)
|
||||
port.irq = 0;
|
||||
port.uartclk = clocks.uart0;
|
||||
port.regshift = 0;
|
||||
port.iotype = SERIAL_IO_MEM;
|
||||
port.flags = ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST;
|
||||
port.iotype = UPIO_MEM;
|
||||
port.flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST;
|
||||
port.line = 0;
|
||||
|
||||
if (early_serial_setup(&port) != 0) {
|
||||
|
||||
@@ -97,8 +97,8 @@ bubinga_early_serial_map(void)
|
||||
port.irq = ACTING_UART0_INT;
|
||||
port.uartclk = uart_clock;
|
||||
port.regshift = 0;
|
||||
port.iotype = SERIAL_IO_MEM;
|
||||
port.flags = ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST;
|
||||
port.iotype = UPIO_MEM;
|
||||
port.flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST;
|
||||
port.line = 0;
|
||||
|
||||
if (early_serial_setup(&port) != 0) {
|
||||
|
||||
@@ -225,8 +225,8 @@ ebony_early_serial_map(void)
|
||||
port.irq = 0;
|
||||
port.uartclk = clocks.uart0;
|
||||
port.regshift = 0;
|
||||
port.iotype = SERIAL_IO_MEM;
|
||||
port.flags = ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST;
|
||||
port.iotype = UPIO_MEM;
|
||||
port.flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST;
|
||||
port.line = 0;
|
||||
|
||||
if (early_serial_setup(&port) != 0) {
|
||||
|
||||
@@ -279,8 +279,8 @@ luan_early_serial_map(void)
|
||||
port.irq = UART0_INT;
|
||||
port.uartclk = clocks.uart0;
|
||||
port.regshift = 0;
|
||||
port.iotype = SERIAL_IO_MEM;
|
||||
port.flags = ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST;
|
||||
port.iotype = UPIO_MEM;
|
||||
port.flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST;
|
||||
port.line = 0;
|
||||
|
||||
if (early_serial_setup(&port) != 0) {
|
||||
|
||||
@@ -248,8 +248,8 @@ ocotea_early_serial_map(void)
|
||||
port.irq = UART0_INT;
|
||||
port.uartclk = clocks.uart0;
|
||||
port.regshift = 0;
|
||||
port.iotype = SERIAL_IO_MEM;
|
||||
port.flags = ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST;
|
||||
port.iotype = UPIO_MEM;
|
||||
port.flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST;
|
||||
port.line = 0;
|
||||
|
||||
if (early_serial_setup(&port) != 0) {
|
||||
|
||||
@@ -95,8 +95,8 @@ ml300_early_serial_map(void)
|
||||
port.irq = old_ports[i].irq;
|
||||
port.uartclk = old_ports[i].baud_base * 16;
|
||||
port.regshift = old_ports[i].iomem_reg_shift;
|
||||
port.iotype = SERIAL_IO_MEM;
|
||||
port.flags = ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST;
|
||||
port.iotype = UPIO_MEM;
|
||||
port.flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST;
|
||||
port.line = i;
|
||||
|
||||
if (early_serial_setup(&port) != 0) {
|
||||
|
||||
@@ -305,8 +305,8 @@ yucca_early_serial_map(void)
|
||||
port.irq = UART0_INT;
|
||||
port.uartclk = clocks.uart0;
|
||||
port.regshift = 0;
|
||||
port.iotype = SERIAL_IO_MEM;
|
||||
port.flags = ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST;
|
||||
port.iotype = UPIO_MEM;
|
||||
port.flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST;
|
||||
port.line = 0;
|
||||
|
||||
if (early_serial_setup(&port) != 0) {
|
||||
|
||||
@@ -301,14 +301,14 @@ platform_init(unsigned long r3, unsigned long r4, unsigned long r5,
|
||||
struct uart_port p;
|
||||
|
||||
memset(&p, 0, sizeof (p));
|
||||
p.iotype = SERIAL_IO_MEM;
|
||||
p.iotype = UPIO_MEM;
|
||||
p.membase = (unsigned char __iomem *)(VIRT_IMMRBAR + 0x4500);
|
||||
p.uartclk = binfo->bi_busfreq;
|
||||
|
||||
gen550_init(0, &p);
|
||||
|
||||
memset(&p, 0, sizeof (p));
|
||||
p.iotype = SERIAL_IO_MEM;
|
||||
p.iotype = UPIO_MEM;
|
||||
p.membase = (unsigned char __iomem *)(VIRT_IMMRBAR + 0x4600);
|
||||
p.uartclk = binfo->bi_busfreq;
|
||||
|
||||
|
||||
@@ -162,14 +162,14 @@ platform_init(unsigned long r3, unsigned long r4, unsigned long r5,
|
||||
binfo->bi_immr_base, MPC85xx_CCSRBAR_SIZE, _PAGE_IO, 0);
|
||||
|
||||
memset(&p, 0, sizeof (p));
|
||||
p.iotype = SERIAL_IO_MEM;
|
||||
p.iotype = UPIO_MEM;
|
||||
p.membase = (void *) binfo->bi_immr_base + MPC85xx_UART0_OFFSET;
|
||||
p.uartclk = binfo->bi_busfreq;
|
||||
|
||||
gen550_init(0, &p);
|
||||
|
||||
memset(&p, 0, sizeof (p));
|
||||
p.iotype = SERIAL_IO_MEM;
|
||||
p.iotype = UPIO_MEM;
|
||||
p.membase = (void *) binfo->bi_immr_base + MPC85xx_UART1_OFFSET;
|
||||
p.uartclk = binfo->bi_busfreq;
|
||||
|
||||
|
||||
@@ -534,14 +534,14 @@ platform_init(unsigned long r3, unsigned long r4, unsigned long r5,
|
||||
binfo->bi_immr_base, MPC85xx_CCSRBAR_SIZE, _PAGE_IO, 0);
|
||||
|
||||
memset(&p, 0, sizeof (p));
|
||||
p.iotype = SERIAL_IO_MEM;
|
||||
p.iotype = UPIO_MEM;
|
||||
p.membase = (void *) binfo->bi_immr_base + MPC85xx_UART0_OFFSET;
|
||||
p.uartclk = binfo->bi_busfreq;
|
||||
|
||||
gen550_init(0, &p);
|
||||
|
||||
memset(&p, 0, sizeof (p));
|
||||
p.iotype = SERIAL_IO_MEM;
|
||||
p.iotype = UPIO_MEM;
|
||||
p.membase = (void *) binfo->bi_immr_base + MPC85xx_UART1_OFFSET;
|
||||
p.uartclk = binfo->bi_busfreq;
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user