Date: Wed, 11 Apr 2007 18:29:50 GMT From: Oleksandr Tymoshenko <gonzo@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 117911 for review Message-ID: <200704111829.l3BIToAl036220@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=117911 Change 117911 by gonzo@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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704111829.l3BIToAl036220>