From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764624AbXGZM53 (ORCPT ); Thu, 26 Jul 2007 08:57:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752088AbXGZM5U (ORCPT ); Thu, 26 Jul 2007 08:57:20 -0400 Received: from pasmtpa.tele.dk ([80.160.77.114]:49283 "EHLO pasmtpA.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751866AbXGZM5T (ORCPT ); Thu, 26 Jul 2007 08:57:19 -0400 Date: Thu, 26 Jul 2007 14:58:34 +0200 From: Sam Ravnborg To: Takashi Iwai Cc: Meelis Roos , Linux Kernel list , sparclinux@vger.kernel.org Subject: Re: ALSA & missing dma_*_coherent on sparc32 Message-ID: <20070726125834.GA4041@uranus.ravnborg.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 26, 2007 at 02:15:43PM +0200, Takashi Iwai wrote: > At Thu, 26 Jul 2007 15:02:51 +0300 (EEST), > Meelis Roos wrote: > > > > > > ERROR: "dma_free_coherent" [sound/core/snd-page-alloc.ko] undefined! > > > > ERROR: "dma_alloc_coherent" [sound/core/snd-page-alloc.ko] undefined! > > > > > > Could you show .config? Does it have CONFIG_HAS_DMA? > > > > No, CONFIG_NO_DMA=y - and this was recently changed on sparc32 IIRC. > > OK, then could you try the patch below? Hi Takashi-san. Can I ask you to introdue use of the -y syntax for composite objects. This would simplify soucd/core/Makefile The below would then become: > > -snd-page-alloc-objs := memalloc.o sgbuf.o > +snd-page-alloc-y := memalloc.o > +snd-page-alloc-$(CONFIG_HAS_DMA) += sgbuf.o > > snd-rawmidi-objs := rawmidi.o > snd-timer-objs := timer.o Ask if you have questions. Thanks, Sam