Deleted Added
full compact
isp_target.c (290775) isp_target.c (290787)
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 290775 2015-11-13 19:23:22Z mav $");
44__FBSDID("$FreeBSD: stable/10/sys/dev/isp/isp_target.c 290787 2015-11-13 19:45:15Z 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

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

1080 na->na_header.rqs_entry_type = RQSTYPE_NOTIFY_ACK;
1081 na->na_header.rqs_entry_count = 1;
1082 if (arg) {
1083 in_fcentry_24xx_t *in = arg;
1084 na->na_nphdl = in->in_nphdl;
1085 na->na_flags = in->in_flags;
1086 na->na_status = in->in_status;
1087 na->na_status_subcode = in->in_status_subcode;
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

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

1080 na->na_header.rqs_entry_type = RQSTYPE_NOTIFY_ACK;
1081 na->na_header.rqs_entry_count = 1;
1082 if (arg) {
1083 in_fcentry_24xx_t *in = arg;
1084 na->na_nphdl = in->in_nphdl;
1085 na->na_flags = in->in_flags;
1086 na->na_status = in->in_status;
1087 na->na_status_subcode = in->in_status_subcode;
1088 na->na_fwhandle = in->in_fwhandle;
1088 na->na_rxid = in->in_rxid;
1089 na->na_oxid = in->in_oxid;
1090 na->na_vpidx = in->in_vpidx;
1091 if (in->in_status == IN24XX_SRR_RCVD) {
1092 na->na_srr_rxid = in->in_srr_rxid;
1093 na->na_srr_reloff_hi = in->in_srr_reloff_hi;
1094 na->na_srr_reloff_lo = in->in_srr_reloff_lo;
1095 na->na_srr_iu = in->in_srr_iu;

--- 810 unchanged lines hidden ---
1089 na->na_rxid = in->in_rxid;
1090 na->na_oxid = in->in_oxid;
1091 na->na_vpidx = in->in_vpidx;
1092 if (in->in_status == IN24XX_SRR_RCVD) {
1093 na->na_srr_rxid = in->in_srr_rxid;
1094 na->na_srr_reloff_hi = in->in_srr_reloff_hi;
1095 na->na_srr_reloff_lo = in->in_srr_reloff_lo;
1096 na->na_srr_iu = in->in_srr_iu;

--- 810 unchanged lines hidden ---