Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755728AbbLGLM1 (ORCPT ); Mon, 7 Dec 2015 06:12:27 -0500 Received: from unicorn.mansr.com ([81.2.72.234]:53571 "EHLO unicorn.mansr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754595AbbLGLM0 convert rfc822-to-8bit (ORCPT ); Mon, 7 Dec 2015 06:12:26 -0500 From: =?iso-8859-1?Q?M=E5ns_Rullg=E5rd?= To: Geert Uytterhoeven Cc: "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ethernet: aurora: AURORA_NB8800 should depend on HAS_DMA References: <1449479346-32601-1-git-send-email-geert@linux-m68k.org> Date: Mon, 07 Dec 2015 11:12:21 +0000 In-Reply-To: <1449479346-32601-1-git-send-email-geert@linux-m68k.org> (Geert Uytterhoeven's message of "Mon, 7 Dec 2015 10:09:06 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1659 Lines: 44 Geert Uytterhoeven writes: > If NO_DMA=y: > > ERROR: "dma_map_single" [drivers/net/ethernet/aurora/nb8800.ko] undefined! > ERROR: "dma_unmap_page" [drivers/net/ethernet/aurora/nb8800.ko] undefined! > ERROR: "dma_sync_single_for_cpu" [drivers/net/ethernet/aurora/nb8800.ko] undefined! > ERROR: "dma_unmap_single" [drivers/net/ethernet/aurora/nb8800.ko] undefined! > ERROR: "dma_alloc_coherent" [drivers/net/ethernet/aurora/nb8800.ko] undefined! > ERROR: "dma_mapping_error" [drivers/net/ethernet/aurora/nb8800.ko] undefined! > ERROR: "dma_map_page" [drivers/net/ethernet/aurora/nb8800.ko] undefined! > ERROR: "dma_free_coherent" [drivers/net/ethernet/aurora/nb8800.ko] undefined! > > Signed-off-by: Geert Uytterhoeven Acked-by: Mans Rullgard > drivers/net/ethernet/aurora/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/net/ethernet/aurora/Kconfig b/drivers/net/ethernet/aurora/Kconfig > index a3c7106fdf85e78f..8ba7f8ff3434000f 100644 > --- a/drivers/net/ethernet/aurora/Kconfig > +++ b/drivers/net/ethernet/aurora/Kconfig > @@ -13,6 +13,7 @@ if NET_VENDOR_AURORA > > config AURORA_NB8800 > tristate "Aurora AU-NB8800 support" > + depends on HAS_DMA > select PHYLIB > help > Support for the AU-NB8800 gigabit Ethernet controller. > -- > 1.9.1 > -- M?ns Rullg?rd mans@mansr.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/