]> www.pilppa.org Git - linux-2.6-omap-h63xx.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)
commit11c6dd2c723a9ff9bdd4ee11b2798a08abc94e98
tree89f3cdd42cb4164edf09415880f9f53120dca397
parent244f46ae6e9e18f6fc0be7d1f49febde4762c34b
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