diff options
| author | Mike Smith <msmith@FreeBSD.org> | 2001-10-22 17:38:02 +0000 |
|---|---|---|
| committer | Mike Smith <msmith@FreeBSD.org> | 2001-10-22 17:38:02 +0000 |
| commit | 096dcb53455f5cb2affbab31a485bad505900a36 (patch) | |
| tree | d13b88387c7b6c62a4b6eaa3e5c33bcfea29c05b /sys | |
| parent | c62f1ccc6f6ee8d63c70c63d4ceb739e6c45aa26 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/dev/mly/mly.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mly/mly.c b/sys/dev/mly/mly.c index 9063cce07935..e7b7a5c83379 100644 --- a/sys/dev/mly/mly.c +++ b/sys/dev/mly/mly.c @@ -847,7 +847,7 @@ mly_rescan_btl(struct mly_softc *sc, int bus, int target) mci->addr.phys.controller = 0; mci->timeout.value = 30; mci->timeout.scale = MLY_TIMEOUT_SECONDS; - if (bus < sc->mly_controllerinfo->virtual_channels_present) { + if (MLY_BUS_IS_VIRTUAL(sc, bus)) { mc->mc_length = mci->data_size = sizeof(struct mly_ioctl_getlogdevinfovalid); mci->sub_ioctl = MDACIOCTL_GETLOGDEVINFOVALID; mci->addr.log.logdev = MLY_LOGDEV_ID(sc, bus, target); |
