diff options
author | Ondrej Zary <linux@rainbow-software.org> | 2005-11-10 00:25:15 +0100 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2005-11-10 00:25:15 +0100 |
commit | 07203f6471a11f4eda48acbe528c0ce4704ad42c (patch) | |
tree | 9038744d2ec1f6db3b401e9e7d4572e9a65f909b /drivers/scsi/sata_uli.c | |
parent | d868dd19ad0828b1b3b56f3b06bd4a39971847be (diff) |
[PATCH] ide-floppy: software eject not working with LS-120 drive
The problem (eject not working on ATAPI LS-120 drive) is caused by
idefloppy_ioctl() function which *first* tries generic_ide_ioctl()
and *only* if it fails with -EINVAL, proceeds with the specific ioctls.
The generic eject command fails with something other than -EINVAL
and the specific one is never executed.
This patch fixes it by first going through the internal ioctls
and only trying generic_ide_ioctl() if none of them matches.
Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/scsi/sata_uli.c')
0 files changed, 0 insertions, 0 deletions