Use rman_get_start instead of bus handle directly.

This commit is contained in:
Yoshihiro Takahashi 2000-01-17 12:38:00 +00:00
parent 82de8666e1
commit 521c75a254
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=56176

View File

@ -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;