isp.c (0269ae4c19ad779b43b0d6e2416ac7386945d692) isp.c (883649681528398dc227778882830fc9da0ce58c)
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3 *
4 * Copyright (c) 2009-2018 Alexander Motin <mav@FreeBSD.org>
5 * Copyright (c) 1997-2009 by Matthew Jacob
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

4549 }
4550 if (ttype == REQFLAG_OTAG) {
4551 ttype = FCP_CMND_TASK_ATTR_ORDERED;
4552 } else if (ttype == REQFLAG_HTAG) {
4553 ttype = FCP_CMND_TASK_ATTR_HEAD;
4554 } else {
4555 ttype = FCP_CMND_TASK_ATTR_SIMPLE;
4556 }
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3 *
4 * Copyright (c) 2009-2018 Alexander Motin <mav@FreeBSD.org>
5 * Copyright (c) 1997-2009 by Matthew Jacob
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

4549 }
4550 if (ttype == REQFLAG_OTAG) {
4551 ttype = FCP_CMND_TASK_ATTR_ORDERED;
4552 } else if (ttype == REQFLAG_HTAG) {
4553 ttype = FCP_CMND_TASK_ATTR_HEAD;
4554 } else {
4555 ttype = FCP_CMND_TASK_ATTR_SIMPLE;
4556 }
4557 ((ispreqt7_t *)reqp)->req_task_attribute = ttype;
4557 ((ispreqt7_t *)reqp)->req_task_attribute = ttype |
4558 ((XS_PRIORITY(xs) << FCP_CMND_PRIO_SHIFT) &
4559 FCP_CMND_PRIO_MASK);
4558 } else if (IS_FC(isp)) {
4559 /*
4560 * See comment in isp_intr_respq
4561 */
4562 /* XS_SET_RESID(xs, 0); */
4563
4564 /*
4565 * Fibre Channel always requires some kind of tag.

--- 3634 unchanged lines hidden ---
4560 } else if (IS_FC(isp)) {
4561 /*
4562 * See comment in isp_intr_respq
4563 */
4564 /* XS_SET_RESID(xs, 0); */
4565
4566 /*
4567 * Fibre Channel always requires some kind of tag.

--- 3634 unchanged lines hidden ---