cam_xpt.c (d068ea16e3264c2d62472a8acf794262cfe703dd) cam_xpt.c (eb86c6c5b462c996e44c45ba496937b75ef22da3)
1/*-
2 * Implementation of the Common Access Method Transport (XPT) layer.
3 *
4 * SPDX-License-Identifier: BSD-2-Clause
5 *
6 * Copyright (c) 1997, 1998, 1999 Justin T. Gibbs.
7 * Copyright (c) 1997, 1998, 1999 Kenneth D. Merry.
8 * All rights reserved.

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

903
904 /*
905 * The xpt layer is, itself, the equivalent of a SIM.
906 * Allow 16 ccbs in the ccb pool for it. This should
907 * give decent parallelism when we probe buses and
908 * perform other XPT functions.
909 */
910 devq = cam_simq_alloc(16);
1/*-
2 * Implementation of the Common Access Method Transport (XPT) layer.
3 *
4 * SPDX-License-Identifier: BSD-2-Clause
5 *
6 * Copyright (c) 1997, 1998, 1999 Justin T. Gibbs.
7 * Copyright (c) 1997, 1998, 1999 Kenneth D. Merry.
8 * All rights reserved.

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

903
904 /*
905 * The xpt layer is, itself, the equivalent of a SIM.
906 * Allow 16 ccbs in the ccb pool for it. This should
907 * give decent parallelism when we probe buses and
908 * perform other XPT functions.
909 */
910 devq = cam_simq_alloc(16);
911 if (devq == NULL)
912 return (ENOMEM);
911 xpt_sim = cam_sim_alloc(xptaction,
912 xptpoll,
913 "xpt",
914 /*softc*/NULL,
915 /*unit*/0,
916 /*mtx*/NULL,
917 /*max_dev_transactions*/0,
918 /*max_tagged_dev_transactions*/0,

--- 4676 unchanged lines hidden ---
913 xpt_sim = cam_sim_alloc(xptaction,
914 xptpoll,
915 "xpt",
916 /*softc*/NULL,
917 /*unit*/0,
918 /*mtx*/NULL,
919 /*max_dev_transactions*/0,
920 /*max_tagged_dev_transactions*/0,

--- 4676 unchanged lines hidden ---