]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r261491 (by ambrisko):
authormarkj <markj@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 27 Aug 2014 21:11:19 +0000 (21:11 +0000)
committermarkj <markj@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 27 Aug 2014 21:11:19 +0000 (21:11 +0000)
commit4a8b728c9dee2b9402065797423566689bb58e5a
tree2ed3dd391d458a5f0d3450d7b8905c69cd41b026
parent63d5c00844e90567ff99d95746202c5719f09863
MFC r261491 (by ambrisko):
Add a tunable "hw.mfi.mrsas_enable" to allow mfi(4) to drop priority and
allow mrsas(4) from LSI to attach to newer LSI cards that are support by
mrsas(4).  If mrsas(4) is not loaded into the system at boot then mfi(4)
will always attach.  If a modified mrsas(4) is loaded in the system.  That
modification is return "-30" in it's probe since that is between
BUS_PROBE_DEFAULT and BUS_PROBE_LOW_PRIORITY.

This option is controller by a new probe flag "MFI_FLAGS_MRSAS" in mfi_ident
that denotes cards that should work with mrsas(4).  New entries that should
have this option.

This is the first step to get mrsas(4) checked into FreeBSD and to avoid
collision with people that use mrsas(4) from LSI.  Since mfi(4) takes
priority, then mrsas(4) users need to rebuild GENERIC.  Using the
.disabled="1" method doesn't work since that blocks attaching and the
probe gave it to mfi(4).

MFC r267451 (by delphij):
Correct variable for loader tunable variable hw.mfi.mrsas_enable.

git-svn-id: svn://svn.freebsd.org/base/stable/10@270732 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
share/man/man4/mfi.4
sys/dev/mfi/mfi_pci.c
sys/dev/mfi/mfivar.h