From: Matt Carlson Date: Fri, 4 Nov 2011 09:15:02 +0000 (+0000) Subject: tg3: Obtain PCI function number from device X-Git-Tag: v3.2-rc1~4^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9dc5e342703948ea7b086d063c85c0e79dac8149;p=pandora-kernel.git tg3: Obtain PCI function number from device This patch adds code to attempt to obtain the PCI function number from the device rather than accept the number handed by the kernel. In pass-through scenarios, the function number handed by the kernel may not reflect the true function of the device. Signed-off-by: Matt Carlson Reviewed-by: Michael Chan Signed-off-by: David S. Miller --- Reading git-diff-tree failed