mirror of
https://github.com/opnsense/src.git
synced 2026-04-21 14:17:06 -04:00
Fix reversed virtual/physical bus check, whoops!
Submitted by: HIROSHI OOTA <oota@LSi.nec.co.jp>
This commit is contained in:
parent
c62f1ccc6f
commit
096dcb5345
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue