Date: Mon, 12 Dec 2005 21:58:58 GMT From: Warner Losh <imp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 88102 for review Message-ID: <200512122158.jBCLwwCt085740@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512122158.jBCLwwCt085740>