netback.c (71ba16a0a02f4a3fd56d03e908615a8b5f701ba4) | netback.c (4489124c04727a4aad418eec3148e0c8de23ff4d) |
---|---|
1/*- 2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3 * 4 * Copyright (c) 2009-2011 Spectra Logic Corporation 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 1378 unchanged lines hidden (view full) --- 1387 xnb = device_get_softc(dev); 1388 1389 DPRINTF("frontend_state=%s, xnb_state=%s\n", 1390 xenbus_strstate(frontend_state), 1391 xenbus_strstate(xenbus_get_state(xnb->dev))); 1392 1393 switch (frontend_state) { 1394 case XenbusStateInitialising: | 1/*- 2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3 * 4 * Copyright (c) 2009-2011 Spectra Logic Corporation 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 1378 unchanged lines hidden (view full) --- 1387 xnb = device_get_softc(dev); 1388 1389 DPRINTF("frontend_state=%s, xnb_state=%s\n", 1390 xenbus_strstate(frontend_state), 1391 xenbus_strstate(xenbus_get_state(xnb->dev))); 1392 1393 switch (frontend_state) { 1394 case XenbusStateInitialising: |
1395 break; | |
1396 case XenbusStateInitialised: | 1395 case XenbusStateInitialised: |
1396 break; |
|
1397 case XenbusStateConnected: 1398 xnb_connect(xnb); 1399 break; 1400 case XenbusStateClosing: 1401 case XenbusStateClosed: 1402 mtx_lock(&xnb->sc_lock); 1403 xnb_shutdown(xnb); 1404 mtx_unlock(&xnb->sc_lock); --- 1101 unchanged lines hidden --- | 1397 case XenbusStateConnected: 1398 xnb_connect(xnb); 1399 break; 1400 case XenbusStateClosing: 1401 case XenbusStateClosed: 1402 mtx_lock(&xnb->sc_lock); 1403 xnb_shutdown(xnb); 1404 mtx_unlock(&xnb->sc_lock); --- 1101 unchanged lines hidden --- |