PERFORCE change 117911 for review
Oleksandr Tymoshenko
gonzo at FreeBSD.org
Wed Apr 11 18:29:51 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=117911
Change 117911 by gonzo at gonzo_jeeves on 2007/04/11 18:28:49
o Remove unnecessary return.
o Use uart_getops to set uart operations.
Affected files ...
.. //depot/projects/mips2/src/sys/mips/mips4k/malta/uart_cpu_maltausart.c#4 edit
Differences ...
==== //depot/projects/mips2/src/sys/mips/mips4k/malta/uart_cpu_maltausart.c#4 (text+ko) ====
@@ -60,13 +60,12 @@
uart_cpu_eqres(struct uart_bas *b1, struct uart_bas *b2)
{
return ((b1->bsh == b2->bsh && b1->bst == b2->bst) ? 1 : 0);
- return (0);
}
int
uart_cpu_getdev(int devtype, struct uart_devinfo *di)
{
- di->ops = uart_ns8250_ops;
+ di->ops = uart_getops(&uart_ns8250_class);
di->bas.chan = 0;
di->bas.bst = 0;
di->bas.regshft = 0;
More information about the p4-projects
mailing list