From: Divy Le Ray Date: Thu, 6 Aug 2009 03:28:27 +0000 (-0700) Subject: cxgb3: fix 2 ports 1G regression X-Git-Tag: v2.6.32-rc1~703^2~461 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9073e3a32bb249293edc01ecff575bb87380c068;p=pandora-kernel.git cxgb3: fix 2 ports 1G regression commit 88045b3cf0f8981129cb489c7b6bc36c21dd33a7 cxgb3: fix mac index mapping Override the mac index computation for the gen2 adapter, as each port is expected to use index 0. introduces a regression on 2 port 1G adapter as its xauicfg vpd value is null. Add a check on the device id. Signed-off-by: Divy Le Ray Signed-off-by: David S. Miller --- Reading git-diff-tree failed