From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754518AbYKFL0t (ORCPT ); Thu, 6 Nov 2008 06:26:49 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753576AbYKFL0i (ORCPT ); Thu, 6 Nov 2008 06:26:38 -0500 Received: from rv-out-0506.google.com ([209.85.198.228]:40577 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753326AbYKFL0h (ORCPT ); Thu, 6 Nov 2008 06:26:37 -0500 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=eqFEtwjx2VRjWZeit06MXaMDZDz/8OotBIQRhv5R+2FuaWc1G/vlkDEgYvycrUgBui +wTf4DO+VQi2c8vE99x53TaivNFqb48VX5p1CUj1jOFWa2ydpVZWS1K+cv+yhYRuNq+B TLVcElkXx+pHt0vSLJQMFWEwZRD2t5bHK/DiI= Message-ID: <8bd0f97a0811060326n5bcfc17fm5b5a65b12e71ea61@mail.gmail.com> Date: Thu, 6 Nov 2008 06:26:36 -0500 From: "Mike Frysinger" To: "Johannes Berg" Subject: Re: [PATCH] SSB: make it depend on PCI Cc: "Mike Frysinger" , "Michael Buesch" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <1225970573.3619.208.camel@johannes.berg> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1225965082-31462-1-git-send-email-vapier@gentoo.org> <1225969620.3619.204.camel@johannes.berg> <8bd0f97a0811060315j7d11e1a7p257a4a1bea640f7b@mail.gmail.com> <1225970573.3619.208.camel@johannes.berg> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 6, 2008 at 06:22, Johannes Berg wrote: > On Thu, 2008-11-06 at 06:15 -0500, Mike Frysinger wrote: >> while that may be the intent, it doesnt work today. >> >> drivers/ssb/main.c always includes linux/ssb/ssb.h >> >> linux/ssb/ssb.h always calls pci_dma_* functions >> >> arches that do not support PCI fail to build: >> CC drivers/ssb/main.o >> In file included from drivers/ssb/ssb_private.h:5, >> from drivers/ssb/main.c:12: >> include/linux/ssb/ssb.h: In function 'ssb_dma_mapping_error': >> include/linux/ssb/ssb.h:430: error: implicit declaration of function 'pci_dma_mapping_error' >> include/linux/ssb/ssb.h: In function 'ssb_dma_sync_single_for_cpu': >> include/linux/ssb/ssb.h:475: error: implicit declaration of function 'pci_dma_sync_single_for_cpu' >> include/linux/ssb/ssb.h: In function 'ssb_dma_sync_single_for_device': >> include/linux/ssb/ssb.h:493: error: implicit declaration of function 'pci_dma_sync_single_for_device' >> include/linux/ssb/ssb.h: In function 'ssb_dma_sync_single_range_for_cpu': >> include/linux/ssb/ssb.h:517: error: implicit declaration of function 'dma_sync_single_range_for_cpu' >> include/linux/ssb/ssb.h: In function 'ssb_dma_sync_single_range_for_device': >> include/linux/ssb/ssb.h:538: error: implicit declaration of function 'dma_sync_single_range_for_device' >> drivers/ssb/main.c: In function 'ssb_dma_set_mask': >> drivers/ssb/main.c:1183: error: implicit declaration of function 'dma_set_mask' > > > That seems odd, shouldn't at least the dma_sync_* functions and > dma_set_mask be supported? i'm highlighting the pci-specific functions. the common dma functions missing are not a ssb problem, so ignore those ;). -mike