diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2020-06-24 18:33:51 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2020-06-24 18:33:51 +0000 |
commit | 939b5702bd08b104394c82a94cab8c745071c941 (patch) | |
tree | 70163a8f7c3882a9b3b392cb3980d81fa6b38cf4 /sys/dev/pci/mfii.c | |
parent | a2398d60acadf6e9ff0958f35fe45d0dfb0c9d55 (diff) |
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.
Diffstat (limited to 'sys/dev/pci/mfii.c')
-rw-r--r-- | sys/dev/pci/mfii.c | 4 |
1 files changed, 2 insertions, 2 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; |