Date: Sat, 19 Jun 2010 13:41:17 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r209340 - head/sys/dev/hptiop Message-ID: <201006191341.o5JDfHpD096300@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mav Date: Sat Jun 19 13:41:17 2010 New Revision: 209340 URL: http://svn.freebsd.org/changeset/base/209340 Log: Report transport type in XPT_PATH_INQ. PR: i386/147929 MFC after: 3 days Modified: head/sys/dev/hptiop/hptiop.c Modified: head/sys/dev/hptiop/hptiop.c ============================================================================== --- head/sys/dev/hptiop/hptiop.c Sat Jun 19 13:09:42 2010 (r209339) +++ head/sys/dev/hptiop/hptiop.c Sat Jun 19 13:41:17 2010 (r209340) @@ -1823,6 +1823,10 @@ scsi_done: 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; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006191341.o5JDfHpD096300>