diff options
author | nyan <nyan@FreeBSD.org> | 2000-01-17 12:38:00 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2000-01-17 12:38:00 +0000 |
commit | f8387c55613c8419ee3055f12819471ee098b38b (patch) | |
tree | 0ffa825b0a9def76b1796a485fee7ed05c29048a /sys/dev/buslogic | |
parent | 0b5a924d7b74fd876baca5d0bd55e9c9d6a035d7 (diff) | |
download | FreeBSD-src-f8387c55613c8419ee3055f12819471ee098b38b.zip FreeBSD-src-f8387c55613c8419ee3055f12819471ee098b38b.tar.gz |
Use rman_get_start instead of bus handle directly.
Diffstat (limited to 'sys/dev/buslogic')
-rw-r--r-- | sys/dev/buslogic/bt_pci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/buslogic/bt_pci.c b/sys/dev/buslogic/bt_pci.c index 154a2f2..6c5d159 100644 --- a/sys/dev/buslogic/bt_pci.c +++ b/sys/dev/buslogic/bt_pci.c @@ -134,7 +134,8 @@ bt_pci_probe(device_t dev) if (error == 0 && pci_info.io_port < BIO_DISABLED) { bt_mark_probed_bio(pci_info.io_port); - if (bt->bsh != bt_iop_from_bio(pci_info.io_port)) { + if (rman_get_start(bt->port) != + bt_iop_from_bio(pci_info.io_port)) { u_int8_t new_addr; new_addr = BIO_DISABLED; |