summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/mach-pnx8550/nand.h
diff options
context:
space:
mode:
authorRobert Hancock <hancockr@shaw.ca>2007-01-30 00:59:18 -0800
committerJeff Garzik <jeff@garzik.org>2007-01-30 09:20:39 -0500
commit78981a7c6c34bddbb90da72cf6ce10953e84aad8 (patch)
tree65e9f6dc9e9c0e8462a32e09e511ef81617264d8 /include/asm-mips/mach-pnx8550/nand.h
parentaf068bd1debcc76c1bc265aa01401901bf0067ed (diff)
downloadtalos-op-linux-78981a7c6c34bddbb90da72cf6ce10953e84aad8.tar.gz
talos-op-linux-78981a7c6c34bddbb90da72cf6ce10953e84aad8.zip
libata: fix translation for START STOP UNIT
libata's SCSI translation for the SCSI START STOP UNIT command with the START bit clear (i.e. stopping the drive) appears to be incorrect. It sends an ATA STANDBY command with the time period set to 0, which the code comment says means "now", but the ATA standard says this means disable the standby timer, which effectively does nothing. Change this to issue a STANDBY IMMEDIATE command which will actually spin the drive down. The SAT (SCSI/ATA Translation) standard revision 9 concurs with this choice. Signed-off-by: Robert Hancock <hancockr@shaw.ca> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include/asm-mips/mach-pnx8550/nand.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud