]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r275112:
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 26 Dec 2014 09:09:50 +0000 (09:09 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 26 Dec 2014 09:09:50 +0000 (09:09 +0000)
commit3125ae9e978a204f6aa43fcf2f4a6a414179cf26
tree04459992286cea1ad9fe4628f7483df2d14b2d39
parent6c0967d562a8b3cd2aecfe1e75db6f94e8f8f6b5
MFC r275112:
Make isp_find_pdb_by_*() search for targets in portdb in reverse order.

Records with target_mode == 1 are allocated from the end of portdb, so it
seems logical to start search from the end not traverse whole array.

git-svn-id: svn://svn.freebsd.org/base/stable/10@276232 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/isp/isp_library.c