Author: mav
Date: Mon Sep 20 13:48:07 2010
New Revision: 212900
URL: http://svn.freebsd.org/changeset/base/212900

Log:
  MFC r196415:
  Fill cpi->transport in XPT_PATH_INQ.

Modified:
  stable/7/sys/dev/hptrr/hptrr_osm_bsd.c
Directory Properties:
  stable/7/sys/   (props changed)
  stable/7/sys/cddl/contrib/opensolaris/   (props changed)
  stable/7/sys/contrib/dev/acpica/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)

Modified: stable/7/sys/dev/hptrr/hptrr_osm_bsd.c
==============================================================================
--- stable/7/sys/dev/hptrr/hptrr_osm_bsd.c      Mon Sep 20 13:23:43 2010        
(r212899)
+++ stable/7/sys/dev/hptrr/hptrr_osm_bsd.c      Mon Sep 20 13:48:07 2010        
(r212900)
@@ -820,6 +820,10 @@ static void hpt_action(struct cam_sim *s
                strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
                strncpy(cpi->hba_vid, "HPT   ", HBA_IDLEN);
                strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
+               cpi->transport = XPORT_SPI;
+               cpi->transport_version = 2;
+               cpi->protocol = PROTO_SCSI;
+               cpi->protocol_version = SCSI_REV_2;
                cpi->ccb_h.status = CAM_REQ_CMP;
                break;
        }
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to