[ALSA] add more sequencer port type information bits
[safe/jmp/linux-2.6] / sound / drivers / opl3 / opl3_oss.c
index d48f8de..5fd3a4c 100644 (file)
@@ -99,7 +99,9 @@ static int snd_opl3_oss_create_port(struct snd_opl3 * opl3)
        opl3->oss_chset->port = snd_seq_event_port_attach(opl3->seq_client, &callbacks,
                                                          SNDRV_SEQ_PORT_CAP_WRITE,
                                                          SNDRV_SEQ_PORT_TYPE_MIDI_GENERIC |
-                                                         SNDRV_SEQ_PORT_TYPE_MIDI_GM,
+                                                         SNDRV_SEQ_PORT_TYPE_MIDI_GM |
+                                                         SNDRV_SEQ_PORT_TYPE_HARDWARE |
+                                                         SNDRV_SEQ_PORT_TYPE_SYNTHESIZER,
                                                          voices, voices,
                                                          name);
        if (opl3->oss_chset->port < 0) {