+/* Backplane mutex between all KR PHY threads */
+static struct mutex backplane_lock;
quoted hunk ↗ jump to hunk
+/* Read AN Link Status */
+static int is_an_link_up(struct phy_device *phydev)
+{
+ struct backplane_device *bpdev = phydev->priv;
+ int ret, val = 0;
+
+ mutex_lock(&bpdev->bpphy_lock);
Last time i asked the question about how this mutex and the phy mutex
interact. I don't remember seeing an answer.
Andrew