isc_cam.c (249468) | isc_cam.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 --- 14 unchanged lines hidden (view full) --- 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * 26 */ 27/* 28 | $Id: isc_cam.c 998 2009-12-20 10:32:45Z danny $ 29 */ 30#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 --- 14 unchanged lines hidden (view full) --- 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * 26 */ 27/* 28 | $Id: isc_cam.c 998 2009-12-20 10:32:45Z danny $ 29 */ 30#include <sys/cdefs.h> |
31__FBSDID("$FreeBSD: head/sys/dev/iscsi/initiator/isc_cam.c 249468 2013-04-14 09:55:48Z mav $"); | 31__FBSDID("$FreeBSD: head/sys/dev/iscsi_initiator/isc_cam.c 254657 2013-08-22 14:02:34Z trasz $"); |
32 33#include "opt_iscsi_initiator.h" 34 35#include <sys/param.h> 36#include <sys/kernel.h> 37#include <sys/callout.h> 38#if __FreeBSD_version >= 700000 39#include <sys/lock.h> --- 8 unchanged lines hidden (view full) --- 48#include <sys/sx.h> 49 50#include <cam/cam.h> 51#include <cam/cam_ccb.h> 52#include <cam/cam_sim.h> 53#include <cam/cam_xpt_sim.h> 54#include <cam/cam_periph.h> 55 | 32 33#include "opt_iscsi_initiator.h" 34 35#include <sys/param.h> 36#include <sys/kernel.h> 37#include <sys/callout.h> 38#if __FreeBSD_version >= 700000 39#include <sys/lock.h> --- 8 unchanged lines hidden (view full) --- 48#include <sys/sx.h> 49 50#include <cam/cam.h> 51#include <cam/cam_ccb.h> 52#include <cam/cam_sim.h> 53#include <cam/cam_xpt_sim.h> 54#include <cam/cam_periph.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 59static void 60_inq(struct cam_sim *sim, union ccb *ccb) 61{ 62 struct ccb_pathinq *cpi = &ccb->cpi; 63 isc_session_t *sp = cam_sim_softc(sim); 64 65 debug_called(8); --- 319 unchanged lines hidden --- | 58 59static void 60_inq(struct cam_sim *sim, union ccb *ccb) 61{ 62 struct ccb_pathinq *cpi = &ccb->cpi; 63 isc_session_t *sp = cam_sim_softc(sim); 64 65 debug_called(8); --- 319 unchanged lines hidden --- |