From eeb7dfece26d00f89897f8ec21f97d0b401fd5ea Mon Sep 17 00:00:00 2001 From: ariff Date: Sun, 8 Apr 2007 07:52:27 +0000 Subject: Disable cmi_midiattach(). The implementation is incomplete, and causing various interesting memory leak issues. --- sys/dev/sound/pci/cmi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/dev/sound/pci/cmi.c b/sys/dev/sound/pci/cmi.c index 589f15a..9f2bde4 100644 --- a/sys/dev/sound/pci/cmi.c +++ b/sys/dev/sound/pci/cmi.c @@ -946,7 +946,8 @@ cmi_attach(device_t dev) sc->st = rman_get_bustag(sc->reg); sc->sh = rman_get_bushandle(sc->reg); - cmi_midiattach(sc); + if (0) + cmi_midiattach(sc); sc->irqid = 0; sc->irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &sc->irqid, -- cgit v1.1