diff options
author | sos <sos@FreeBSD.org> | 2000-11-12 20:41:24 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 2000-11-12 20:41:24 +0000 |
commit | c2971789cc079e18aad42dd1f7e9120dd18bc0ed (patch) | |
tree | 56290f2bc1382d58b3f31930dd6962ed69ffc697 /sys/dev/ata/atapi-tape.c | |
parent | d17388a5b237b0370d7e306255870c472cf2a4ef (diff) | |
download | FreeBSD-src-c2971789cc079e18aad42dd1f7e9120dd18bc0ed.zip FreeBSD-src-c2971789cc079e18aad42dd1f7e9120dd18bc0ed.tar.gz |
Better handling of immediate commands, mainly to solve timeouts
in the atapi-tape code...
Diffstat (limited to 'sys/dev/ata/atapi-tape.c')
-rw-r--r-- | sys/dev/ata/atapi-tape.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ata/atapi-tape.c b/sys/dev/ata/atapi-tape.c index e390b3f..ac1049c 100644 --- a/sys/dev/ata/atapi-tape.c +++ b/sys/dev/ata/atapi-tape.c @@ -482,7 +482,8 @@ ast_start(struct atapi_softc *atp) devstat_start_transaction(&stp->stats); atapi_queue_cmd(stp->atp, ccb, bp->bio_data, blkcount * stp->blksize, - (bp->bio_cmd == BIO_READ) ? ATPR_F_READ : 0, 60, ast_done, bp); + (bp->bio_cmd == BIO_READ) ? ATPR_F_READ : 0, + 120, ast_done, bp); } static int |