diff options
author | ache <ache@FreeBSD.org> | 1995-02-22 02:12:10 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1995-02-22 02:12:10 +0000 |
commit | 659c3befb4644a456e1e8287f59c40dd43535d05 (patch) | |
tree | 732d3fecff9d15594121c991ff1bf2bc25f7e2e2 /sys/dev/mcd | |
parent | 3060934c591ca0990968f3a46cc18e894403b8d0 (diff) | |
download | FreeBSD-src-659c3befb4644a456e1e8287f59c40dd43535d05.zip FreeBSD-src-659c3befb4644a456e1e8287f59c40dd43535d05.tar.gz |
Increase retry count while reading toc, old one
isn't enough for spin up
Diffstat (limited to 'sys/dev/mcd')
-rw-r--r-- | sys/dev/mcd/mcd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mcd/mcd.c b/sys/dev/mcd/mcd.c index f885f5e..d8e8603 100644 --- a/sys/dev/mcd/mcd.c +++ b/sys/dev/mcd/mcd.c @@ -40,7 +40,7 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: mcd.c,v 1.35 1994/12/24 13:24:00 ache Exp $ + * $Id: mcd.c,v 1.37 1995/02/22 01:11:36 ache Exp $ */ static char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore"; @@ -1330,7 +1330,7 @@ mcd_read_toc(int unit) for(trk=th.starting_track; trk<=th.ending_track; trk++) cd->toc[trk].idx_no = 0; trk = th.ending_track - th.starting_track + 1; - for(retry=0; retry<300 && trk>0; retry++) + for(retry=0; retry<600 && trk>0; retry++) { if (mcd_getqchan(unit, &q) < 0) break; idx = bcd2bin(q.idx_no); |