[openib-general] [PATCH] gen2: Only include CM and DM client in kernel build when needed

Roland Dreier roland.list at gmail.com
Sun Aug 8 09:23:32 PDT 2004


> I'm not convinced it's totally redundant. Using only select without
> default, after selecting an option which causes CM or DM client to be
> included, and then unselecting the original option, sometimes causes the
> underlying dependency to stay on. With the default syntax, I don't think
> that happened. With the defaults as well, this does not occur. So I
> think it is better this way unless it is a bug that there is this
> difference for another reason.

> I will resubmit the new patch which will have the same Kconfigs and a
> new Makefile shortly.

Hmm... I don't see anywhere else in the kernel that uses both default and
select to express the same dependency.

Also it seems it will be really ugly to make this work if you make the CM and
DM options tristate (as they should be, since it seems if we're going to this
trouble we should support situations like building IPoIB into the kernel and
then building the CM and, say, SDP as modules).

 - R.



More information about the general mailing list