tg3: Fix copper autoneg adv checks
authorMatt Carlson <mcarlson@broadcom.com>
Mon, 13 Feb 2012 15:20:10 +0000 (15:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Feb 2012 01:45:05 +0000 (20:45 -0500)
commit3198e07fd64aa8c3a38dda33bcc0f44265eb581e
tree48a3748c8493639407b93f2ec2601184b48c036a
parentb546e46f5c9f19a921d6f62db80f2e9371bc0558
tg3: Fix copper autoneg adv checks

When checking the autoneg advertisements, the driver failed to include
the master and master enable bits for the bcm5701.  This patch fixes the
problem.

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