Deleted Added
full compact
scsi_low.c (106890) scsi_low.c (109623)
1/* $FreeBSD: head/sys/cam/scsi/scsi_low.c 106890 2002-11-14 05:03:11Z imp $ */
1/* $FreeBSD: head/sys/cam/scsi/scsi_low.c 109623 2003-01-21 08:56:16Z alfred $ */
2/* $NecBSD: scsi_low.c,v 1.24.10.8 2001/06/26 07:39:44 honda Exp $ */
3/* $NetBSD$ */
4
5#define SCSI_LOW_STATICS
6#define SCSI_LOW_DEBUG
7#define SCSI_LOW_NEGOTIATE_BEFORE_SENSE
8#define SCSI_LOW_START_UP_CHECK
9

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

956 free(ccb, M_DEVBUF);
957}
958
959static void
960scsi_low_rescan_bus_cam(slp)
961 struct scsi_low_softc *slp;
962{
963 struct cam_path *path;
2/* $NecBSD: scsi_low.c,v 1.24.10.8 2001/06/26 07:39:44 honda Exp $ */
3/* $NetBSD$ */
4
5#define SCSI_LOW_STATICS
6#define SCSI_LOW_DEBUG
7#define SCSI_LOW_NEGOTIATE_BEFORE_SENSE
8#define SCSI_LOW_START_UP_CHECK
9

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

956 free(ccb, M_DEVBUF);
957}
958
959static void
960scsi_low_rescan_bus_cam(slp)
961 struct scsi_low_softc *slp;
962{
963 struct cam_path *path;
964 union ccb *ccb = malloc(sizeof(union ccb), M_DEVBUF, M_WAITOK);
964 union ccb *ccb = malloc(sizeof(union ccb), M_DEVBUF, 0);
965 cam_status status;
966
967 bzero(ccb, sizeof(union ccb));
968
969 status = xpt_create_path(&path, xpt_periph,
970 cam_sim_path(slp->sl_si.sim), -1, 0);
971 if (status != CAM_REQ_CMP)
972 return;

--- 3958 unchanged lines hidden ---
965 cam_status status;
966
967 bzero(ccb, sizeof(union ccb));
968
969 status = xpt_create_path(&path, xpt_periph,
970 cam_sim_path(slp->sl_si.sim), -1, 0);
971 if (status != CAM_REQ_CMP)
972 return;

--- 3958 unchanged lines hidden ---