diff options
author | gibbs <gibbs@FreeBSD.org> | 1999-04-07 23:01:43 +0000 |
---|---|---|
committer | gibbs <gibbs@FreeBSD.org> | 1999-04-07 23:01:43 +0000 |
commit | bc169999cf27401ebbb14ee33e6fa2bc264d3ee5 (patch) | |
tree | 063ddd2149347be416e8db791e19d1f1f9ea5e2e /sys/dev/buslogic/btreg.h | |
parent | 0c39daf09dc2ddf892202ede4d9b0ca4516c8799 (diff) | |
download | FreeBSD-src-bc169999cf27401ebbb14ee33e6fa2bc264d3ee5.zip FreeBSD-src-bc169999cf27401ebbb14ee33e6fa2bc264d3ee5.tar.gz |
Improve bt_cmd() so that it has a better chance of working when there
are pending I/O transactions. It is not clear that is works 100% of
the time under SMP, but since the bt_cmds() that are sent after other
CPUs are started are not critical, the driver will function until I
can figure out why this is the case.
Diffstat (limited to 'sys/dev/buslogic/btreg.h')
-rw-r--r-- | sys/dev/buslogic/btreg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/buslogic/btreg.h b/sys/dev/buslogic/btreg.h index fd16f5c..02ad301 100644 --- a/sys/dev/buslogic/btreg.h +++ b/sys/dev/buslogic/btreg.h @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: btreg.h,v 1.3 1998/11/10 06:44:50 gibbs Exp $ + * $Id: btreg.h,v 1.4 1999/03/08 21:36:34 gibbs Exp $ */ #ifndef _BTREG_H_ @@ -683,7 +683,7 @@ void bt_find_probe_range(int ioport, int bt_iop_from_bio(isa_compat_io_t bio_index); -#define DEFAULT_CMD_TIMEOUT 10000 /* 1 sec */ +#define DEFAULT_CMD_TIMEOUT 100000 /* 10 sec */ int bt_cmd(struct bt_softc *bt, bt_op_t opcode, u_int8_t *params, u_int param_len, u_int8_t *reply_data, u_int reply_len, |