]> Git Repo - qemu.git/commit
ATAPI: STARTSTOPUNIT only eject/load media if powercondition is 0
authorRonnie Sahlberg <[email protected]>
Tue, 31 Jul 2012 01:28:26 +0000 (11:28 +1000)
committerKevin Wolf <[email protected]>
Wed, 12 Sep 2012 13:50:09 +0000 (15:50 +0200)
commitce560dcf20c14194db5ef3b9fc1ea592d4e68109
tree523f21d2fab768254209f44f77d2f5d9536c918c
parent1f7a48de4467f31afc51169122453318efdb0f33
ATAPI: STARTSTOPUNIT only eject/load media if powercondition is 0

The START STOP UNIT command will only eject/load media if
power condition is zero.

If power condition is !0 then LOEJ and START will be ignored.

From MMC (sbc contains similar wordings too)
  The Power Conditions field requests the block device to be placed
  in the power condition defined in
  Table 558. If this field has a value other than 0h then the Start
  and LoEj bits shall be ignored.

Signed-off-by: Ronnie Sahlberg <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
hw/ide/atapi.c
This page took 0.024608 seconds and 4 git commands to generate.