]> Git Repo - qemu.git/commitdiff
macio-ide: add to storage category
authorLaurent Vivier <[email protected]>
Sat, 26 Sep 2015 16:22:08 +0000 (18:22 +0200)
committerDavid Gibson <[email protected]>
Fri, 23 Oct 2015 01:35:18 +0000 (12:35 +1100)
macio-ide is an IDE controller, so add it
to the storage category.

Signed-off-by: Laurent Vivier <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Reviewed-by: John Snow <[email protected]>
Signed-off-by: David Gibson <[email protected]>
hw/ide/macio.c

index 66ac2baa9483b368cfd3792d7494bd01a8cfb091..893c9b9bae342b3749987144cd367fc513f74ed6 100644 (file)
@@ -590,6 +590,7 @@ static void macio_ide_class_init(ObjectClass *oc, void *data)
     dc->realize = macio_ide_realizefn;
     dc->reset = macio_ide_reset;
     dc->vmsd = &vmstate_pmac;
+    set_bit(DEVICE_CATEGORY_STORAGE, dc->categories);
 }
 
 static const TypeInfo macio_ide_type_info = {
This page took 0.024532 seconds and 4 git commands to generate.