]> git.baikalelectronics.ru Git - kernel.git/commit
phylib: Add Vitesse VSC8221 SGMII PHY
authorTrent Piepho <tpiepho@freescale.com>
Tue, 25 Nov 2008 09:00:47 +0000 (01:00 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Nov 2008 09:00:47 +0000 (01:00 -0800)
commita376b247af603a061dd19fe924701bd6f2d25299
tree89f3cdd42cb4164edf09415880f9f53120dca397
parent17d51b9344d85512a33a93ab77217668fb5bd5d6
phylib: Add Vitesse VSC8221 SGMII PHY

PHY is mostly compatible with the existing VSC8244 PHY.  The init sequence
is different and the interrupt mask lacks some bits present in the VSC8244.

Rather than making a copy of the existing VSC234x config_intr function and
change one constant, I modify it to select the interrupt mask based on
which driver is calling it.  This lets it be used by both drivers.

Signed-off-by: Trent Piepho <tpiepho@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/vitesse.c