Made show_login_info() work for InfiniBand HCA's with more than two
authorbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Sun, 26 Apr 2009 08:39:06 +0000 (08:39 +0000)
committerbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Sun, 26 Apr 2009 08:39:06 +0000 (08:39 +0000)
commit90699697faa27a092e3af172d943c0da02ee2012
tree8d9188f47ed749e5775299f0d42c1e0ceef61706
parent8b4a0662fe83511833ebf24aeabf9d00f7ee56e9
Made show_login_info() work for InfiniBand HCA's with more than two
ports. show_login_info() produces the information that can be retrieved
from /sys/class/infiniband_srpt/srpt-*/login_info. Note: as of today
there do not yet exist any InfiniBand HCA's with more than two ports.
Thanks to Frank Zago for reporting this issue.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@799 d57e44dd-8a1f-0410-8b47-8ef2f437770f
srpt/src/ib_srpt.c