Re: Di-30 non working [bug 967]

From: Bartlomiej Zolnierkiewicz
Date: Sun Nov 02 2003 - 15:06:25 EST



On Sunday 02 of November 2003 20:43, Stef van der Made wrote:
> Dear Bartlomiej,
>
> The problem is now fully solved. I can read from the tape, use mt on the
> tape drive. Your second patch was the final missing bit.
>
> Thanks for your help, I hope that Linus will accept the patch for test10
> so that more people can enjoy the use of this tape drive with Linux.

Great. I will send patches to Linus soon.
Thanks for testing.

--bartlomiej

Here is second necessary patch (was posted off-list previously).

drivers/ide/ide-tape.c | 1 +
1 files changed, 1 insertion(+)

diff -puN drivers/ide/ide-tape.c~ide-tape-chrdev-oops-fix drivers/ide/ide-tape.c
--- linux-2.6.0-test9/drivers/ide/ide-tape.c~ide-tape-chrdev-oops-fix 2003-11-02 19:25:17.356121528 +0100
+++ linux-2.6.0-test9-root/drivers/ide/ide-tape.c 2003-11-02 19:26:13.490587792 +0100
@@ -5548,6 +5548,7 @@ static int idetape_chrdev_open (struct i
return -ENXIO;
drive = idetape_chrdevs[i].drive;
tape = drive->driver_data;
+ filp->private_data = drive;

if (test_and_set_bit(IDETAPE_BUSY, &tape->flags))
return -EBUSY;

_

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/