]> CyberLeo.Net >> Repos - FreeBSD/stable/9.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)
commitcb071e1547655ea04ad6e0abf03cdaf7692ae586
treea5ae4533e2fd58cc295e736fea9c4192bd27fa74
parent1898464b8344c204d422f9adcca70c421493ea0a
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/9@270733 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
share/man/man4/mfi.4
sys/dev/mfi/mfi_pci.c
sys/dev/mfi/mfivar.h