Date: Sat, 8 Aug 2009 05:05:51 GMT From: Alexander Motin <mav@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 167096 for review Message-ID: <200908080505.n7855pQ5057988@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=167096 Change 167096 by mav@mav_mavbook on 2009/08/08 05:05:15 Fix iSCSI initiator. Affected files ... .. //depot/projects/scottl-camlock/src/sys/cam/cam_ccb.h#25 edit .. //depot/projects/scottl-camlock/src/sys/cam/cam_xpt.c#95 edit .. //depot/projects/scottl-camlock/src/sys/dev/iscsi/initiator/isc_cam.c#3 edit Differences ... ==== //depot/projects/scottl-camlock/src/sys/cam/cam_ccb.h#25 (text+ko) ==== @@ -230,6 +230,7 @@ XPORT_ATA, /* AT Attachment */ XPORT_SAS, /* Serial Attached SCSI */ XPORT_SATA, /* Serial AT Attachment */ + XPORT_ISCSI, /* iSCSI */ } cam_xport; #define PROTO_VERSION_UNKNOWN (UINT_MAX - 1) ==== //depot/projects/scottl-camlock/src/sys/cam/cam_xpt.c#95 (text+ko) ==== @@ -3799,6 +3799,7 @@ case XPORT_SAS: case XPORT_FC: case XPORT_USB: + case XPORT_ISCSI: new_bus->xport = scsi_get_xport(); break; case XPORT_ATA: ==== //depot/projects/scottl-camlock/src/sys/dev/iscsi/initiator/isc_cam.c#3 (text+ko) ==== @@ -190,6 +190,8 @@ strncpy(cpi->hba_vid, "iSCSI", HBA_IDLEN); strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN); cpi->unit_number = cam_sim_unit(sim); + cpi->transport = XPORT_ISCSI; + cpi->transport_version = 0; cpi->ccb_h.status = CAM_REQ_CMP; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908080505.n7855pQ5057988>