diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-11-04 01:49:35 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-11-09 20:17:56 +0300 |
commit | c63fdf46ad0a7f8fe3c0252a0e763515617e0ea7 (patch) | |
tree | 3b0c763708d6c92b48eb6f05a0d9a8a2cc3f4655 /drivers/net/at1700.c | |
parent | 973a34aa8593dbfe84386343c694f5beecb51d8a (diff) | |
download | linux-c63fdf46ad0a7f8fe3c0252a0e763515617e0ea7.tar.xz |
drivers/net: normalize TX_TIMEOUT
Some network drivers use old TX_TIMEOUT definitions, assuming HZ=100 of
old kernels.
Convert these definitions to include HZ, since HZ can be 1000 these
days.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/at1700.c')
-rw-r--r-- | drivers/net/at1700.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/at1700.c b/drivers/net/at1700.c index 89876897a6fe..871b1633f543 100644 --- a/drivers/net/at1700.c +++ b/drivers/net/at1700.c @@ -150,7 +150,7 @@ struct net_local { #define PORT_OFFSET(o) (o) -#define TX_TIMEOUT 10 +#define TX_TIMEOUT (HZ/10) /* Index to functions, as function prototypes. */ |