summaryrefslogtreecommitdiff
path: root/sys/dev/pci/mpii.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/mpii.c')
-rw-r--r--sys/dev/pci/mpii.c4
1 files changed, 2 insertions, 2 deletions
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;