Ondrej Zary 07203f6471 [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>
2005-11-10 00:25:15 +01:00
..
2005-04-16 15:20:36 -07:00
2005-07-27 16:26:02 -07:00
2005-04-16 15:20:36 -07:00
2005-10-29 19:32:20 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-10-10 08:40:47 -07:00
2005-11-09 23:07:56 +01:00
2005-04-16 15:20:36 -07:00
2005-10-29 19:32:20 +01:00
2005-11-09 23:07:56 +01:00
2005-11-09 23:58:16 +01:00