Use bus_space_compare() rather than i386_memio_compare() directly.
This commit is contained in:
parent
05165e3276
commit
3726c6bbc1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user