commit | d10ddbf6d7f6699c386d1f41bf542189de32b6be | [log] [tgz] |
---|---|---|
author | Roland Dreier <roland@topspin.com> | Sat Apr 16 15:26:32 2005 -0700 |
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | Sat Apr 16 15:26:32 2005 -0700 |
tree | b2e3ab95925407472fa9c62bb6016d85f822cb68 | |
parent | 6bd6228eed52ef188ebe46865ccff72da936c968 [diff] |
[PATCH] IB/mthca: encapsulate mem-free check into mthca_is_memfree() Clean up mem-free mode support by introducing mthca_is_memfree() function, which encapsulates the logic of deciding if a device is mem-free. Signed-off-by: Roland Dreier <roland@topspin.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>