diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-05-03 23:27:47 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-05-03 23:27:47 -0700 |
commit | 4d8937d0b113e8ec39f7d18cf13804f3b5fb8fd4 (patch) | |
tree | a9f530d23b756c00a885491e335cd7afda2d70ec /include | |
parent | e1fdb5b39656ea2be8cadde565e543649a988af9 (diff) | |
download | blackbird-op-linux-4d8937d0b113e8ec39f7d18cf13804f3b5fb8fd4.tar.gz blackbird-op-linux-4d8937d0b113e8ec39f7d18cf13804f3b5fb8fd4.zip |
[NETROM]: Eleminate HZ from NET/ROM kernel interfaces
Convert all NET/ROM sysctl time values from jiffies to ms as units.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/netrom.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/net/netrom.h b/include/net/netrom.h index a5ee53bce62f..e0ca112024a3 100644 --- a/include/net/netrom.h +++ b/include/net/netrom.h @@ -42,11 +42,11 @@ enum { #define NR_COND_PEER_RX_BUSY 0x04 #define NR_COND_OWN_RX_BUSY 0x08 -#define NR_DEFAULT_T1 (120 * HZ) /* Outstanding frames - 120 seconds */ -#define NR_DEFAULT_T2 (5 * HZ) /* Response delay - 5 seconds */ +#define NR_DEFAULT_T1 120000 /* Outstanding frames - 120 seconds */ +#define NR_DEFAULT_T2 5000 /* Response delay - 5 seconds */ #define NR_DEFAULT_N2 3 /* Number of Retries - 3 */ -#define NR_DEFAULT_T4 (180 * HZ) /* Busy Delay - 180 seconds */ -#define NR_DEFAULT_IDLE (0 * 60 * HZ) /* No Activity Timeout - none */ +#define NR_DEFAULT_T4 180000 /* Busy Delay - 180 seconds */ +#define NR_DEFAULT_IDLE 0 /* No Activity Timeout - none */ #define NR_DEFAULT_WINDOW 4 /* Default Window Size - 4 */ #define NR_DEFAULT_OBS 6 /* Default Obsolescence Count - 6 */ #define NR_DEFAULT_QUAL 10 /* Default Neighbour Quality - 10 */ |