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)
commit66f30aee889fb937e0ad3e46c56f78ebe4ab071d
tree6b148f0f780d41161088754b87fbb04fc6311f03
parentca3afd56c66ff45078b8c2d5fdb8aab92eae436a
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