[SUNGEM]: PHY updates & pause fixes (#2)
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 4 Jan 2007 02:54:43 +0000 (18:54 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Jan 2007 02:54:43 +0000 (18:54 -0800)
commit63ea998a26d4e03d390fbe31818cc552994d16fd
treeab12dd7eb3a0018ae5ab62a798b1d11b0b619e71
parent7f18ba6248625a587559ed1206d12ccaa3ad045e
[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>
drivers/net/sungem.c
drivers/net/sungem_phy.c
drivers/net/sungem_phy.h