From owner-p4-projects@FreeBSD.ORG Mon Dec 12 21:59:00 2005 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 E5BFF16A435; Mon, 12 Dec 2005 21:58:59 +0000 (GMT) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 83AE816A442 for ; Mon, 12 Dec 2005 21:58:59 +0000 (GMT) (envelope-from imp@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32A4B43D46 for ; Mon, 12 Dec 2005 21:58:59 +0000 (GMT) (envelope-from imp@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id jBCLwxU8085743 for ; Mon, 12 Dec 2005 21:58:59 GMT (envelope-from imp@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jBCLwwCt085740 for perforce@freebsd.org; Mon, 12 Dec 2005 21:58:58 GMT (envelope-from imp@freebsd.org) Date: Mon, 12 Dec 2005 21:58:58 GMT Message-Id: <200512122158.jBCLwwCt085740@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to imp@freebsd.org using -f From: Warner Losh To: Perforce Change Reviews Cc: Subject: PERFORCE change 88102 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: Mon, 12 Dec 2005 21:59:00 -0000 http://perforce.freebsd.org/chv.cgi?CH=88102 Change 88102 by imp@imp_Speedy on 2005/12/12 21:58:35 Make uart_subr not depend on ns8250.o Affected files ... .. //depot/projects/arm/src/sys/dev/uart/uart_cpu_alpha.c#3 edit .. //depot/projects/arm/src/sys/dev/uart/uart_cpu_amd64.c#2 edit .. //depot/projects/arm/src/sys/dev/uart/uart_cpu_i386.c#2 edit .. //depot/projects/arm/src/sys/dev/uart/uart_cpu_ia64.c#2 edit .. //depot/projects/arm/src/sys/dev/uart/uart_cpu_pc98.c#2 edit .. //depot/projects/arm/src/sys/dev/uart/uart_subr.c#2 edit Differences ... ==== //depot/projects/arm/src/sys/dev/uart/uart_cpu_alpha.c#3 (text+ko) ==== @@ -95,6 +95,7 @@ } /* Check the environment. */ + di->ops = uart_ns8250_ops; if (uart_getenv(devtype, di) == 0) return (0); ==== //depot/projects/arm/src/sys/dev/uart/uart_cpu_amd64.c#2 (text+ko) ==== @@ -52,6 +52,7 @@ unsigned int i, ivar; /* Check the environment. */ + di->ops = uart_ns8250_ops; if (uart_getenv(devtype, di) == 0) return (0); ==== //depot/projects/arm/src/sys/dev/uart/uart_cpu_i386.c#2 (text+ko) ==== @@ -52,6 +52,7 @@ unsigned int i, ivar; /* Check the environment. */ + di->ops = uart_ns8250_ops; if (uart_getenv(devtype, di) == 0) return (0); ==== //depot/projects/arm/src/sys/dev/uart/uart_cpu_ia64.c#2 (text+ko) ==== @@ -104,5 +104,6 @@ } /* Check the environment. */ + di->ops = uart_ns8250_ops; return (uart_getenv(devtype, di)); } ==== //depot/projects/arm/src/sys/dev/uart/uart_cpu_pc98.c#2 (text+ko) ==== @@ -52,6 +52,7 @@ unsigned int i, ivar, flags; /* Check the environment. */ + di->ops = uart_ns8250_ops; if (uart_getenv(devtype, di) == 0) return (0); ==== //depot/projects/arm/src/sys/dev/uart/uart_subr.c#2 (text+ko) ==== @@ -182,7 +182,6 @@ return (ENXIO); /* Set defaults. */ - di->ops = uart_ns8250_ops; di->bas.chan = 0; di->bas.regshft = 0; di->bas.rclk = 0;