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. Submitted by: Hariprasad at chelsio dot com Reviewed by: np@
This commit is contained in:
parent
c1d67516d9
commit
db25c97a1a
@ -8283,6 +8283,12 @@ t4_activate_uld(struct adapter *sc, int id)
|
|||||||
|
|
||||||
SLIST_FOREACH(ui, &t4_uld_list, link) {
|
SLIST_FOREACH(ui, &t4_uld_list, link) {
|
||||||
if (ui->uld_id == id) {
|
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);
|
rc = ui->activate(sc);
|
||||||
if (rc == 0)
|
if (rc == 0)
|
||||||
ui->refcount++;
|
ui->refcount++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user