kernel-ark/drivers/net/phy
Anatolij Gustschin a8729eb302 phylib: Allow early-out in phy_change
Marvell 88E1121R Dual PHY device can be hardware-configured
to use shared interrupt pin for both PHY ports. For such
PHY configurations using shared PHY interrupt phy_interrupt()
handler will also schedule a work for PHY port which didn't
cause an interrupt.

This patch adds a possibility for PHY drivers to provide
did_interrupt() function which reports if the PHY (or a PHY
port in a multi-PHY device) generated an interrupt. This
function is called in phy_change() as phy_change() shouldn't
proceed if it is invoked for a PHY which didn't cause an
interrupt. So check for interrupt originator in phy_change()
to allow early-out.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-04-13 14:51:23 -07:00
..
broadcom.c
cicada.c
davicom.c
et1011c.c phy: Add LSI ET1011C PHY driver 2008-12-09 22:21:25 -08:00
fixed.c phy: error handling for platform_device_register_simple() 2009-04-11 01:52:29 -07:00
icplus.c
Kconfig phy: Add LSI ET1011C PHY driver 2008-12-09 22:21:25 -08:00
lxt.c
Makefile phy: Add LSI ET1011C PHY driver 2008-12-09 22:21:25 -08:00
marvell.c phylib: Basic support for the M88E1121R Marvell chip 2009-04-13 14:51:22 -07:00
mdio_bus.c mdio: fix non-constant printk warnings 2009-02-26 22:22:03 -08:00
mdio-bitbang.c
mdio-gpio.c Merge branch 'master' of /home/davem/src/GIT/linux-2.6/ 2009-02-14 23:12:00 -08:00
national.c phy: Add file missed in previous commit. 2008-11-28 16:40:26 -08:00
phy_device.c phylib: Fix Freescale TBI PHY detection 2009-01-14 14:38:02 -08:00
phy.c phylib: Allow early-out in phy_change 2009-04-13 14:51:23 -07:00
qsemi.c
realtek.c
smsc.c phy: add new LAN8710 and LAN8720 device ids to smsc phy driver 2009-03-23 15:17:31 -07:00
ste10Xp.c phy: add the ST ste10Xp PHYs 2008-11-28 16:42:41 -08:00
vitesse.c phylib: Add Vitesse VSC8221 SGMII PHY 2008-11-25 01:00:47 -08:00