From 82df4f3134d636d48f7854df45a3d9337c8ca610 Mon Sep 17 00:00:00 2001 From: Yoshihiro Takahashi Date: Tue, 23 Sep 2003 09:49:37 +0000 Subject: [PATCH] Compare base address instead of bus_handle. --- sys/dev/uart/uart_cpu_pc98.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/uart/uart_cpu_pc98.c b/sys/dev/uart/uart_cpu_pc98.c index 7a0f6dae2fce..6144a1b55ade 100644 --- a/sys/dev/uart/uart_cpu_pc98.c +++ b/sys/dev/uart/uart_cpu_pc98.c @@ -40,7 +40,7 @@ int uart_cpu_eqres(struct uart_bas *b1, struct uart_bas *b2) { - return ((b1->bsh == b2->bsh && b1->bst == b2->bst) ? 1 : 0); + return ((b1->iobase == b2->iobase && b1->bst == b2->bst) ? 1 : 0); } int