ssa.c: Cosmetic change to log message

Make it more explicit to say "allocating memory for devices"

Signed-off-by: Hal Rosenstock <hal@mellanox.com>
ssa.c: Better handling of RDMA devices in ssa_open_devices

Only open device if IB transport and CA node type.
Also, detect when no IB devices present.

Signed-off-by: Hal Rosenstock <hal@mellanox.com>
acm.c: Use boolean predicate for ssa_dev_open_cond_var condition variable

In POSIX pthread API even after a condition variable is signaled,
the awaited condition may still be false. A thread may be woken up even if
no thread signaled the condition variable. The behaviour is called
"spurious wakeup". For prevention a spurious wakeup, when a condition
variable is used there is always boolean predicate associated with it.

See: http://linux.die.net/man/3/pthread_cond_wait

Signed-off-by: Sasha Kotchubievsky <sashakot@mellanox.com>
Signed-off-by: Hal Rosenstock <hal@mellanox.com>