Date: Sun, 16 Mar 2008 23:31:13 -0400 From: Brodey Dover <pcfxer@rogers.com> To: Yuri Pankov <yuri.pankov@gmail.com>, ports@FreeBSD.org Subject: Re: [Bulk] Re: FreeBSD Port: emu10kx-20051021 Message-ID: <47DDE601.9050201@rogers.com> In-Reply-To: <47DC0E86.5070507@gmail.com> References: <47DBCF7C.5000600@rogers.com> <47DC0E86.5070507@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
So to install/enable one can lkdload or add the emu10kx driver option in the kernel? Yuri Pankov wrote: > Brodey Dover wrote: >> Hello, >> >> I just recently installed FreeBSD 7.0 and attempted to install the >> emu10kx drivers for my Audigy 2 Value {emu10k doesn't work}. I rang >> up a list of errors and fixed the driver via the following changes: > > snd_emu10kx is included in base starting with 7.0, port probably > should be marked as IGNORE on 7.x and up. > >> >> #emu10kx.c >> Line 895 >> /*OLD*/ >> if ((!(sc->irq)) || bus_setup_intr(dev, sc->irq, INTR_MPSAFE | INTR_TYPE >> _AV, emu_intr, sc, &sc->ih)) >> /*NEW*/ >> if ((!(sc->irq)) || bus_setup_intr(dev, sc->irq, INTR_MPSAFE | INTR_TYPE >> _AV, ***NULL***, emu_intr, sc, &sc->ih)) //Without *** of course. >> >> #emu10kx-pcm.c >> Line 980 >> /*OLD*/ >> if (sndbuf_alloc(ch->buffer, sc->card->parent_dmat, sc->card->bufsz) >> != 0) >> /*NEW*/ >> if (sndbuf_alloc(ch->buffer, sc->card->parent_dmat, sc->card->bufsz, >> NULL) != 0) >> >> It appears that quite a few functions changed (I think for SMP fine >> grain techniques) but their uses weren't updated. >> >> Regards, >> Brodey Dover > > Yuri >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47DDE601.9050201>