diff options
author | Jonathan Matthew <jmatthew@cvs.openbsd.org> | 2018-07-03 06:54:48 +0000 |
---|---|---|
committer | Jonathan Matthew <jmatthew@cvs.openbsd.org> | 2018-07-03 06:54:48 +0000 |
commit | 3ef74ac296e2700938c665549b2f152e480ffd02 (patch) | |
tree | bd31890f4b124c0784108e8a6e1919392ce5cc90 /sys | |
parent | 1b1d602c8a2bfd25c71142a77224489a3d1d9ad7 (diff) |
If we're not on a fabric, we may still need to attach and detach targets
as part of processing port database changes.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/qle.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/pci/qle.c b/sys/dev/pci/qle.c index 749b6618395..54f40aaa11c 100644 --- a/sys/dev/pci/qle.c +++ b/sys/dev/pci/qle.c @@ -1,4 +1,4 @@ -/* $OpenBSD: qle.c,v 1.39 2017/01/24 02:28:17 visa Exp $ */ +/* $OpenBSD: qle.c,v 1.40 2018/07/03 06:54:47 jmatthew Exp $ */ /* * Copyright (c) 2013, 2014 Jonathan Matthew <jmatthew@openbsd.org> @@ -2221,6 +2221,10 @@ qle_do_update(void *xsc) if (qle_update_fabric(sc)) qle_update_start(sc, QLE_UPDATE_TASK_SCANNING_FABRIC); + else + qle_update_start(sc, + QLE_UPDATE_TASK_ATTACH_TARGET | + QLE_UPDATE_TASK_DETACH_TARGET); qle_update_done(sc, QLE_UPDATE_TASK_SCAN_FABRIC); continue; |