linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [patch] fix gianfar unitilized spinlock.
@ 2005-03-16 16:42 Greg Weeks
  2005-03-16 16:51 ` Kumar Gala
  0 siblings, 1 reply; 2+ messages in thread
From: Greg Weeks @ 2005-03-16 16:42 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 115 bytes --]

Fix unitilized spinlock in the gianfar tsec etherenet driver.

Signed-off-by: Greg Weeks <greg.weeks@timesys.com>


[-- Attachment #2: gianfar.spinlock.patch --]
[-- Type: text/x-patch, Size: 287 bytes --]

--- 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 */

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch] fix gianfar unitilized spinlock.
  2005-03-16 16:42 [patch] fix gianfar unitilized spinlock Greg Weeks
@ 2005-03-16 16:51 ` Kumar Gala
  0 siblings, 0 replies; 2+ messages in thread
From: Kumar Gala @ 2005-03-16 16:51 UTC (permalink / raw)
  To: Greg Weeks; +Cc: linuxppc-embedded

Greg,

This has already been fixed in the current bk tree.

http://ozlabs.org/ppc32-patches/patch.pl?id=279

- kumar

On Mar 16, 2005, at 10:42 AM, Greg Weeks wrote:

> Fix unitilized spinlock in the gianfar tsec etherenet driver.
>
> Signed-off-by: Greg Weeks <greg.weeks@timesys.com>
> <gianfar.spinlock.patch><ATT152677.txt>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-03-16 16:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-16 16:42 [patch] fix gianfar unitilized spinlock Greg Weeks
2005-03-16 16:51 ` Kumar Gala

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).