netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] sky2: fix ethtool ops
@ 2006-01-24 12:49 Carl-Daniel Hailfinger
  0 siblings, 0 replies; only message in thread
From: Carl-Daniel Hailfinger @ 2006-01-24 12:49 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: Linux Kernel Mailing List, netdev

This fixes setting rx_coalesce_usecs_irq via ethtool in sky2.
The write was directed to the wrong register.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>

--- linux/drivers/net/sky2.c	2006-01-23 23:41:35.000000000 +0100
+++ linux/drivers/net/sky2.c	2006-01-24 12:52:11.000000000 +0100
@@ -2843,7 +2843,7 @@
 	if (ecmd->rx_coalesce_usecs_irq == 0)
 		sky2_write8(hw, STAT_ISR_TIMER_CTRL, TIM_STOP);
 	else {
-		sky2_write32(hw, STAT_TX_TIMER_INI,
+		sky2_write32(hw, STAT_ISR_TIMER_INI,
 			     sky2_us2clk(hw, ecmd->rx_coalesce_usecs_irq));
 		sky2_write8(hw, STAT_ISR_TIMER_CTRL, TIM_START);
 	}

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

only message in thread, other threads:[~2006-01-24 12:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-24 12:49 [PATCH] sky2: fix ethtool ops Carl-Daniel Hailfinger

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).