aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sky2.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-02-03 06:27:27 -0500
committerDavid S. Miller <davem@davemloft.net>2009-02-03 18:08:34 -0500
commit1bd68c04850b9e73f1c7022b9a8c38cd14ceb37d (patch)
tree7772724a6697b9eaf327df1fb06b5f52b184864a /drivers/net/sky2.c
parent1725d409caba16ea5fc694bd50e95e79e8ced11a (diff)
sky2: remove unneede workaround
This workaround is not needed. It was inherited from sk98lin driver but only applies to an early development version of the chip that is not supported by sky2. The workaround required an unnecessary pci read which hurts performance Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sky2.c')
-rw-r--r--drivers/net/sky2.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c
index 994703cc0db3..db925085c185 100644
--- a/drivers/net/sky2.c
+++ b/drivers/net/sky2.c
@@ -2687,13 +2687,6 @@ static int sky2_poll(struct napi_struct *napi, int work_limit)
2687 goto done; 2687 goto done;
2688 } 2688 }
2689 2689
2690 /* Bug/Errata workaround?
2691 * Need to kick the TX irq moderation timer.
2692 */
2693 if (sky2_read8(hw, STAT_TX_TIMER_CTRL) == TIM_START) {
2694 sky2_write8(hw, STAT_TX_TIMER_CTRL, TIM_STOP);
2695 sky2_write8(hw, STAT_TX_TIMER_CTRL, TIM_START);
2696 }
2697 napi_complete(napi); 2690 napi_complete(napi);
2698 sky2_read32(hw, B0_Y2_SP_LISR); 2691 sky2_read32(hw, B0_Y2_SP_LISR);
2699done: 2692done: