From owner-p4-projects@FreeBSD.ORG Mon Sep 1 21:54:39 2003 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 69FF316A4C1; Mon, 1 Sep 2003 21:54:39 -0700 (PDT) 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 27ECB16A4BF for ; Mon, 1 Sep 2003 21:54:39 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FA6443FAF for ; Mon, 1 Sep 2003 21:54:38 -0700 (PDT) (envelope-from marcel@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h824sc0U030115 for ; Mon, 1 Sep 2003 21:54:38 -0700 (PDT) (envelope-from marcel@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h824sc6D030112 for perforce@freebsd.org; Mon, 1 Sep 2003 21:54:38 -0700 (PDT) Date: Mon, 1 Sep 2003 21:54:38 -0700 (PDT) Message-Id: <200309020454.h824sc6D030112@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to marcel@freebsd.org using -f From: Marcel Moolenaar To: Perforce Change Reviews Subject: PERFORCE change 37353 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Sep 2003 04:54:39 -0000 http://perforce.freebsd.org/chv.cgi?CH=37353 Change 37353 by marcel@marcel_nfs on 2003/09/01 21:53:59 Remove uart_debug(). It's not used enough. Delete uart_subr.c. It only contains uart_debug(). Affected files ... .. //depot/projects/uart/conf/files#20 edit .. //depot/projects/uart/dev/uart/uart_bus.h#21 edit .. //depot/projects/uart/dev/uart/uart_dev_ns8250.c#23 edit .. //depot/projects/uart/dev/uart/uart_subr.c#2 delete .. //depot/projects/uart/modules/uart/Makefile#4 edit Differences ... ==== //depot/projects/uart/conf/files#20 (text+ko) ==== @@ -790,7 +790,6 @@ dev/uart/uart_dev_ns8250.c optional uart dev/uart/uart_dev_sab82532.c optional uart dev/uart/uart_dev_z8530.c optional uart -dev/uart/uart_subr.c optional uart dev/uart/uart_tty.c optional uart dev/ubsec/ubsec.c optional ubsec # ==== //depot/projects/uart/dev/uart/uart_bus.h#21 (text+ko) ==== @@ -156,8 +156,6 @@ int uart_tty_detach(struct uart_softc *); void uart_tty_intr(void *arg); -void uart_debug(struct uart_softc *, const char *, ...); - /* * Receive buffer operations. */ ==== //depot/projects/uart/dev/uart/uart_dev_ns8250.c#23 (text+ko) ==== @@ -124,7 +124,7 @@ while ((uart_getreg(bas, REG_LSR) & LSR_TEMT) == 0 && --limit) DELAY(delay); if (limit == 0) { - uart_debug(NULL, "transmitter appears stuck... "); + /* printf("ns8250: transmitter appears stuck... "); */ return (EIO); } } @@ -145,7 +145,7 @@ DELAY(delay << 2); } if (limit == 0) { - uart_debug(NULL, "receiver appears broken... "); + /* printf("ns8250: receiver appears broken... "); */ return (EIO); } } ==== //depot/projects/uart/modules/uart/Makefile#4 (text+ko) ==== @@ -6,7 +6,7 @@ SRCS= uart_bus_acpi.c uart_bus_ebus.c uart_bus_isa.c uart_bus_pci.c \ uart_bus_puc.c uart_core.c uart_cpu_${MACHINE_ARCH}.c \ uart_dev_ns8250.c uart_dev_sab82532.c uart_dev_z8530.c uart_if.c \ - uart_subr.c uart_tty.c + uart_tty.c SRCS+= bus_if.h device_if.h isa_if.h pci_if.h uart_if.h .include