From: Yevgeny Petrilin Date: Mon, 6 Jul 2009 23:10:03 +0000 (-0700) Subject: mlx4_core: Handle multi-physical function devices X-Git-Tag: v2.6.31-rc4~50^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc4ac2e7fb90dfbbbd5a42df0879733f787e4690;p=pandora-kernel.git mlx4_core: Handle multi-physical function devices MT26468 (PCI ID 0x6764) devices can expose multiple physical functions. The current driver only handles the primary physical function. For other functions, the QUERY_FW firmware command will fail with the CMD_STAT_MULTI_FUNC_REQ error code. Don't try to drive such devices, but print a message saying the driver is skipping those devices rather than just "QUERY_FW command failed." Signed-off-by: Yevgeny Petrilin [ Rather than keeping unsupported devices bound to the driver, simply print a more informative error message and exit - Roland ] Signed-off-by: Roland Dreier --- Reading git-diff-tree failed