summaryrefslogtreecommitdiffstats
path: root/include/linux/serial_8250.h
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2010-10-18 11:38:02 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-22 10:20:10 -0700
commitaf7f3743567e3d5b40e2f9c21541b7f40b99c103 (patch)
treed5a8ef131861af6620d3a7947db167f2e0ebe1bf /include/linux/serial_8250.h
parent4e4e66029af090c98cb10fafd13e8dd5039037a9 (diff)
downloadlinux-af7f3743567e3d5b40e2f9c21541b7f40b99c103.tar.gz
linux-af7f3743567e3d5b40e2f9c21541b7f40b99c103.tar.bz2
linux-af7f3743567e3d5b40e2f9c21541b7f40b99c103.zip
serial: abstraction for 8250 legacy ports
Not every platform that has generic legacy 8250 ports manages to have them clocked the right way or without errata. Provide a generic interface to allow platforms to override the default behaviour in a manner that dumps the complexity in *their* code not the 8250 driver. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Dirk Brandewie <dirk.brandewie@gmail.com> Acked-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/serial_8250.h')
-rw-r--r--include/linux/serial_8250.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/serial_8250.h b/include/linux/serial_8250.h
index bf9c2bdb2e05..97f5b45bbc07 100644
--- a/include/linux/serial_8250.h
+++ b/include/linux/serial_8250.h
@@ -81,4 +81,8 @@ extern void serial8250_do_set_termios(struct uart_port *port,
extern void serial8250_do_pm(struct uart_port *port, unsigned int state,
unsigned int oldstate);
+extern void serial8250_set_isa_configurator(void (*v)
+ (int port, struct uart_port *up,
+ unsigned short *capabilities));
+
#endif