diff options
author | Sony Chacko <sony.chacko@qlogic.com> | 2010-08-19 05:08:24 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-19 16:52:38 -0700 |
commit | 251b036a22f530aff26cf70f5cdb0cf64a072e46 (patch) | |
tree | 1e4aba3bedbd87c0ff1f9e0365d6888f41bc0a14 /drivers/net/qlcnic/qlcnic_hdr.h | |
parent | 39895e07ca8ce13d8b38d00bf66236b93907c027 (diff) | |
download | talos-op-linux-251b036a22f530aff26cf70f5cdb0cf64a072e46.tar.gz talos-op-linux-251b036a22f530aff26cf70f5cdb0cf64a072e46.zip |
qlcnic: replace magic numbers with defines
Signed-off-by: Sony Chacko <sony.chacko@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlcnic/qlcnic_hdr.h')
-rw-r--r-- | drivers/net/qlcnic/qlcnic_hdr.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/qlcnic/qlcnic_hdr.h b/drivers/net/qlcnic/qlcnic_hdr.h index bd346d9aac94..39db4df0f650 100644 --- a/drivers/net/qlcnic/qlcnic_hdr.h +++ b/drivers/net/qlcnic/qlcnic_hdr.h @@ -745,6 +745,10 @@ enum { #define FW_POLL_DELAY (1 * HZ) #define FW_FAIL_THRESH 2 +#define QLCNIC_RESET_TIMEOUT_SECS 10 +#define QLCNIC_INIT_TIMEOUT_SECS 30 + + #define ISR_MSI_INT_TRIGGER(FUNC) (QLCNIC_PCIX_PS_REG(PCIX_MSI_F(FUNC))) #define ISR_LEGACY_INT_TRIGGERED(VAL) (((VAL) & 0x300) == 0x200) |