[BNX2]: Fix ASYM PAUSE advertisement for remote PHY.
authorMichael Chan <mchan@broadcom.com>
Fri, 1 Feb 2008 01:07:21 +0000 (17:07 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Feb 2008 03:28:28 +0000 (19:28 -0800)
commitc26736ec171760a41307d775bbf05983ea45ea9e
tree35dede0a1ce2f74f53ec4d5d9542dac99e595c48
parent29e75252da20f3ab9e132c68c9aed156b87beae6
[BNX2]: Fix ASYM PAUSE advertisement for remote PHY.

We were checking for the ASYM_PAUSE bit for 1000Base-X twice instead
checking for both the 1000Base-X bit and the 10/100/1000Base-T bit.
The purpose of the logic is to tell the firmware that ASYM_PAUSE is
set on either the Serdes or Copper interface.

Problem was discovered by Roel Kluin <12o3l@tiscali.nl>

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