]> git.baikalelectronics.ru Git - kernel.git/commit
[TG3]: Fix peer device handling
authorMichael Chan <mchan@broadcom.com>
Tue, 20 Dec 2005 00:26:02 +0000 (16:26 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Dec 2005 00:26:02 +0000 (16:26 -0800)
commitf5bdb2a869302ad82f764e183613bb98951202d4
tree47bc9b91cc44c68701004494bb9dc9d777ba27a4
parentd5265ab7db133907150f767d743cd03c384a48c1
[TG3]: Fix peer device handling

Locate the pdev_peer for dual port 5714 NIC devices in addition to
5704 devices. The name is also changed to tg3_find_peer() from
tg3_find_5704_peer(). It is also necessary to call netdev_priv() to
get to the peer's private tg3 structure.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c