summaryrefslogtreecommitdiffstats
path: root/sys/dev/wi/if_wivar.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2003-12-09 07:41:07 +0000
committerimp <imp@FreeBSD.org>2003-12-09 07:41:07 +0000
commit32b9913273a9f0a6aea1cd90c55fbdec7f379378 (patch)
tree2035e89ef91bfac8c6caa224ca834e352878266e /sys/dev/wi/if_wivar.h
parente3c53b37aeae9971384a39009e4e9936fb4a0b32 (diff)
downloadFreeBSD-src-32b9913273a9f0a6aea1cd90c55fbdec7f379378.zip
FreeBSD-src-32b9913273a9f0a6aea1cd90c55fbdec7f379378.tar.gz
Older versions of the intersil firmware is a lot slower than newer
versions of the firmware. It responds more slowly to commands, and we bogusly failed them. We assume that all versions of the intersil firmware before 1.0 are 10 times slower and will give it 10x the time to finish. # for 5.2 we should always just assume 5s.
Diffstat (limited to 'sys/dev/wi/if_wivar.h')
-rw-r--r--sys/dev/wi/if_wivar.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/wi/if_wivar.h b/sys/dev/wi/if_wivar.h
index dbfc627..bd7e16b 100644
--- a/sys/dev/wi/if_wivar.h
+++ b/sys/dev/wi/if_wivar.h
@@ -96,6 +96,7 @@ struct wi_softc {
bus_space_tag_t wi_bmemtag;
void * wi_intrhand;
int wi_io_addr;
+ int wi_cmd_count;
struct bpf_if *sc_drvbpf;
int sc_flags;
OpenPOWER on IntegriCloud