Deleted Added
full compact
iscsi_subr.c (234233) iscsi_subr.c (254657)
1/*-
2 * Copyright (c) 2005-2010 Daniel Braniss <danny@cs.huji.ac.il>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

24 * SUCH DAMAGE.
25 *
26 */
27/*
28 | $Id: iscsi_subr.c 743 2009-08-08 10:54:53Z danny $
29 */
30
31#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2005-2010 Daniel Braniss <danny@cs.huji.ac.il>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

24 * SUCH DAMAGE.
25 *
26 */
27/*
28 | $Id: iscsi_subr.c 743 2009-08-08 10:54:53Z danny $
29 */
30
31#include <sys/cdefs.h>
32__FBSDID("$FreeBSD: head/sys/dev/iscsi/initiator/iscsi_subr.c 234233 2012-04-13 18:21:56Z jpaetzel $");
32__FBSDID("$FreeBSD: head/sys/dev/iscsi_initiator/iscsi_subr.c 254657 2013-08-22 14:02:34Z trasz $");
33
34#include "opt_iscsi_initiator.h"
35
36#include <sys/param.h>
37#include <sys/kernel.h>
38#include <sys/callout.h>
39#include <sys/malloc.h>
40#include <sys/mbuf.h>

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

48#include <cam/cam.h>
49#include <cam/cam_ccb.h>
50#include <cam/cam_sim.h>
51#include <cam/cam_xpt_sim.h>
52#include <cam/cam_periph.h>
53#include <cam/scsi/scsi_message.h>
54#include <sys/eventhandler.h>
55
33
34#include "opt_iscsi_initiator.h"
35
36#include <sys/param.h>
37#include <sys/kernel.h>
38#include <sys/callout.h>
39#include <sys/malloc.h>
40#include <sys/mbuf.h>

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

48#include <cam/cam.h>
49#include <cam/cam_ccb.h>
50#include <cam/cam_sim.h>
51#include <cam/cam_xpt_sim.h>
52#include <cam/cam_periph.h>
53#include <cam/scsi/scsi_message.h>
54#include <sys/eventhandler.h>
55
56#include <dev/iscsi/initiator/iscsi.h>
57#include <dev/iscsi/initiator/iscsivar.h>
56#include <dev/iscsi_initiator/iscsi.h>
57#include <dev/iscsi_initiator/iscsivar.h>
58
59/*
60 | Interface to the SCSI layer
61 */
62void
63iscsi_r2t(isc_session_t *sp, pduq_t *opq, pduq_t *pq)
64{
65 union ccb *ccb = opq->ccb;

--- 543 unchanged lines hidden ---
58
59/*
60 | Interface to the SCSI layer
61 */
62void
63iscsi_r2t(isc_session_t *sp, pduq_t *opq, pduq_t *pq)
64{
65 union ccb *ccb = opq->ccb;

--- 543 unchanged lines hidden ---