summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2006-01-30 11:37:56 -0800
committerJeff Garzik <jgarzik@pobox.com>2006-02-07 02:00:35 -0500
commitd28d4870279c5d184804b6ac1775b130972ffecd (patch)
tree5d90ca3cb1dc15b3131ad519ecf4ebba01b9fc97 /drivers/net
parent2d42d21f11c20b94ea0222637e20e2630845afe4 (diff)
downloadop-kernel-dev-d28d4870279c5d184804b6ac1775b130972ffecd.zip
op-kernel-dev-d28d4870279c5d184804b6ac1775b130972ffecd.tar.gz
[PATCH] sky2: ethtool rx_coalesce settings fix
This fixes setting rx_coalesce_usecs_irq via ethtool in sky2. The write was directed to the wrong register. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/sky2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c
index e04c4f4..12ff1c8 100644
--- a/drivers/net/sky2.c
+++ b/drivers/net/sky2.c
@@ -2847,7 +2847,7 @@ static int sky2_set_coalesce(struct net_device *dev,
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);
}
OpenPOWER on IntegriCloud