[PATCH net-next 07/14] r8152: combine PHY reset with set_speed

2014-02-18 Thread Hayes Wang
PHY reset is necessary after some hw settings. However, it would cause the linking down, and so does the set_speed function. Combine the PHY reset with set_speed function. That could reduce the frequency of linking down and accessing the PHY register. Signed-off-by: Hayes Wang

Re: [PATCH net-next 07/14] r8152: combine PHY reset with set_speed

2014-02-18 Thread Florian Fainelli
Hi Hayes, 2014-02-18 5:49 GMT-08:00 Hayes Wang hayesw...@realtek.com: PHY reset is necessary after some hw settings. However, it would cause the linking down, and so does the set_speed function. Combine the PHY reset with set_speed function. That could reduce the frequency of linking down and

RE: [PATCH net-next 07/14] r8152: combine PHY reset with set_speed

2014-02-18 Thread hayeswang
Florian Fainelli [mailto:f.faine...@gmail.com] Sent: Wednesday, February 19, 2014 1:19 AM To: Hayes Wang Cc: netdev; nic_s...@realtek.com; linux-ker...@vger.kernel.org; linux-usb Subject: Re: [PATCH net-next 07/14] r8152: combine PHY reset with set_speed [...] +static void