commit | 41033b65b98388cb255c0307ea869856f71ca80d | [log] [tgz] |
---|---|---|
author | Michael Chan <mchan@broadcom.com> | Tue Dec 31 23:22:33 2013 -0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Jan 01 22:03:38 2014 -0500 |
tree | 73e011d9b78368cbf402cd7372c3f55788a978e8 | |
parent | d17e53bdcd72fa06e06f7408779fb17dcefdb930 [diff] |
bnx2: Enable auto-mdix when autoneg is disabled. Auto-mdix currently only works if autoneg is enabled. This patch enables auto-mdix all the time by setting a bit in a PHY register. Define meaningful constants for this PHY registers. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>