diff options
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/mfii.c | 4 | ||||
-rw-r--r-- | sys/dev/pci/mpii.c | 4 | ||||
-rw-r--r-- | sys/dev/pci/vmwpvs.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/pci/mfii.c b/sys/dev/pci/mfii.c index 67f3f4eb6f2..2920d7cd9b3 100644 --- a/sys/dev/pci/mfii.c +++ b/sys/dev/pci/mfii.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mfii.c,v 1.68 2020/03/21 20:42:23 krw Exp $ */ +/* $OpenBSD: mfii.c,v 1.69 2020/06/24 18:33:50 krw Exp $ */ /* * Copyright (c) 2012 David Gwynne <dlg@openbsd.org> @@ -921,7 +921,7 @@ mfii_syspd(struct mfii_softc *sc) link->adapter = &mfii_pd_switch; link->adapter_softc = sc; link->adapter_buswidth = MFI_MAX_PD; - link->adapter_target = -1; + link->adapter_target = SDEV_NO_ADAPTER_TARGET; link->openings = sc->sc_max_cmds - 1; link->pool = &sc->sc_iopool; diff --git a/sys/dev/pci/mpii.c b/sys/dev/pci/mpii.c index f5c5cf6303f..1041143abe5 100644 --- a/sys/dev/pci/mpii.c +++ b/sys/dev/pci/mpii.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpii.c,v 1.128 2020/02/05 16:29:30 krw Exp $ */ +/* $OpenBSD: mpii.c,v 1.129 2020/06/24 18:33:50 krw Exp $ */ /* * Copyright (c) 2010, 2012 Mike Belopuhov * Copyright (c) 2009 James Giannoules @@ -584,7 +584,7 @@ mpii_attach(struct device *parent, struct device *self, void *aux) /* we should be good to go now, attach scsibus */ sc->sc_link.adapter = &mpii_switch; sc->sc_link.adapter_softc = sc; - sc->sc_link.adapter_target = -1; + sc->sc_link.adapter_target = SDEV_NO_ADAPTER_TARGET; sc->sc_link.adapter_buswidth = sc->sc_max_devices; sc->sc_link.luns = 1; sc->sc_link.openings = sc->sc_max_cmds - 1; diff --git a/sys/dev/pci/vmwpvs.c b/sys/dev/pci/vmwpvs.c index d607282dd65..b6179c12434 100644 --- a/sys/dev/pci/vmwpvs.c +++ b/sys/dev/pci/vmwpvs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vmwpvs.c,v 1.16 2020/02/05 16:29:30 krw Exp $ */ +/* $OpenBSD: vmwpvs.c,v 1.17 2020/06/24 18:33:50 krw Exp $ */ /* * Copyright (c) 2013 David Gwynne <dlg@openbsd.org> @@ -562,7 +562,7 @@ vmwpvs_attach(struct device *parent, struct device *self, void *aux) sc->sc_link.adapter = &vmwpvs_switch; sc->sc_link.adapter_softc = sc; - sc->sc_link.adapter_target = -1; + sc->sc_link.adapter_target = SDEV_NO_ADAPTER_TARGET; sc->sc_link.adapter_buswidth = sc->sc_bus_width; sc->sc_link.openings = VMWPVS_OPENINGS; sc->sc_link.pool = &sc->sc_iopool; |