FreeBSD Port: emu10kx-20051021

Brodey Dover pcfxer at rogers.com
Sat Mar 15 17:30:25 UTC 2008


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:

#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


More information about the freebsd-ports mailing list