Re: [PATCH] net: dsa: mv88e6xxx: split phy page accessors

2015-06-23 Thread David Miller
From: Vivien Didelot Date: Fri, 19 Jun 2015 10:32:10 -0400 > Split mv88e6xxx_phy_page_read and mv88e6xxx_phy_page_write into two > functions each, one to acquire the smi_mutex and one to call the actual > read/write functions. > > This will be useful to access registers such as Fiber/SERDES Cont

[PATCH] net: dsa: mv88e6xxx: split phy page accessors

2015-06-19 Thread Vivien Didelot
Split mv88e6xxx_phy_page_read and mv88e6xxx_phy_page_write into two functions each, one to acquire the smi_mutex and one to call the actual read/write functions. This will be useful to access registers such as Fiber/SERDES Control, from setup code with SMI lock held. Also rename their "error" lab