cam_xpt.c (7ffbfcd7306e56dee5265c1eb2d082b0a42eef96) cam_xpt.c (df82698084aec675b6db33ebbe39cf2963ef97ee)
1/*-
2 * Implementation of the Common Access Method Transport (XPT) layer.
3 *
4 * Copyright (c) 1997, 1998, 1999 Justin T. Gibbs.
5 * Copyright (c) 1997, 1998, 1999 Kenneth D. Merry.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

1441 "xpt",
1442 /*softc*/NULL,
1443 /*unit*/0,
1444 /*max_dev_transactions*/0,
1445 /*max_tagged_dev_transactions*/0,
1446 devq);
1447 xpt_max_ccbs = 16;
1448
1/*-
2 * Implementation of the Common Access Method Transport (XPT) layer.
3 *
4 * Copyright (c) 1997, 1998, 1999 Justin T. Gibbs.
5 * Copyright (c) 1997, 1998, 1999 Kenneth D. Merry.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

1441 "xpt",
1442 /*softc*/NULL,
1443 /*unit*/0,
1444 /*max_dev_transactions*/0,
1445 /*max_tagged_dev_transactions*/0,
1446 devq);
1447 xpt_max_ccbs = 16;
1448
1449 xpt_bus_register(xpt_sim, /*bus #*/0);
1449 if ((status = xpt_bus_register(xpt_sim, /*bus #*/0)) != CAM_SUCCESS) {
1450 printf("xpt_init: xpt_bus_register failed with status %#x,";
1451 " failing attach\n", status);
1452 return;
1453 }
1450
1451 /*
1452 * Looking at the XPT from the SIM layer, the XPT is
1453 * the equivelent of a peripheral driver. Allocate
1454 * a peripheral driver entry for us.
1455 */
1456 if ((status = xpt_create_path(&path, NULL, CAM_XPT_PATH_ID,
1457 CAM_TARGET_WILDCARD,

--- 5734 unchanged lines hidden ---
1454
1455 /*
1456 * Looking at the XPT from the SIM layer, the XPT is
1457 * the equivelent of a peripheral driver. Allocate
1458 * a peripheral driver entry for us.
1459 */
1460 if ((status = xpt_create_path(&path, NULL, CAM_XPT_PATH_ID,
1461 CAM_TARGET_WILDCARD,

--- 5734 unchanged lines hidden ---