ide: Use a table to declare which drive kinds accept each command
authorMarkus Armbruster <armbru@redhat.com>
Tue, 6 Sep 2011 16:58:35 +0000 (18:58 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 12 Sep 2011 13:17:19 +0000 (15:17 +0200)
commit844505b12e722d9ba7060480e766351fc6313501
tree6b148f0f780d41161088754b87fbb04fc6311f03
parent3f76a7c3815716d21b9932b892825309bf477ee8
ide: Use a table to declare which drive kinds accept each command

No functional change.

It would be nice to have handler functions in the table, like commit
e1a064f9 did for ATAPI.  Left for another day.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/ide/core.c