|
|
Re: [PATCH] NET: bcm63xx_enet: move phy_(dis)connect into probe/remove |
On Wed, 2012-04-18 at 14:02 +0200, Jonas Gorski wrote: > Only connect/disconnect the phy during probe and remove, not during open > and close. The phy seldom changes during the runtime, and disconnecting > the phy during close will prevent the phy driver from keeping any > configuration over a down/up cycle. > > Signed-off-by: Jonas Gorski <jonas.gorski@xxxxxxxxx> please CC me, I wrote this driver > - phydev = phy_connect(dev, phy_id, bcm_enet_adjust_phy_link, 0, > - PHY_INTERFACE_MODE_MII); bcm_enet_adjust_link() may modify some dma registers that are reset by bcm_enet_open(), since it can now be called after probe, we may end up with broken flow control depending on whatever was called first. -- Maxime -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux Kernel Discussion] [Ethernet Bridging] [Linux Wireless Networking] [Linux Bluetooth Networking] [Linux Networking Users] [VLAN] [Git] [IETF Annouce] [Linux Assembly] [Security] [Bugtraq] [Photo] [Singles Social Networking] [Yosemite Information] [MIPS Linux] [ARM Linux Kernel] [ARM Linux] [Linux Virtualization] [Linux Security] [Linux IDE] [Linux RAID] [Linux SCSI] [Free Dating]
![]() |
![]() |