cxgb3: fix mac index mapping
authorDivy Le Ray <divy@chelsio.com>
Tue, 7 Jul 2009 19:49:04 +0000 (19:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Jul 2009 17:54:26 +0000 (10:54 -0700)
commit88045b3cf0f8981129cb489c7b6bc36c21dd33a7
treea63f3be7359a349bf99079ee6e293248b5db350a
parentdce7d1d031aeaa8c65bd37ff2480dc450a68185e
cxgb3: fix mac index mapping

Override the mac index computation for the gen2 adapter,
as each port is expected to use index 0.

Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cxgb3/t3_hw.c