]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC mpr(4) changes: r265484, r265485, r265709 and r265712
authorken <ken@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 22 May 2014 16:34:00 +0000 (16:34 +0000)
committerken <ken@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 22 May 2014 16:34:00 +0000 (16:34 +0000)
commitd1835b0ca5fc6aa112701a3b0f871a105582e3bc
tree0abe760089974a973037ef25ce37a41cc24a2a35
parent42c4394f9cc3e0733e382ff8f0edbe653c1ab22f
MFC mpr(4) changes: r265484, r265485, r265709 and r265712

  ------------------------------------------------------------------------
  r265484 | ken | 2014-05-06 23:11:16 -0600 (Tue, 06 May 2014) | 5 lines

  Remove some debugging code.

  Submitted by: Steve McConnell <stephen.mcconnell@avagotech.com>

  ------------------------------------------------------------------------
  ------------------------------------------------------------------------
  r265485 | ken | 2014-05-06 23:14:48 -0600 (Tue, 06 May 2014) | 9 lines

  Hold the SIM lock when calling xpt_create_path() and xpt_action() in
  mprsas_SSU_to_SATA_devices().

  This fixes an assertion on shutdown with INVARIANTS enabled with SATA
  drives present on an IR firmware controller.

  Reviewed by: Steve McConnell <stephen.mcconnell@avagotech.com>.

  ------------------------------------------------------------------------
  ------------------------------------------------------------------------
  r265709 | ken | 2014-05-08 14:28:22 -0600 (Thu, 08 May 2014) | 15 lines

  Fix TLR (Transport Layer Retry) support in the mps(4) and mpr(4) drivers.

  TLR is necessary for reliable communication with SAS tape drives.

  This was broken by change 246713 in the mps(4) driver.  It changed the
  cm_data field for SCSI I/O requests to point to the CCB instead of the data
  buffer.  So, instead, look at the CCB's data pointer to determine whether
  or not we're talking to a tape drive.

  Also, take the residual into account to make sure that we don't go off the
  end of the request.

  Sponsored by: Spectra Logic Corporation

  ------------------------------------------------------------------------
  ------------------------------------------------------------------------
  r265712 | ken | 2014-05-08 14:46:46 -0600 (Thu, 08 May 2014) | 10 lines

  Add #ifdefs in the mpr(4) driver so that versions of stable/9 that
  have implemented the PIM_NOSCAN rescan functionality will have it
  enabled.

  This is a no-op for head.

  Reviewed by: slm
  Sponsored by: Spectra Logic Corporation

  ------------------------------------------------------------------------

Sponsored by: Spectra Logic, Avago

git-svn-id: svn://svn.freebsd.org/base/stable/10@266548 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/mpr/mpr.c
sys/dev/mpr/mpr_sas.c
sys/dev/mpr/mpr_sas_lsi.c
sys/dev/mps/mps_sas.c