tg3: Always turn on APE features in mac_mode reg
authorMatt Carlson <mcarlson@broadcom.com>
Wed, 24 Nov 2010 08:31:47 +0000 (08:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Nov 2010 19:06:17 +0000 (11:06 -0800)
commitd2394e6bb1aa636f3bd142cb6f7845a4332514b5
tree3bf7d8f415c2c0dc86c80c1c65cbd6f02e7f6fe6
parentb75cc0e4c1caac63941d96a73b2214e8007b934b
tg3: Always turn on APE features in mac_mode reg

The APE needs certain bits in the mac_mode register to be enabled for
traffic to flow correctly.  This patch changes the code to always enable
these bits in the presence of the APE.

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/tg3.c