[PATCH] Suspend support for libata
authorJens Axboe <axboe@suse.de>
Fri, 6 Jan 2006 08:28:07 +0000 (09:28 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:36:09 +0000 (08:36 -0800)
commit9b847548663ef1039dd49f0eb4463d001e596bc3
tree105a0eece522b1347bea57f609f6c04ed673fdb3
parent88202a0c84e1951d6630d1d557d4801a8cc5b5ef
[PATCH] Suspend support for libata

This patch adds suspend patch to libata, and ata_piix in particular. For
most low level drivers, they should just need to add the 4 hooks to
work. As I can only test ata_piix, I didn't enable it for more
though.

Suspend support is the single most important feature on a notebook, and
most new notebooks have sata drives. It's quite embarrassing that we
_still_ do not support this. Right now, it's perfectly possible to
suspend the drive in mid-transfer.

Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/scsi/ata_piix.c
drivers/scsi/libata-core.c
drivers/scsi/libata-scsi.c
drivers/scsi/scsi_sysfs.c
include/linux/ata.h
include/linux/libata.h
include/scsi/scsi_host.h