diff options
author | 2020-06-24 19:35:11 +0000 | |
---|---|---|
committer | 2020-06-24 19:35:11 +0000 | |
commit | 4ab6e03abeb28abf2eed5cf68f775a48defaf020 (patch) | |
tree | 220b75a101ae329e99a698c7d5dcaad53d592687 /sys | |
parent | replace mixerctl with sndioctl; from benjamin baier (diff) | |
download | wireguard-openbsd-4ab6e03abeb28abf2eed5cf68f775a48defaf020.tar.xz wireguard-openbsd-4ab6e03abeb28abf2eed5cf68f775a48defaf020.zip |
Use SDEV_NO_ADAPTER_TARGET instead of '7' to indicate the adapter is
not a target on the bus. adapter_buswidth is 2.
ok dlg@ as part of a larger diff.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/atapiscsi/atapiscsi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/atapiscsi/atapiscsi.c b/sys/dev/atapiscsi/atapiscsi.c index a68172798ba..c17a90790b9 100644 --- a/sys/dev/atapiscsi/atapiscsi.c +++ b/sys/dev/atapiscsi/atapiscsi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: atapiscsi.c,v 1.109 2020/02/13 15:11:32 krw Exp $ */ +/* $OpenBSD: atapiscsi.c,v 1.110 2020/06/24 19:35:11 krw Exp $ */ /* * This code is derived from code with the copyright below. @@ -219,7 +219,7 @@ atapiscsi_attach(struct device *parent, struct device *self, void *aux) as->chp = chp; as->drive = drvp->drive; as->sc_adapterlink.adapter_softc = as; - as->sc_adapterlink.adapter_target = 7; + as->sc_adapterlink.adapter_target = SDEV_NO_ADAPTER_TARGET; as->sc_adapterlink.adapter_buswidth = 2; as->sc_adapterlink.adapter = &atapiscsi_switch; as->sc_adapterlink.luns = 1; |