aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/serial_8250.h
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2010-10-18 14:38:02 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-22 13:20:10 -0400
commitaf7f3743567e3d5b40e2f9c21541b7f40b99c103 (patch)
treed5a8ef131861af6620d3a7947db167f2e0ebe1bf /include/linux/serial_8250.h
parent4e4e66029af090c98cb10fafd13e8dd5039037a9 (diff)
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 bf9c2bdb2e0..97f5b45bbc0 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,
81extern void serial8250_do_pm(struct uart_port *port, unsigned int state, 81extern void serial8250_do_pm(struct uart_port *port, unsigned int state,
82 unsigned int oldstate); 82 unsigned int oldstate);
83 83
84extern void serial8250_set_isa_configurator(void (*v)
85 (int port, struct uart_port *up,
86 unsigned short *capabilities));
87
84#endif 88#endif