svn commit: r198668 - projects/mips/sys/dev/uart

Randall Stewart rrs at FreeBSD.org
Fri Oct 30 08:51:38 UTC 2009


Author: rrs
Date: Fri Oct 30 08:51:37 2009
New Revision: 198668
URL: http://svn.freebsd.org/changeset/base/198668

Log:
  This is a temporary hack so we can get RMI to re-use the
  ns8250 code. We will need to think of a better way for
  code reuse for this (see sys/mips/rmi/uart_cpu_mips_xlr.c for where
  it is used)

Modified:
  projects/mips/sys/dev/uart/uart_dev_ns8250.c

Modified: projects/mips/sys/dev/uart/uart_dev_ns8250.c
==============================================================================
--- projects/mips/sys/dev/uart/uart_dev_ns8250.c	Fri Oct 30 01:40:32 2009	(r198667)
+++ projects/mips/sys/dev/uart/uart_dev_ns8250.c	Fri Oct 30 08:51:37 2009	(r198668)
@@ -224,7 +224,7 @@ static void ns8250_putc(struct uart_bas 
 static int ns8250_rxready(struct uart_bas *bas);
 static int ns8250_getc(struct uart_bas *bas, struct mtx *);
 
-static struct uart_ops uart_ns8250_ops = {
+struct uart_ops uart_ns8250_ops = {
 	.probe = ns8250_probe,
 	.init = ns8250_init,
 	.term = ns8250_term,


More information about the svn-src-projects mailing list