scsi: mptsas: Mark as storage device
PATCH 1/1 scsi: mptsas: Mark as storage device
mptsas1068 is currently listed as uncategorized device. Mark it as storage device.
Signed-off-by Guenter Roeck <[email protected]>
--- hw/scsi/mptsas.c | 1 + 1 file changed, 1 insertion(+)
hw/scsi/mptsas.c +1 -0
@@ -1431,6 +1431,7 @@ static void mptsas1068_class_init(ObjectClass *oc, void *data) dc->reset = mptsas_reset; dc->vmsd = &vmstate_mptsas; dc->desc ="LSI SAS 1068" ; +set_bit (DEVICE_CATEGORY_STORAGE , dc->categories); }static const TypeInfo mptsas_info = {
Signature · 1 line
2.7.4
Quoted 23 lines · Guenter Roeck
mptsas1068 is currently listed as uncategorized device. Mark it as storage device.
Signed-off-by Guenter Roeck <[email protected]>--- hw/scsi/mptsas.c | 1 + 1 file changed, 1 insertion(+)hw/scsi/mptsas.c +1
-0@@ -1431,6 +1431,7 @@ static void mptsas1068_class_init(ObjectClass *oc, void *data) dc->reset = mptsas_reset; dc->vmsd = &vmstate_mptsas; dc->desc ="LSI SAS 1068" ; +set_bit (DEVICE_CATEGORY_STORAGE , dc->categories); }static const TypeInfo mptsas_info = {Signature · 1 line
2.7.4
Reviewed-by Fam Zheng <[email protected]>
Paolo Bonzini
AppliedQuoted 14 lines · Guenter Roeck
mptsas1068 is currently listed as uncategorized device. Mark it as storage device.
Signed-off-by Guenter Roeck <[email protected]>--- hw/scsi/mptsas.c | 1 + 1 file changed, 1 insertion(+)hw/scsi/mptsas.c +0
-0
hw/scsi/mptsas.c static void mptsas1068_class_init(ObjectClass *oc, void *data) · line 1437
Quoted 7 lines
hw/scsi/mptsas.c +1
-0@@ -1431,6 +1431,7 @@ static void mptsas1068_class_init(ObjectClass *oc, void *data) dc->reset = mptsas_reset; dc->vmsd = &vmstate_mptsas; dc->desc ="LSI SAS 1068" ; +set_bit (DEVICE_CATEGORY_STORAGE , dc->categories); }static const TypeInfo mptsas_info = {
Queued, thanks.
Paolo