From: Ron Mercer Date: Tue, 9 Jun 2009 05:39:32 +0000 (+0000) Subject: qlge: Add support for varied pcie function numbers. X-Git-Tag: v2.6.31-rc1~330^2~73 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4552f51ceefcf51b79c5bf8dafc7abb4bb7657d;p=pandora-kernel.git qlge: Add support for varied pcie function numbers. Currently we support only PCIe NIC functions zero and one, and FCoE functions as 3 and 4. Future configurations can mix these up in any fashion. This patch removes the 0-1 dependancy and allows usage of any of the 4 functions. We also find the alternate NIC function (if exist) and determine our port number based on the comparison of the two functions: Lower function number gets first port, higher function gets second port. Signed-off-by: Ron Mercer Signed-off-by: David S. Miller --- Reading git-diff-tree failed