[PATCH 1/2] gianfar: Fix race in TBI/SerDes configuration

2008-10-30 Thread Trent Piepho
The init_phy() function attaches to the PHY, then configures the SerDes-TBI link (in SGMII mode). The TBI is on the MDIO bus with the PHY (sort of) and is accessed via the gianfar's MDIO registers, using the functions gfar_local_mdio_read/write(), which don't do any locking. The previously

Re: [PATCH 1/2] gianfar: Fix race in TBI/SerDes configuration

2008-10-30 Thread Jeff Garzik
Trent Piepho wrote: The init_phy() function attaches to the PHY, then configures the SerDes-TBI link (in SGMII mode). The TBI is on the MDIO bus with the PHY (sort of) and is accessed via the gianfar's MDIO registers, using the functions gfar_local_mdio_read/write(), which don't do any locking.