|
@@ -286,12 +286,6 @@ static void gus_realizefn (DeviceState *dev, Error **errp)
|
|
|
AUD_set_active_out (s->voice, 1);
|
|
|
}
|
|
|
|
|
|
-static int GUS_init (ISABus *bus)
|
|
|
-{
|
|
|
- isa_create_simple (bus, TYPE_GUS);
|
|
|
- return 0;
|
|
|
-}
|
|
|
-
|
|
|
static Property gus_properties[] = {
|
|
|
DEFINE_AUDIO_PROPERTIES(GUSState, card),
|
|
|
DEFINE_PROP_UINT32 ("freq", GUSState, freq, 44100),
|
|
@@ -322,7 +316,7 @@ static const TypeInfo gus_info = {
|
|
|
static void gus_register_types (void)
|
|
|
{
|
|
|
type_register_static (&gus_info);
|
|
|
- isa_register_soundhw("gus", "Gravis Ultrasound GF1", GUS_init);
|
|
|
+ deprecated_register_soundhw("gus", "Gravis Ultrasound GF1", 1, TYPE_GUS);
|
|
|
}
|
|
|
|
|
|
type_init (gus_register_types)
|