ciss.c (249349) | ciss.c (249468) |
---|---|
1/*- 2 * Copyright (c) 2001 Michael Smith 3 * Copyright (c) 2004 Paul Saab 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 10 unchanged lines hidden (view full) --- 19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 * | 1/*- 2 * Copyright (c) 2001 Michael Smith 3 * Copyright (c) 2004 Paul Saab 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 10 unchanged lines hidden (view full) --- 19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 * |
27 * $FreeBSD: head/sys/dev/ciss/ciss.c 249349 2013-04-10 23:31:19Z sbruno $ | 27 * $FreeBSD: head/sys/dev/ciss/ciss.c 249468 2013-04-14 09:55:48Z mav $ |
28 */ 29 30/* 31 * Common Interface for SCSI-3 Support driver. 32 * 33 * CISS claims to provide a common interface between a generic SCSI 34 * transport and an intelligent host adapter. 35 * --- 2872 unchanged lines hidden (view full) --- 2908 2909 debug_called(1); 2910 2911 if ((ccb = xpt_alloc_ccb_nowait()) == NULL) { 2912 ciss_printf(sc, "rescan failed (can't allocate CCB)\n"); 2913 return; 2914 } 2915 | 28 */ 29 30/* 31 * Common Interface for SCSI-3 Support driver. 32 * 33 * CISS claims to provide a common interface between a generic SCSI 34 * transport and an intelligent host adapter. 35 * --- 2872 unchanged lines hidden (view full) --- 2908 2909 debug_called(1); 2910 2911 if ((ccb = xpt_alloc_ccb_nowait()) == NULL) { 2912 ciss_printf(sc, "rescan failed (can't allocate CCB)\n"); 2913 return; 2914 } 2915 |
2916 if (xpt_create_path(&ccb->ccb_h.path, xpt_periph, | 2916 if (xpt_create_path(&ccb->ccb_h.path, NULL, |
2917 cam_sim_path(sc->ciss_cam_sim[bus]), 2918 target, CAM_LUN_WILDCARD) != CAM_REQ_CMP) { 2919 ciss_printf(sc, "rescan failed (can't create path)\n"); 2920 xpt_free_ccb(ccb); 2921 return; 2922 } 2923 xpt_rescan(ccb); 2924 /* scan is now in progress */ --- 1760 unchanged lines hidden --- | 2917 cam_sim_path(sc->ciss_cam_sim[bus]), 2918 target, CAM_LUN_WILDCARD) != CAM_REQ_CMP) { 2919 ciss_printf(sc, "rescan failed (can't create path)\n"); 2920 xpt_free_ccb(ccb); 2921 return; 2922 } 2923 xpt_rescan(ccb); 2924 /* scan is now in progress */ --- 1760 unchanged lines hidden --- |