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>
This commit is contained in:
committed by
David S. Miller
parent
973a34aa85
commit
c63fdf46ad
@@ -302,7 +302,7 @@ struct eepro_local {
|
||||
#define ee_id_eepro10p0 0x10 /* ID for eepro/10+ */
|
||||
#define ee_id_eepro10p1 0x31
|
||||
|
||||
#define TX_TIMEOUT 40
|
||||
#define TX_TIMEOUT ((4*HZ)/10)
|
||||
|
||||
/* Index to functions, as function prototypes. */
|
||||
|
||||
|
Reference in New Issue
Block a user