qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

audio: deprecate -soundhw sb16

Switch to deprecated_register_soundhw().
Remove the now obsolete init function.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20200702132525.6849-10-kraxel@redhat.com

+2 -7
+2 -7
hw/audio/sb16.c
··· 1415 1415 AUD_register_card ("sb16", &s->card); 1416 1416 } 1417 1417 1418 - static int SB16_init (ISABus *bus) 1419 - { 1420 - isa_create_simple (bus, TYPE_SB16); 1421 - return 0; 1422 - } 1423 - 1424 1418 static Property sb16_properties[] = { 1425 1419 DEFINE_AUDIO_PROPERTIES(SB16State, card), 1426 1420 DEFINE_PROP_UINT32 ("version", SB16State, ver, 0x0405), /* 4.5 */ ··· 1453 1447 static void sb16_register_types (void) 1454 1448 { 1455 1449 type_register_static (&sb16_info); 1456 - isa_register_soundhw("sb16", "Creative Sound Blaster 16", SB16_init); 1450 + deprecated_register_soundhw("sb16", "Creative Sound Blaster 16", 1451 + 1, TYPE_SB16); 1457 1452 } 1458 1453 1459 1454 type_init (sb16_register_types)