From owner-freebsd-ports@FreeBSD.ORG Sat Mar 15 17:30:25 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 238051065674 for ; Sat, 15 Mar 2008 17:30:25 +0000 (UTC) (envelope-from pcfxer@rogers.com) Received: from smtp100.rog.mail.re2.yahoo.com (smtp100.rog.mail.re2.yahoo.com [206.190.36.78]) by mx1.freebsd.org (Postfix) with SMTP id C15F38FC26 for ; Sat, 15 Mar 2008 17:30:24 +0000 (UTC) (envelope-from pcfxer@rogers.com) Received: (qmail 96520 invoked from network); 15 Mar 2008 17:30:23 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:Content-Type:Content-Transfer-Encoding; b=UoY/L95p5h30TvBsDsy8aXOEnNm3ch3ozkR9YwV70+RnS+N/S6MjuHHHMr5n0Rb6ADrm+rif8tBpx5J1rQTXs3lcwATakgUkT2/+wBKnTK6CrG5XG25WJDhqVCARs8KjgYVXmaZeOOESzJIw8o8llxNZwPFxdcLQ6sbBzQTae+4= ; Received: from unknown (HELO DOVEROSX.FREEBSD.com) (pcfxer@rogers.com@99.241.144.175 with plain) by smtp100.rog.mail.re2.yahoo.com with SMTP; 15 Mar 2008 17:30:23 -0000 X-YMail-OSG: nqye5vMVM1kurnralGkmQfwA8ubA82krPAUvwiYCn4F9kdaGP9MTH..q0wDCY07N9g-- X-Yahoo-Newman-Property: ymail-3 Message-ID: <47DBCF7C.5000600@rogers.com> Date: Sat, 15 Mar 2008 09:30:36 -0400 From: Brodey Dover User-Agent: Thunderbird 2.0.0.12 (X11/20080315) MIME-Version: 1.0 To: michaels@sdf.lonestar.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org Subject: FreeBSD Port: emu10kx-20051021 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Mar 2008 17:30:25 -0000 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