]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r255501
authorken <ken@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 23 Sep 2013 21:52:07 +0000 (21:52 +0000)
committerken <ken@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 23 Sep 2013 21:52:07 +0000 (21:52 +0000)
commitc291bba01f06165951564ac50badfda9bb5375d0
tree56ee3f402ed509e39f83ef436d4d0be6ea654e83
parent647cdc3c81cb7184df4cec6423e8959dc4ab2b60
MFC r255501

This is slightly modified from the FreeBSD/head version, to include
version checks for the scanning changes for not only FreeBSD/head
(1000039 and higher) but also stable/9 (902502 and higher).

  ------------------------------------------------------------------------
  r255501 | ken | 2013-09-12 16:06:12 -0600 (Thu, 12 Sep 2013) | 18 lines

  Fix an issue that caused Integrated RAID volumes on LSI mps(4) controllers
  to not get scanned on boot.

  The problem originated in change 253549.  With the change to the mps(4)
  driver to scan only targets that it knows it has (as opposed to scanning
  the entire bus), scanning RAID volumes on boot was omitted.

  So, for versions of FreeBSD that have the scanning changes
  (__FreeBSD_version 1000039 and higher), scan RAID volumes that are added
  whether or not we're booting.

  PR:             kern/181784
  Reported by:    Xiguang Wang <kurapica@gmail.com>
  Tested by:      Dennis Glatting <dg@pki2.com>
  Sponsored by:   Spectra Logic

PR: kern/181784

git-svn-id: svn://svn.freebsd.org/base/stable/9@255830 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/mps/mps_sas_lsi.c