diff options
author | krw <krw@openbsd.org> | 2020-07-16 14:44:55 +0000 |
---|---|---|
committer | krw <krw@openbsd.org> | 2020-07-16 14:44:55 +0000 |
commit | 67c3123be70092a949e63d21225c955364fdbe1d (patch) | |
tree | 03bfac0e576a9caabb5f7149761906a41ff56973 /sys/scsi/scsi_base.c | |
parent | sync (diff) | |
download | wireguard-openbsd-67c3123be70092a949e63d21225c955364fdbe1d.tar.xz wireguard-openbsd-67c3123be70092a949e63d21225c955364fdbe1d.zip |
Access scsibus_softc info (luns, adapter, adapter_target,
adapter_softc, adapter_buswidth) via link->bus rather than using
copies currently residing in the link.
Diffstat (limited to 'sys/scsi/scsi_base.c')
-rw-r--r-- | sys/scsi/scsi_base.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/scsi_base.c b/sys/scsi/scsi_base.c index 07be9de8a29..bca409292ef 100644 --- a/sys/scsi/scsi_base.c +++ b/sys/scsi/scsi_base.c @@ -1,4 +1,4 @@ -/* $OpenBSD: scsi_base.c,v 1.265 2020/03/12 19:21:01 krw Exp $ */ +/* $OpenBSD: scsi_base.c,v 1.266 2020/07/16 14:44:55 krw Exp $ */ /* $NetBSD: scsi_base.c,v 1.43 1997/04/02 02:29:36 mycroft Exp $ */ /* @@ -1436,7 +1436,7 @@ scsi_xs_exec(struct scsi_xfer *xs) /* The adapter's scsi_cmd() is responsible for calling scsi_done(). */ KERNEL_LOCK(); - xs->sc_link->adapter->scsi_cmd(xs); + xs->sc_link->bus->sb_adapter->scsi_cmd(xs); KERNEL_UNLOCK(); } |