tg3: Fix std prod ring nicaddr for 5787 and 57765
authorMatt Carlson <mcarlson@broadcom.com>
Tue, 12 Jan 2010 10:11:36 +0000 (10:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Jan 2010 01:18:52 +0000 (17:18 -0800)
commit13fa95b0398d65885a79c6e95a09976ee9f8c009
tree85296ba31a76727f4fb6fa0040d023a6a5151dd0
parentf3766c26a5d00189e5c0965c66f01956d15a92d6
tg3: Fix std prod ring nicaddr for 5787 and 57765

Commit 87668d352aa8d135bd695a050f18bbfc7b50b506, titled "tg3: Don't
touch RCB nic addresses", tried to avoid assigning the nic address of
the standard producer ring.  Unfortunately, the default nic address is
not correct for the 5787, the 5755M, or the 57765.  This patch
reenables the old behavior and opts out of the assignment only
for the 5717.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Tested-by: Chow Loong Jin <hyperair@ubuntu.com>
Tested-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c