X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=include%2Flinux%2Fserial_8250.h;h=d4d2a78ad43e607bb9b3d2f3b84970c64a36fb1a;hb=bdc8e5f85f9abe2e7c78dcf39d81f9a97178788b;hp=8518fa2a6f89038d36ceac34c436a3519d69e8ee;hpb=b187f180cc942e50007aa039f8e3a620ee5f3171;p=safe%2Fjmp%2Flinux-2.6 diff --git a/include/linux/serial_8250.h b/include/linux/serial_8250.h index 8518fa2..d4d2a78 100644 --- a/include/linux/serial_8250.h +++ b/include/linux/serial_8250.h @@ -20,13 +20,17 @@ 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; upf_t flags; /* UPF_* flags */ + unsigned int type; /* If UPF_FIXED_TYPE */ + unsigned int (*serial_in)(struct uart_port *, int); + void (*serial_out)(struct uart_port *, int, int); }; /* @@ -45,6 +49,7 @@ enum { PLAT8250_DEV_HUB6, PLAT8250_DEV_MCA, PLAT8250_DEV_AU1X00, + PLAT8250_DEV_SM501, }; /*