summaryrefslogtreecommitdiffstats
path: root/sys/dev/buslogic
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2000-01-17 12:38:00 +0000
committernyan <nyan@FreeBSD.org>2000-01-17 12:38:00 +0000
commitf8387c55613c8419ee3055f12819471ee098b38b (patch)
tree0ffa825b0a9def76b1796a485fee7ed05c29048a /sys/dev/buslogic
parent0b5a924d7b74fd876baca5d0bd55e9c9d6a035d7 (diff)
downloadFreeBSD-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.c3
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;
OpenPOWER on IntegriCloud