From owner-freebsd-ppc@FreeBSD.ORG Mon Oct 6 15:48:27 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 316651065688 for ; Mon, 6 Oct 2008 15:48:27 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.28]) by mx1.freebsd.org (Postfix) with ESMTP id DE3208FC08 for ; Mon, 6 Oct 2008 15:48:26 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so458399yxb.13 for ; Mon, 06 Oct 2008 08:48:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=+NW+9um6/10s+oLkNMWfXuchLaJBiG2ehmYcrXUP8Aw=; b=LjpTRxV7VEPbiE1K/rZ8me/kzk5moZNKyDVmXw6LX+3Igjs+c6S5S9NW3tRNDzxvCo OCB+xd7avcYIpLE8grG3dfDHIzZZVEnT0smVmGMl8SZIP4lffcv4TA8pZlmtDov2E26u Kj1jguX3K8+tkWXVzt0y68Aq4Puk3qK/P/pZY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=JQc6bSC/RBfbyKl7fZnLaOwpdF7flEEDMomsn9KOnbNOro7k1icLYagKWlY7rUchgn 4GqkCkHgtuKxsjn6Q3cXo0jooDBe2aPa3sW5e615sgVX2zlTWEwd2ZTg7Vn3XdU1Cbja ZLddgguRG7uiu4UItj5XnWAGJir1I+eI8aFzo= Received: by 10.142.187.8 with SMTP id k8mr2054237wff.199.1223308105525; Mon, 06 Oct 2008 08:48:25 -0700 (PDT) Received: by 10.142.101.13 with HTTP; Mon, 6 Oct 2008 08:48:25 -0700 (PDT) Message-ID: Date: Mon, 6 Oct 2008 17:48:25 +0200 From: "Marco Trillo" To: "Andreas Tobler" In-Reply-To: <48EA1A3D.3010607@fgznet.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48EA1A3D.3010607@fgznet.ch> Cc: freebsd-ppc@freebsd.org Subject: Re: Apple Screamer Audio: looking for testers X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 15:48:27 -0000 Hi, On Mon, Oct 6, 2008 at 4:01 PM, Andreas Tobler wrote: >> - "PowerMac2,2" iMac DV ('00) (screamer, Device ID 11) > > This is one I own and it runs with CURRENT now. > > Tell me what to do. I picked the aoa.c from one your recent mails plus the > dbma patch. Is there something else needed? Thank you for the interest! Just put the aoa.c file in sys/powerpc/powermac and enable the aoa.c driver in the kernel config, as in the following patch, and compile the kernel: --- conf/files.powerpc.orig 2008-10-04 17:12:47.000000000 +0000 +++ conf/files.powerpc 2008-10-04 17:13:09.000000000 +0000 @@ -107,6 +107,7 @@ powerpc/ofw/ofw_pci.c optional pci aim powerpc/ofw/ofw_pcib_pci.c optional pci aim powerpc/ofw/ofw_syscons.c optional sc aim +powerpc/powermac/aoa.c optional powermac pci aoa powerpc/powermac/ata_kauai.c optional powermac ata powerpc/powermac/ata_macio.c optional powermac ata powerpc/powermac/ata_dbdma.c optional powermac ata --- powerpc/conf/GENERIC 2008-08-20 08:31:58.000000000 +0000 +++ powerpc/conf/GENERIC 2008-10-04 17:14:19.000000000 +0000 @@ -79,6 +79,10 @@ # Standard busses device pci +# Sound devices +device sound +device aoa # Apple Onboard Audio (AOA) + # ATA and ATAPI devices device ata device atadisk # ATA disk drives Hope it works fine for you, Marco.