X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;ds=sidebyside;f=include%2Flinux%2Fserial_8250.h;h=3d37c94abbc80622732e4a0793ccda55ea6227a7;hb=785957d3e8c6fb37b18bf671923a76dbd8240025;hp=71310d80c09aae4d866f743baeb6e5ae932651e2;hpb=e0980dafa329d33bb88edc8a3ef9fab4e070590c;p=safe%2Fjmp%2Flinux-2.6 diff --git a/include/linux/serial_8250.h b/include/linux/serial_8250.h index 71310d8..3d37c94 100644 --- a/include/linux/serial_8250.h +++ b/include/linux/serial_8250.h @@ -20,9 +20,10 @@ struct plat_serial8250_port { unsigned long iobase; /* io base address */ void __iomem *membase; /* ioremap cookie or NULL */ - unsigned long mapbase; /* resource base */ + resource_size_t mapbase; /* resource base */ unsigned int irq; /* interrupt number */ unsigned int uartclk; /* UART clock rate */ + void *private_data; unsigned char regshift; /* register shift */ unsigned char iotype; /* UPIO_* */ unsigned char hub6; @@ -45,6 +46,7 @@ enum { PLAT8250_DEV_HUB6, PLAT8250_DEV_MCA, PLAT8250_DEV_AU1X00, + PLAT8250_DEV_SM501, }; /* @@ -60,4 +62,10 @@ void serial8250_unregister_port(int line); void serial8250_suspend_port(int line); void serial8250_resume_port(int line); +extern int early_serial_setup(struct uart_port *port); + +extern int serial8250_find_port(struct uart_port *p); +extern int serial8250_find_port_for_earlycon(void); +extern int setup_early_serial8250_console(char *cmdline); + #endif