isp_freebsd.c (291080) | isp_freebsd.c (291144) |
---|---|
1/*- 2 * Copyright (c) 1997-2009 by Matthew Jacob 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 * Platform (FreeBSD) dependent common attachment code for Qlogic adapters. 29 */ 30#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1997-2009 by Matthew Jacob 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 * Platform (FreeBSD) dependent common attachment code for Qlogic adapters. 29 */ 30#include <sys/cdefs.h> |
31__FBSDID("$FreeBSD: head/sys/dev/isp/isp_freebsd.c 291080 2015-11-19 17:43:47Z mav $"); | 31__FBSDID("$FreeBSD: head/sys/dev/isp/isp_freebsd.c 291144 2015-11-21 21:01:00Z mav $"); |
32 33#include <dev/isp/isp_freebsd.h> 34#include <sys/unistd.h> 35#include <sys/kthread.h> 36#include <sys/conf.h> 37#include <sys/module.h> 38#include <sys/ioccom.h> 39#include <dev/isp/isp_ioctl.h> --- 2297 unchanged lines hidden (view full) --- 2337 if (aep->at_flags & AT_TQAE) { 2338 atiop->tag_action = aep->at_tag_type; 2339 atiop->ccb_h.status |= CAM_TAG_ACTION_VALID; 2340 } 2341 atp->orig_datalen = 0; 2342 atp->bytes_xfered = 0; 2343 atp->lun = aep->at_lun; 2344 atp->nphdl = aep->at_iid; | 32 33#include <dev/isp/isp_freebsd.h> 34#include <sys/unistd.h> 35#include <sys/kthread.h> 36#include <sys/conf.h> 37#include <sys/module.h> 38#include <sys/ioccom.h> 39#include <dev/isp/isp_ioctl.h> --- 2297 unchanged lines hidden (view full) --- 2337 if (aep->at_flags & AT_TQAE) { 2338 atiop->tag_action = aep->at_tag_type; 2339 atiop->ccb_h.status |= CAM_TAG_ACTION_VALID; 2340 } 2341 atp->orig_datalen = 0; 2342 atp->bytes_xfered = 0; 2343 atp->lun = aep->at_lun; 2344 atp->nphdl = aep->at_iid; |
2345 atp->portid = PORT_NONE; | 2345 atp->portid = PORT_ANY; |
2346 atp->oxid = 0; 2347 atp->cdb0 = atiop->cdb_io.cdb_bytes[0]; 2348 atp->tattr = aep->at_tag_type; 2349 atp->state = ATPD_STATE_CAM; 2350 isp_prt(isp, ISP_LOGTDEBUG0, "ATIO[0x%x] CDB=0x%x lun %x", aep->at_tag_val, atp->cdb0, atp->lun); 2351 rls_lun_statep(isp, tptr); 2352} 2353 --- 3234 unchanged lines hidden --- | 2346 atp->oxid = 0; 2347 atp->cdb0 = atiop->cdb_io.cdb_bytes[0]; 2348 atp->tattr = aep->at_tag_type; 2349 atp->state = ATPD_STATE_CAM; 2350 isp_prt(isp, ISP_LOGTDEBUG0, "ATIO[0x%x] CDB=0x%x lun %x", aep->at_tag_val, atp->cdb0, atp->lun); 2351 rls_lun_statep(isp, tptr); 2352} 2353 --- 3234 unchanged lines hidden --- |