Skip to contentSkip to conversation

intel8x0.c : missing define for disable midi

PATCH [email protected] 1 participant 1 message Aug 30, 2004 Sound

lore
Share & tools
lore
#0 lore raw

hi,
this patch add a missing define if you want to remove midi support form it.

why removing midi and jostick support ?
Read the PS of
http://marc.theaimsgroup.com/?l=linux-kernel&m=109377408705997&w=2, and you will see that midi and jostick work better with external modules.

Thanks

Matthieu

sound/pci/intel8x0.c renamed from sound/pci/intel8x0.corg +2 -0
@@ -2671,6 +2671,7 @@
 		return err;
 	}
 	
+#ifdef SUPPORT_MIDI
 	if (mpu_port[dev] == 0x300 || mpu_port[dev] == 0x330) {
 		if ((err = snd_mpu401_uart_new(card, 0, MPU401_HW_INTEL8X0,
 					       mpu_port[dev], 0,
@@ -2680,6 +2681,7 @@
 		}
 	} else
 		mpu_port[dev] = 0;
+#endif
 
 	sprintf(card->longname, "%s at 0x%lx, irq %i",
 		card->shortname, chip->addr, chip->irq);