]> git.pld-linux.org Git - packages/kernel.git/blob - linux-2.4.6-idetape.patch
- ported from linux-2.4.25-atmdd.patch
[packages/kernel.git] / linux-2.4.6-idetape.patch
1 --- linux/drivers/ide/ide-tape.c.0      Tue Jul  3 11:34:31 2001
2 +++ linux/drivers/ide/ide-tape.c        Tue Jul  3 13:17:48 2001
3 @@ -4098,9 +4098,14 @@
4         }
5         if (rq_ptr->errors == IDETAPE_ERROR_EOD)
6                 return 0;
7 -       else if (rq_ptr->errors == IDETAPE_ERROR_FILEMARK)
8 +       if (rq_ptr->errors == IDETAPE_ERROR_FILEMARK) {
9 +               idetape_switch_buffers (tape, tape->first_stage);
10                 set_bit (IDETAPE_FILEMARK, &tape->flags);
11 -       else {
12 +#if USE_IOTRACE
13 +               IO_trace(IO_IDETAPE_FIFO, tape->pipeline_head, tape->buffer_head, tape->tape_head, tape->minor);
14 +#endif
15 +               calculate_speeds(drive);
16 +       } else {
17                 idetape_switch_buffers (tape, tape->first_stage);
18                 if (rq_ptr->errors == IDETAPE_ERROR_GENERAL) {
19  #if ONSTREAM_DEBUG
20
This page took 0.027429 seconds and 3 git commands to generate.