From owner-p4-projects@FreeBSD.ORG Wed Apr 11 18:29:50 2007 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id BEE5616A407; Wed, 11 Apr 2007 18:29:50 +0000 (UTC) X-Original-To: perforce@FreeBSD.org Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 94E4C16A405 for ; Wed, 11 Apr 2007 18:29:50 +0000 (UTC) (envelope-from gonzo@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 8C2DA13C480 for ; Wed, 11 Apr 2007 18:29:50 +0000 (UTC) (envelope-from gonzo@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l3BIToIG036230 for ; Wed, 11 Apr 2007 18:29:50 GMT (envelope-from gonzo@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l3BIToAl036220 for perforce@freebsd.org; Wed, 11 Apr 2007 18:29:50 GMT (envelope-from gonzo@FreeBSD.org) Date: Wed, 11 Apr 2007 18:29:50 GMT Message-Id: <200704111829.l3BIToAl036220@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to gonzo@FreeBSD.org using -f From: Oleksandr Tymoshenko To: Perforce Change Reviews Cc: Subject: PERFORCE change 117911 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Apr 2007 18:29:51 -0000 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;