Deleted Added
full compact
isp_target.c (291531) isp_target.c (292921)
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 *

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

36 * Include header file appropriate for platform we're building on.
37 */
38
39#ifdef __NetBSD__
40#include <dev/ic/isp_netbsd.h>
41#endif
42#ifdef __FreeBSD__
43#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 *

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

36 * Include header file appropriate for platform we're building on.
37 */
38
39#ifdef __NetBSD__
40#include <dev/ic/isp_netbsd.h>
41#endif
42#ifdef __FreeBSD__
43#include <sys/cdefs.h>
44__FBSDID("$FreeBSD: stable/10/sys/dev/isp/isp_target.c 291531 2015-11-30 21:57:54Z mav $");
44__FBSDID("$FreeBSD: stable/10/sys/dev/isp/isp_target.c 292921 2015-12-30 11:49:48Z mav $");
45#include <dev/isp/isp_freebsd.h>
46#endif
47#ifdef __OpenBSD__
48#include <dev/ic/isp_openbsd.h>
49#endif
50#ifdef __linux__
51#include "isp_linux.h"
52#endif

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

1089static void
1090isp_handle_ctio2(ispsoftc_t *isp, ct2_entry_t *ct)
1091{
1092 void *xs;
1093 int pl = ISP_LOGTDEBUG2;
1094 char *fmsg = NULL;
1095
1096 if (ct->ct_syshandle) {
45#include <dev/isp/isp_freebsd.h>
46#endif
47#ifdef __OpenBSD__
48#include <dev/ic/isp_openbsd.h>
49#endif
50#ifdef __linux__
51#include "isp_linux.h"
52#endif

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

1089static void
1090isp_handle_ctio2(ispsoftc_t *isp, ct2_entry_t *ct)
1091{
1092 void *xs;
1093 int pl = ISP_LOGTDEBUG2;
1094 char *fmsg = NULL;
1095
1096 if (ct->ct_syshandle) {
1097 xs = isp_find_xs_tgt(isp, ct->ct_syshandle);
1097 xs = isp_find_xs(isp, ct->ct_syshandle);
1098 if (xs == NULL) {
1099 pl = ISP_LOGALL;
1100 }
1101 } else {
1102 xs = NULL;
1103 }
1104
1105 switch (ct->ct_status & ~QLTM_SVALID) {

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

1244static void
1245isp_handle_ctio7(ispsoftc_t *isp, ct7_entry_t *ct)
1246{
1247 void *xs;
1248 int pl = ISP_LOGTDEBUG2;
1249 char *fmsg = NULL;
1250
1251 if (ct->ct_syshandle) {
1098 if (xs == NULL) {
1099 pl = ISP_LOGALL;
1100 }
1101 } else {
1102 xs = NULL;
1103 }
1104
1105 switch (ct->ct_status & ~QLTM_SVALID) {

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

1244static void
1245isp_handle_ctio7(ispsoftc_t *isp, ct7_entry_t *ct)
1246{
1247 void *xs;
1248 int pl = ISP_LOGTDEBUG2;
1249 char *fmsg = NULL;
1250
1251 if (ct->ct_syshandle) {
1252 xs = isp_find_xs_tgt(isp, ct->ct_syshandle);
1252 xs = isp_find_xs(isp, ct->ct_syshandle);
1253 if (xs == NULL) {
1254 pl = ISP_LOGALL;
1255 }
1256 } else {
1257 xs = NULL;
1258 }
1259
1260 switch (ct->ct_nphdl) {

--- 176 unchanged lines hidden ---
1253 if (xs == NULL) {
1254 pl = ISP_LOGALL;
1255 }
1256 } else {
1257 xs = NULL;
1258 }
1259
1260 switch (ct->ct_nphdl) {

--- 176 unchanged lines hidden ---