From 939b5702bd08b104394c82a94cab8c745071c941 Mon Sep 17 00:00:00 2001 From: Kenneth R Westerback Date: Wed, 24 Jun 2020 18:33:51 +0000 Subject: Use SDEV_NO_ADAPTER_TARGET instead of -1 to indicate the adapter is not a target on the bus. ok dlg@ as part of a larger diff. --- sys/dev/pci/mfii.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/pci/mfii.c') 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 @@ -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; -- cgit v1.2.3