Deleted Added
full compact
cam_xpt.c (195534) cam_xpt.c (196008)
1/*-
2 * Implementation of the Common Access Method Transport (XPT) layer.
3 *
4 * Copyright (c) 1997, 1998, 1999 Justin T. Gibbs.
5 * Copyright (c) 1997, 1998, 1999 Kenneth D. Merry.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 14 unchanged lines hidden (view full) ---

23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 */
29
30#include <sys/cdefs.h>
1/*-
2 * Implementation of the Common Access Method Transport (XPT) layer.
3 *
4 * Copyright (c) 1997, 1998, 1999 Justin T. Gibbs.
5 * Copyright (c) 1997, 1998, 1999 Kenneth D. Merry.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 14 unchanged lines hidden (view full) ---

23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 */
29
30#include <sys/cdefs.h>
31__FBSDID("$FreeBSD: head/sys/cam/cam_xpt.c 195534 2009-07-10 08:18:08Z scottl $");
31__FBSDID("$FreeBSD: head/sys/cam/cam_xpt.c 196008 2009-08-01 01:04:26Z mjacob $");
32
33#include <sys/param.h>
34#include <sys/bus.h>
35#include <sys/systm.h>
36#include <sys/types.h>
37#include <sys/malloc.h>
38#include <sys/kernel.h>
39#include <sys/time.h>

--- 2520 unchanged lines hidden (view full) ---

2560 */
2561 }
2562 /* FALLTHROUGH */
2563 case XPT_ACCEPT_TARGET_IO:
2564 case XPT_EN_LUN:
2565 case XPT_IMMED_NOTIFY:
2566 case XPT_NOTIFY_ACK:
2567 case XPT_RESET_BUS:
32
33#include <sys/param.h>
34#include <sys/bus.h>
35#include <sys/systm.h>
36#include <sys/types.h>
37#include <sys/malloc.h>
38#include <sys/kernel.h>
39#include <sys/time.h>

--- 2520 unchanged lines hidden (view full) ---

2560 */
2561 }
2562 /* FALLTHROUGH */
2563 case XPT_ACCEPT_TARGET_IO:
2564 case XPT_EN_LUN:
2565 case XPT_IMMED_NOTIFY:
2566 case XPT_NOTIFY_ACK:
2567 case XPT_RESET_BUS:
2568 case XPT_IMMEDIATE_NOTIFY:
2569 case XPT_NOTIFY_ACKNOWLEDGE:
2570 case XPT_GET_SIM_KNOB:
2571 case XPT_SET_SIM_KNOB:
2568 {
2569 struct cam_sim *sim;
2570
2571 sim = start_ccb->ccb_h.path->bus->sim;
2572 (*(sim->sim_action))(sim, start_ccb);
2573 break;
2574 }
2575 case XPT_PATH_INQ:

--- 2418 unchanged lines hidden ---
2572 {
2573 struct cam_sim *sim;
2574
2575 sim = start_ccb->ccb_h.path->bus->sim;
2576 (*(sim->sim_action))(sim, start_ccb);
2577 break;
2578 }
2579 case XPT_PATH_INQ:

--- 2418 unchanged lines hidden ---