Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934047AbZGQCim (ORCPT ); Thu, 16 Jul 2009 22:38:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S934016AbZGQCil (ORCPT ); Thu, 16 Jul 2009 22:38:41 -0400 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:60138 "EHLO sunset.davemloft.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934001AbZGQCik (ORCPT ); Thu, 16 Jul 2009 22:38:40 -0400 Date: Thu, 16 Jul 2009 19:38:45 -0700 (PDT) Message-Id: <20090716.193845.76232427.davem@davemloft.net> To: fujita.tomonori@lab.ntt.co.jp Cc: sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org, reif@earthlink.net, x86@kernel.org, tony.luck@intel.com, akpm@linux-foundation.org Subject: Re: [PATCH 7/8] sparc: use asm-generic/pci-dma-compat From: David Miller In-Reply-To: <1247466360-13330-8-git-send-email-fujita.tomonori@lab.ntt.co.jp> References: <1247466360-13330-1-git-send-email-fujita.tomonori@lab.ntt.co.jp> <1247466360-13330-8-git-send-email-fujita.tomonori@lab.ntt.co.jp> X-Mailer: Mew version 6.2.51 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 836 Lines: 21 From: FUJITA Tomonori Date: Mon, 13 Jul 2009 15:25:59 +0900 > This converts SPARC to use asm-generic/pci-dma-compat instead of the > homegrown mechnism. > > SPARC32 has two dma_map_ops structures for pci and sbus (removing > arch/sparc/kernel/dma.c, PCI and SBUS DMA accessor). The global > 'dma_ops' is set to sbus_dma_ops and get_dma_ops() returns > pci32_dma_ops for pci devices so we can use the appropriate dma > mapping operations. > > Signed-off-by: FUJITA Tomonori > Tested-by: Robert Reif ACK -- 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/