android_kernel_xiaomi_sdm845/drivers/net/phy
Andy Fleming 1d5e83aac5 Fix Vitesse 824x PHY interrupt acking
The Vitesse 824x PHY doesn't allow an interrupt to be cleared if
the mask bit for that interrupt isn't set.  This means that the PHY
Lib's order of handling interrupts (disable, then clear) breaks on this
PHY.  However, clearing then disabling the interrupt opens up the code
for a silly race condition.  So rather than change the PHY Lib, we change
the Vitesse driver so it always clears interrupts before disabling them.
Further, the ack function only clears the interrupt if interrupts are
enabled.

Signed-off-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: York Sun <yorksun@freescale.com>
Acked-by: Haiying Wang <Haiying.Wang@freescale.com>
2007-07-18 18:29:37 -04:00
..
broadcom.c [PATCH] 2.6.18: sb1250-mac: Broadcom PHY support 2006-12-02 00:11:54 -05:00
cicada.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
davicom.c Add support for the Davicom DM9161A PHY 2007-05-11 17:53:43 -04:00
fixed.c fix compiler warning in fixed.c 2007-05-24 17:20:49 -04:00
icplus.c phylib: add the ICPlus IP175C PHY driver 2007-07-08 22:16:38 -04:00
Kconfig phylib: add the ICPlus IP175C PHY driver 2007-07-08 22:16:38 -04:00
lxt.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
Makefile phylib: add the ICPlus IP175C PHY driver 2007-07-08 22:16:38 -04:00
marvell.c phylib: Add Marvell 88E1112 phy id 2007-07-10 12:41:09 -04:00
mdio_bus.c phy: Fix phy_id for Vitesse 824x PHY 2007-06-28 13:26:06 -05:00
phy_device.c phy layer: add kernel-doc + DocBook 2007-04-28 11:00:57 -04:00
phy.c unify flush_work/flush_work_keventd and rename it to cancel_work_sync 2007-05-09 12:30:53 -07:00
qsemi.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
smsc.c [PATCH] remove unnecessary config.h includes from drivers/net/ 2006-08-14 14:00:43 -04:00
vitesse.c Fix Vitesse 824x PHY interrupt acking 2007-07-18 18:29:37 -04:00