diff options
author | nyan <nyan@FreeBSD.org> | 2004-11-21 15:18:35 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2004-11-21 15:18:35 +0000 |
commit | 8ce0911a9f76f3436aa9ae16d30d06bbacbd3032 (patch) | |
tree | 5cb0e4246a473d880857b332da5b07bb737cba46 /sys/dev/uart | |
parent | 69595c71c333cbd9d9ecb37453dae5f2566f2f58 (diff) | |
download | FreeBSD-src-8ce0911a9f76f3436aa9ae16d30d06bbacbd3032.zip FreeBSD-src-8ce0911a9f76f3436aa9ae16d30d06bbacbd3032.tar.gz |
uart_i8251_ops is gone.
Diffstat (limited to 'sys/dev/uart')
-rw-r--r-- | sys/dev/uart/uart_cpu_pc98.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/sys/dev/uart/uart_cpu_pc98.c b/sys/dev/uart/uart_cpu_pc98.c index ffe7957..3664096 100644 --- a/sys/dev/uart/uart_cpu_pc98.c +++ b/sys/dev/uart/uart_cpu_pc98.c @@ -79,14 +79,8 @@ uart_cpu_getdev(int devtype, struct uart_devinfo *di) if (resource_int_value("uart", i, "port", &ivar) != 0 || ivar == 0) continue; - /* - * Got it. Fill in the instance and return it. We have - * both i8251 an ns8250 and successors on pc98. - */ - if (flags & 0x100) - di->ops = uart_ns8250_ops; - else - di->ops = uart_i8251_ops; + + di->ops = uart_ns8250_ops; di->bas.chan = 0; di->bas.bst = uart_bus_space_io; if (bus_space_map(di->bas.bst, ivar, 8, 0, &di->bas.bsh) != 0) |