1 --- linux-2.4.10/drivers/sound/sound_core.c Mon Oct 8 16:33:19 2001
2 +++ linux-2.4.10.SuSE+LL/drivers/sound/sound_core.c Mon Oct 8 17:17:49 2001
5 int register_sound_special(struct file_operations *fops, int unit)
8 + char *name, name_ext[32];
12 + switch (unit & 15) {
22 + sprintf(name_ext, "midi0%d", unit / SOUND_STEP);
64 + if (suffix && unit >= SOUND_STEP) {
65 + sprintf(name_ext, "%s%d", name, unit / SOUND_STEP);
68 return sound_insert_unit(&chains[unit&15], fops, -1, unit, unit+1,
69 name, S_IRUSR | S_IWUSR);