From: Roland Dreier Date: Fri, 9 Jan 2009 21:22:29 +0000 (-0800) Subject: IB/mlx4: Don't register IB device for adapters with no IB ports X-Git-Tag: v2.6.29-rc2~90^2^4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22e7ef9c089305111661b01e425cd0b974231e2e;p=pandora-kernel.git IB/mlx4: Don't register IB device for adapters with no IB ports If the mlx4_ib driver finds an adapter that has only ethernet ports, the current code will register an IB device with 0 ports. Nothing useful or sensible can be done with such a device, so just skip registering it. Signed-off-by: Roland Dreier --- Reading git-diff-tree failed