aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/3c507.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/3c507.c')
-rw-r--r--drivers/net/3c507.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/3c507.c b/drivers/net/3c507.c
index ea9b7a098c9b..1e945551c144 100644
--- a/drivers/net/3c507.c
+++ b/drivers/net/3c507.c
@@ -201,7 +201,7 @@ struct net_local {
201#define RX_BUF_SIZE (1518+14+18) /* packet+header+RBD */ 201#define RX_BUF_SIZE (1518+14+18) /* packet+header+RBD */
202#define RX_BUF_END (dev->mem_end - dev->mem_start) 202#define RX_BUF_END (dev->mem_end - dev->mem_start)
203 203
204#define TX_TIMEOUT 5 204#define TX_TIMEOUT (HZ/20)
205 205
206/* 206/*
207 That's it: only 86 bytes to set up the beast, including every extra 207 That's it: only 86 bytes to set up the beast, including every extra
@@ -311,8 +311,8 @@ static int mem_start;
311struct net_device * __init el16_probe(int unit) 311struct net_device * __init el16_probe(int unit)
312{ 312{
313 struct net_device *dev = alloc_etherdev(sizeof(struct net_local)); 313 struct net_device *dev = alloc_etherdev(sizeof(struct net_local));
314 static unsigned ports[] = { 0x300, 0x320, 0x340, 0x280, 0}; 314 static const unsigned ports[] = { 0x300, 0x320, 0x340, 0x280, 0};
315 unsigned *port; 315 const unsigned *port;
316 int err = -ENODEV; 316 int err = -ENODEV;
317 317
318 if (!dev) 318 if (!dev)