libata: spin up + down disk, lk 2.4.32
PATCH 1/1 libata: spin up + down disk, lk 2.4.32
I was asked recently to port the START STOP UNIT
SCSI command in libata back to lk 2.4.32 .
Changelog:
- add START STOP UNIT SCSI command to libata
allowing SATA disks to be spun down and up
Signed-off-by Douglas Gilbert <[email protected]>
Doug Gilbert
include/linux/ata.h2432ss renamed from include/linux/ata.h +2 -0
@@ -108,6 +108,8 @@ /* ATA device commands */ ATA_CMD_CHK_POWER = 0xE5, /* check power mode */ + ATA_CMD_STANDBY = 0xE2, /* place in standby power mode */ + ATA_CMD_IDLE = 0xE3, /* place in idle power mode */ ATA_CMD_EDD = 0x90, /* execute device diagnostic */ ATA_CMD_FLUSH = 0xE7, ATA_CMD_FLUSH_EXT = 0xEA,
drivers/scsi/libata-scsi.c2432ss renamed from drivers/scsi/libata-scsi.c +59 -0
71 lines not on this page · raw message
Quoted 8 lines · Douglas Gilbert
I was asked recently to port the START STOP UNIT
SCSI command in libata back to lk 2.4.32 .Changelog:
- add START STOP UNIT SCSI command to libata
allowing SATA disks to be spun down and upSigned-off-by Douglas Gilbert <[email protected]>
It's already backported...
Jeff