SCSI: Update the sense code for PREVENT REMOVAL errors
Change the sense codes for failures to eject a device that is lockedby PREVENT_ALLOW_MEDIUM_REMOVAL fromthe generic MEDIA_LOAD_OR_EJECT_FAILED to the more specificMEDIUM_REMOVAL_PREVENTED.
The second sense code is more accurate, and is also listed in MMC annex F...
SCSI: STARTSTOPUNIT only eject/load media if powercondition is 0
The START STOP UNIT command will only eject/load media ifpower condition is zero.
If power condition is !0 then LOEJ and START will be ignored.
From MMC (sbc contains similar wordings too)...
megasas: Update function megasys_scsi_uninit
Commit f90c2bcdbc69e41e575f868b984c3e2de8f51bac changedPCIUnregisterFunc, therefore the function prototypeneeds an update.
megasas.o is currently not linked, so this bug was notdetected by the buildbots.
Signed-off-by: Stefan Weil <sw@weilnetz.de>...
Merge remote-tracking branch 'mst/tags/for_anthony' into staging
Merge remote-tracking branch 'bonzini/scsi-next' into staging
Merge branch pci into master
Merge master and pci branch, resolve build breakage in hw/esp.cintroduced by f90c2bcd.
Conflicts: hw/esp.c
Avoid returning void
It's silly and non-conforming to standards to return void,don't do it.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/escc: Drop duplicate definition of 'disabled' property
Drop a duplicate definition of the 'disabled' property fromthe escc qdev property list: this redefinition is currentlyeffectively ignored but will become an error. (The duplicationwas inadvertently introduced in 2009 in commit ec02f7dec2.)...
target-or32: Add timer support
Add OpenRISC timer support.
Signed-off-by: Jia Liu <proljc@gmail.com>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
target-or32: Add a IIS dummy board
Add a IIS dummy board.
View revisions
Also available in: Atom