diff options
author | imp <imp@FreeBSD.org> | 2005-12-12 21:00:58 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2005-12-12 21:00:58 +0000 |
commit | 8aa9fc9c151a7b7a6aa913be91fae2dca213edc4 (patch) | |
tree | de5e6dc38512c6a9282ee32995b39dfe9278e623 /sys/dev/uart/uart_cpu_i386.c | |
parent | 961396d5dde5ec93f052b0fd6e6a0bee5852d348 (diff) | |
download | FreeBSD-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_i386.c')
-rw-r--r-- | sys/dev/uart/uart_cpu_i386.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/uart/uart_cpu_i386.c b/sys/dev/uart/uart_cpu_i386.c index 673dde5..c8e2e2e 100644 --- a/sys/dev/uart/uart_cpu_i386.c +++ b/sys/dev/uart/uart_cpu_i386.c @@ -52,6 +52,7 @@ uart_cpu_getdev(int devtype, struct uart_devinfo *di) unsigned int i, ivar; /* Check the environment. */ + di->ops = uart_ns8250_ops; if (uart_getenv(devtype, di) == 0) return (0); |