SNDRV_DEVICE_TYPE_RAWMIDI
err = snd_register_device(SNDRV_DEVICE_TYPE_RAWMIDI,
SNDRV_DEVICE_TYPE_RAWMIDI);
case SNDRV_DEVICE_TYPE_RAWMIDI: