atapi: Drives can be locked without media present
commit8aa71917f7be78151cff50b850a25f26de614b13
authorAmit Shah <amit.shah@redhat.com>
Sat, 9 Apr 2011 10:24:38 +0000 (9 15:54 +0530)
committerKevin Wolf <kwolf@redhat.com>
Wed, 13 Apr 2011 10:06:41 +0000 (13 12:06 +0200)
tree0d67c9e8fa5c8ea6fe76ee0174675c7f708ea4c3
parent21df65b6444858ddee3a86d8666571bb41695614
atapi: Drives can be locked without media present

Drivers are free to lock drives without any media present.  Such a
condition should not result in an error condition.

See Table 341 in MMC-5 spec for details.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/ide/core.c