diff options
author | ariff <ariff@FreeBSD.org> | 2007-04-08 07:52:27 +0000 |
---|---|---|
committer | ariff <ariff@FreeBSD.org> | 2007-04-08 07:52:27 +0000 |
commit | eeb7dfece26d00f89897f8ec21f97d0b401fd5ea (patch) | |
tree | 31c62970e658f73100bc64c1c2c48cde713f383b /sys/dev | |
parent | f04caa18dd550dec15eb74c9b017303ee53d84c5 (diff) | |
download | FreeBSD-src-eeb7dfece26d00f89897f8ec21f97d0b401fd5ea.zip FreeBSD-src-eeb7dfece26d00f89897f8ec21f97d0b401fd5ea.tar.gz |
Disable cmi_midiattach(). The implementation is incomplete, and causing
various interesting memory leak issues.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/sound/pci/cmi.c | 3 |
1 files changed, 2 insertions, 1 deletions
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, |