diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2007-01-03 21:54:43 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-01-03 21:54:43 -0500 |
commit | 63ea998a26d4e03d390fbe31818cc552994d16fd (patch) | |
tree | ab12dd7eb3a0018ae5ab62a798b1d11b0b619e71 /drivers/net/sungem.c | |
parent | 7f18ba6248625a587559ed1206d12ccaa3ad045e (diff) |
[SUNGEM]: PHY updates & pause fixes (#2)
This patch adds support for a few more PHYs used by Apple and fixes
advertising and detecting of Pause (we were missing setting the bit in
MII_ADVERTISE and weren't testing in LPA for all PHYs).
Note that I currently only advertise pause, not asymetric pause. I
don't know for sure the details there, I suppose I should read a bit
more 802.3 references, and I don't now what sungem is capable of, but
I noticed the PCS code (originated from you) does the same.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sungem.c')
-rw-r--r-- | drivers/net/sungem.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/sungem.c b/drivers/net/sungem.c index 785e4a535f9e..616be8d0fa85 100644 --- a/drivers/net/sungem.c +++ b/drivers/net/sungem.c | |||
@@ -90,7 +90,8 @@ | |||
90 | 90 | ||
91 | #define ADVERTISE_MASK (SUPPORTED_10baseT_Half | SUPPORTED_10baseT_Full | \ | 91 | #define ADVERTISE_MASK (SUPPORTED_10baseT_Half | SUPPORTED_10baseT_Full | \ |
92 | SUPPORTED_100baseT_Half | SUPPORTED_100baseT_Full | \ | 92 | SUPPORTED_100baseT_Half | SUPPORTED_100baseT_Full | \ |
93 | SUPPORTED_1000baseT_Half | SUPPORTED_1000baseT_Full) | 93 | SUPPORTED_1000baseT_Half | SUPPORTED_1000baseT_Full | \ |
94 | SUPPORTED_Pause | SUPPORTED_Autoneg) | ||
94 | 95 | ||
95 | #define DRV_NAME "sungem" | 96 | #define DRV_NAME "sungem" |
96 | #define DRV_VERSION "0.98" | 97 | #define DRV_VERSION "0.98" |