Use bus_space_compare() rather than i386_memio_compare() directly.

This commit is contained in:
Yoshihiro Takahashi 2008-09-07 04:47:39 +00:00
parent 05165e3276
commit 3726c6bbc1

View File

@ -64,7 +64,7 @@ int
uart_cpu_eqres(struct uart_bas *b1, struct uart_bas *b2)
{
if (i386_memio_compare(b1->bst, b1->bsh, b2->bst, b2->bsh) == 0)
if (bus_space_compare(b1->bst, b1->bsh, b2->bst, b2->bsh) == 0)
return (1);
return (0);