summaryrefslogtreecommitdiffstats
path: root/sys/dev/uart/uart_cpu_pc98.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-12-12 21:00:58 +0000
committerimp <imp@FreeBSD.org>2005-12-12 21:00:58 +0000
commit8aa9fc9c151a7b7a6aa913be91fae2dca213edc4 (patch)
treede5e6dc38512c6a9282ee32995b39dfe9278e623 /sys/dev/uart/uart_cpu_pc98.c
parent961396d5dde5ec93f052b0fd6e6a0bee5852d348 (diff)
downloadFreeBSD-src-8aa9fc9c151a7b7a6aa913be91fae2dca213edc4.zip
FreeBSD-src-8aa9fc9c151a7b7a6aa913be91fae2dca213edc4.tar.gz
Make uart_getenv() not be ns8250 dependent. This will allow, in the future,
compilation of kernels without ns8250 support but using the uart framework. These kernels will be for machines where size matters more, so including code that can never be executed is undesriable...
Diffstat (limited to 'sys/dev/uart/uart_cpu_pc98.c')
-rw-r--r--sys/dev/uart/uart_cpu_pc98.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/uart/uart_cpu_pc98.c b/sys/dev/uart/uart_cpu_pc98.c
index 0ae2559..0887a67 100644
--- a/sys/dev/uart/uart_cpu_pc98.c
+++ b/sys/dev/uart/uart_cpu_pc98.c
@@ -52,6 +52,7 @@ uart_cpu_getdev(int devtype, struct uart_devinfo *di)
unsigned int i, ivar, flags;
/* Check the environment. */
+ di->ops = uart_ns8250_ops;
if (uart_getenv(devtype, di) == 0)
return (0);
OpenPOWER on IntegriCloud