aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/natsemi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/natsemi.c b/drivers/net/natsemi.c
index 322d16974000..527f9dcc7f69 100644
--- a/drivers/net/natsemi.c
+++ b/drivers/net/natsemi.c
@@ -108,7 +108,7 @@ static int full_duplex[MAX_UNITS];
108#define TX_TIMEOUT (2*HZ) 108#define TX_TIMEOUT (2*HZ)
109 109
110#define NATSEMI_HW_TIMEOUT 400 110#define NATSEMI_HW_TIMEOUT 400
111#define NATSEMI_TIMER_FREQ 3*HZ 111#define NATSEMI_TIMER_FREQ 5*HZ
112#define NATSEMI_PG0_NREGS 64 112#define NATSEMI_PG0_NREGS 64
113#define NATSEMI_RFDR_NREGS 8 113#define NATSEMI_RFDR_NREGS 8
114#define NATSEMI_PG1_NREGS 4 114#define NATSEMI_PG1_NREGS 4
@@ -1798,7 +1798,7 @@ static void netdev_timer(unsigned long data)
1798 struct net_device *dev = (struct net_device *)data; 1798 struct net_device *dev = (struct net_device *)data;
1799 struct netdev_private *np = netdev_priv(dev); 1799 struct netdev_private *np = netdev_priv(dev);
1800 void __iomem * ioaddr = ns_ioaddr(dev); 1800 void __iomem * ioaddr = ns_ioaddr(dev);
1801 int next_tick = 5*HZ; 1801 int next_tick = NATSEMI_TIMER_FREQ;
1802 1802
1803 if (netif_msg_timer(np)) { 1803 if (netif_msg_timer(np)) {
1804 /* DO NOT read the IntrStatus register, 1804 /* DO NOT read the IntrStatus register,