Skip to contentSkip to conversation

fix gianfar unitilized spinlock.

PATCH In review Greg Weeks 2 participants 2 messages Mar 16, 2005

lore
Share & tools
lore

Greg Weeks

author
#0 lore raw

PATCH 1/1 fix gianfar unitilized spinlock.

Fix unitilized spinlock in the gianfar tsec etherenet driver.

--- all/drivers/net/gianfar.c-orig
+++ all/drivers/net/gianfar.c

@@ -384,6 +384,8 @@
mii_info->mdio_read = &read_phy_reg;
mii_info->mdio_write = &write_phy_reg;

+ spin_lock_init(&mii_info->mdio_lock);
+
priv->mii_info = mii_info;

/* Reset the management interface */