summaryrefslogtreecommitdiffstats
path: root/sys/dev/uart
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2003-09-11 04:14:26 +0000
committerimp <imp@FreeBSD.org>2003-09-11 04:14:26 +0000
commit49ab99976eb2e1ac448f42568924941d91568ad8 (patch)
tree7bdf5d354c964b53ae6ee5db05cefc87b87c2fb5 /sys/dev/uart
parent5c45d0d78f93d0e8f27829d6bd33bf256062ec6c (diff)
downloadFreeBSD-src-49ab99976eb2e1ac448f42568924941d91568ad8.zip
FreeBSD-src-49ab99976eb2e1ac448f42568924941d91568ad8.tar.gz
Fix compile on pc98. Maybe this is correct.
Diffstat (limited to 'sys/dev/uart')
-rw-r--r--sys/dev/uart/uart_cpu_pc98.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/uart/uart_cpu_pc98.c b/sys/dev/uart/uart_cpu_pc98.c
index 05704d2..9ff6144 100644
--- a/sys/dev/uart/uart_cpu_pc98.c
+++ b/sys/dev/uart/uart_cpu_pc98.c
@@ -87,7 +87,8 @@ uart_cpu_getdev(int devtype, struct uart_devinfo *di)
else
di->ops = uart_i8251_ops;
di->bas.bst = I386_BUS_SPACE_IO;
- di->bas.bsh = ivar;
+ i386_bus_space_handle_alloc(I386_BUS_SPACE_IO, ivar, 8,
+ &di->bas.bsh);
di->bas.regshft = 0;
di->bas.rclk = 0;
if (resource_int_value("uart", i, "baud", &ivar) != 0)
OpenPOWER on IntegriCloud