]> Git Repo - qemu.git/commit - hw/ide/core.c
ide: Change ide_init_drive() to require valid dinfo argument
authorMarkus Armbruster <[email protected]>
Tue, 1 Jun 2010 18:32:28 +0000 (20:32 +0200)
committerKevin Wolf <[email protected]>
Fri, 4 Jun 2010 09:43:39 +0000 (11:43 +0200)
commit870111c8ed95df62a101eae0acd08c84233a6341
tree756b156e9e16783e14e50fc4aaa55f7ce50f05b1
parentd459da0ed4bcdc38d5aaaa78f0c83fdeac6dd190
ide: Change ide_init_drive() to require valid dinfo argument

IDEState members drive_serial_str and version are now left empty until
an actual drive is connected.  Before, they got a default value that
was overwritten when a drive got connected.  Doesn't matter, because
they're used only while a drive is connected.

Signed-off-by: Markus Armbruster <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
hw/ide/core.c
This page took 0.0256 seconds and 4 git commands to generate.