[GIT]: IDE fixes

From: David Miller
Date: Mon Jun 29 2009 - 22:54:38 EST



1) Sizing of temp ID buffer allocated is insufficient for
HDIO_OBSOLETE_IDENTITY ioctl. Fix from Christian Engelmayer.

2) ide-floppy and ide-tape uses esoteric IDE custom command completion
routine which does horrible things such as partial command
completions on errors, and even forgets to signal error codes at all
in some cases. Stop using this turd and use the generic block
layer requst completion interfaces to fix these bugs. Fix from
Bart.

3) With IDEACPI sometimes resume breaks, fix by adding helper function
to check all the necessary cases. Fix from Bart.

4) Handle properly devices which clear DRQ during the last word of
a packet (these actually exist). This also pointed out an error
in ATA_ERR bit handling, also fixed here. Fix from Borislav Petkov.

Please pull, thanks a lot!

The following changes since commit 52989765629e7d182b4f146050ebba0abf2cb0b7:
Linus Torvalds (1):
Merge git://git.kernel.org/.../davem/net-2.6

are available in the git repository at:

master.kernel.org:/pub/scm/linux/kernel/git/davem/ide-2.6.git master

Bartlomiej Zolnierkiewicz (3):
ide: fix ide_kill_rq() for special ide-{floppy,tape} driver requests
ide: always kill the whole request on error
ide: fix resume for CONFIG_BLK_DEV_IDEACPI=y

Borislav Petkov (1):
ide-cd: handle fragmented packet commands gracefully

Christian Engelmayer (1):
ide: memory overrun in ide_get_identity_ioctl() on big endian machines using ioctl HDIO_OBSOLETE_IDENTITY

drivers/ide/ide-acpi.c | 37 +++++++------------------------------
drivers/ide/ide-cd.c | 14 ++++++++++++--
drivers/ide/ide-devsets.c | 2 +-
drivers/ide/ide-eh.c | 2 +-
drivers/ide/ide-floppy.c | 2 +-
drivers/ide/ide-io.c | 14 ++------------
drivers/ide/ide-ioctls.c | 3 ++-
drivers/ide/ide-pm.c | 30 ++++++++++++++++++------------
include/linux/ide.h | 3 ++-
9 files changed, 46 insertions(+), 61 deletions(-)
--
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/