From: Yevgeny Petrilin Date: Wed, 22 Oct 2008 22:38:42 +0000 (-0700) Subject: mlx4_core: Multiple port type support X-Git-Tag: v2.6.28-rc1~61^2^6~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ff93f8b7ecbc36e7ffc5c11a61643821c1bfee5;p=pandora-kernel.git mlx4_core: Multiple port type support Multi-protocol adapters support different port types. Each consumer of mlx4_core queries for supported port types; in particular mlx4_ib can no longer assume that all physical ports belong to it. Port type is configured through a sysfs interface. When the type of a port is changed, all mlx4 interfaces are unregistered, and then registered again with the new port types. Signed-off-by: Yevgeny Petrilin Signed-off-by: Roland Dreier --- Reading git-diff-tree failed