diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2007-01-03 18:54:43 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-01-03 18:54:43 -0800 |
commit | 63ea998a26d4e03d390fbe31818cc552994d16fd (patch) | |
tree | ab12dd7eb3a0018ae5ab62a798b1d11b0b619e71 /drivers/net/sungem.c | |
parent | 7f18ba6248625a587559ed1206d12ccaa3ad045e (diff) | |
download | op-kernel-dev-63ea998a26d4e03d390fbe31818cc552994d16fd.zip op-kernel-dev-63ea998a26d4e03d390fbe31818cc552994d16fd.tar.gz |
[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 785e4a5..616be8d 100644 --- a/drivers/net/sungem.c +++ b/drivers/net/sungem.c @@ -90,7 +90,8 @@ #define ADVERTISE_MASK (SUPPORTED_10baseT_Half | SUPPORTED_10baseT_Full | \ SUPPORTED_100baseT_Half | SUPPORTED_100baseT_Full | \ - SUPPORTED_1000baseT_Half | SUPPORTED_1000baseT_Full) + SUPPORTED_1000baseT_Half | SUPPORTED_1000baseT_Full | \ + SUPPORTED_Pause | SUPPORTED_Autoneg) #define DRV_NAME "sungem" #define DRV_VERSION "0.98" |