Skip to contentSkip to conversation

libata: spin up + down disk, lk 2.4.32

PATCH In review Douglas Gilbert 2 participants 2 messages Dec 7, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

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

#1 lore raw
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 up

It's already backported...

Jeff