PERFORCE change 37353 for review

Marcel Moolenaar marcel at FreeBSD.org
Mon Sep 1 21:54:39 PDT 2003


http://perforce.freebsd.org/chv.cgi?CH=37353

Change 37353 by marcel at 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 <bsd.kmod.mk>


More information about the p4-projects mailing list