Author: np
Date: Sun May 3 18:54:17 2015
New Revision: 282367
URL: https://svnweb.freebsd.org/changeset/base/282367
Log:
MFC r272183:
Make sure the adapter's management queue and the event queue are
available before any uppper layer driver (TOE, iWARP, or iSCSI)
registers with the base cxgbe(4) driver.
Modified:
stable/10/sys/dev/cxgbe/t4_main.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/dev/cxgbe/t4_main.c
==============================================================================
--- stable/10/sys/dev/cxgbe/t4_main.c Sun May 3 15:09:34 2015
(r282366)
+++ stable/10/sys/dev/cxgbe/t4_main.c Sun May 3 18:54:17 2015
(r282367)
@@ -8262,6 +8262,12 @@ t4_activate_uld(struct adapter *sc, int
SLIST_FOREACH(ui, &t4_uld_list, link) {
if (ui->uld_id == id) {
+ if (!(sc->flags & FULL_INIT_DONE)) {
+ rc = adapter_full_init(sc);
+ if (rc != 0)
+ goto done;
+ }
+
rc = ui->activate(sc);
if (rc == 0)
ui->refcount++;
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "[email protected]"