summaryrefslogtreecommitdiff
path: root/sys/dev/buslogic
diff options
context:
space:
mode:
authorYoshihiro Takahashi <nyan@FreeBSD.org>2000-01-17 12:38:00 +0000
committerYoshihiro Takahashi <nyan@FreeBSD.org>2000-01-17 12:38:00 +0000
commit521c75a25493386b65738bee399604d663953a9c (patch)
tree2127f22d30db63e19d039d1a0624887f017de7d4 /sys/dev/buslogic
parent82de8666e1b43ad7ce129376132ea7aead0877fa (diff)
Notes
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 154a2f2febc3..6c5d159e58bc 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;