diff options
author | imp <imp@FreeBSD.org> | 2003-09-11 04:22:28 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2003-09-11 04:22:28 +0000 |
commit | fa7b4bac70ac0012d8208fea2bca9cbc95ffe88a (patch) | |
tree | 3121b68637c462febed0f3d7b5a106ea19e5f53a | |
parent | 49ab99976eb2e1ac448f42568924941d91568ad8 (diff) | |
download | FreeBSD-src-fa7b4bac70ac0012d8208fea2bca9cbc95ffe88a.zip FreeBSD-src-fa7b4bac70ac0012d8208fea2bca9cbc95ffe88a.tar.gz |
Minor commentary cleanup, since I didn't understand the comments that
I wrote.
-rw-r--r-- | sys/dev/uart/uart_cpu_pc98.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/uart/uart_cpu_pc98.c b/sys/dev/uart/uart_cpu_pc98.c index 9ff6144..66a035c 100644 --- a/sys/dev/uart/uart_cpu_pc98.c +++ b/sys/dev/uart/uart_cpu_pc98.c @@ -58,8 +58,9 @@ uart_cpu_getdev(int devtype, struct uart_devinfo *di) /* * There are 2 built-in serial ports on pc98 hardware. The * first one is 8251 and the second one is I think an enhance - * version of that. However, for sio flags told the story - * so make a lame attempt to sort this out. + * version of that. However, for the sio driver, flags selected + * which type of uart was in the sytem. We use something similar + * to sort things out. */ for (i = 0; i < 1; i++) { if (resource_int_value("uart", i, "flags", &flags)) @@ -87,8 +88,7 @@ uart_cpu_getdev(int devtype, struct uart_devinfo *di) else di->ops = uart_i8251_ops; di->bas.bst = I386_BUS_SPACE_IO; - i386_bus_space_handle_alloc(I386_BUS_SPACE_IO, ivar, 8, - &di->bas.bsh); + i386_bus_space_handle_alloc(di->bas.bst, ivar, 8, &di->bas.bsh); di->bas.regshft = 0; di->bas.rclk = 0; if (resource_int_value("uart", i, "baud", &ivar) != 0) |