Netdev List
 help / color / mirror / Atom feed
* [PATCH] DM9000 - do no re-init spin lock
@ 2006-06-13 23:05 Ben Dooks
  0 siblings, 0 replies; only message in thread
From: Ben Dooks @ 2006-06-13 23:05 UTC (permalink / raw)
  To: netdev

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

The DM9000 initialisation sequence for the
hardware re-initialise the board spin-lock,
which is in my view wrong.

This patch removes the extra spin lock
initialisation

Signed-off-by: Ben Dooks <ben-linux@fluff.org>

[-- Attachment #2: dm9k-no-spinlock-reinit.patch --]
[-- Type: text/plain, Size: 346 bytes --]

--- ../linux-2.6.17/linux-2.6.17-rc5/drivers/net/dm9000.c	2006-03-20 05:53:29.000000000 +0000
+++ linux-2.6.16-simtec2/drivers/net/dm9000.c	2006-05-22 21:46:18.000000000 +0100
@@ -663,7 +665,6 @@ dm9000_init_dm9000(struct net_device *de
 	db->tx_pkt_cnt = 0;
 	db->queue_pkt_len = 0;
 	dev->trans_start = 0;
-	spin_lock_init(&db->lock);
 }
 
 /*

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-06-13 23:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-13 23:05 [PATCH] DM9000 - do no re-init spin lock Ben Dooks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox