Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750783AbWIZJgF (ORCPT ); Tue, 26 Sep 2006 05:36:05 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750785AbWIZJgF (ORCPT ); Tue, 26 Sep 2006 05:36:05 -0400 Received: from mail.sanpeople.com ([196.41.13.122]:36110 "EHLO za-gw.sanpeople.com") by vger.kernel.org with ESMTP id S1750783AbWIZJgD (ORCPT ); Tue, 26 Sep 2006 05:36:03 -0400 Subject: Re: [PATCH 0/3] at91_serial: Introduction From: Andrew Victor To: Haavard Skinnemoen Cc: Russell King , linux-kernel@vger.kernel.org In-Reply-To: <20060926112757.03dd8cbc@cad-250-152.norway.atmel.com> References: <11545303083273-git-send-email-hskinnemoen@atmel.com> <20060923211417.GB4363@flint.arm.linux.org.uk> <1159261584.24659.16.camel@fuzzie.sanpeople.com> <20060926112757.03dd8cbc@cad-250-152.norway.atmel.com> Content-Type: text/plain Organization: Multenet Technologies (Pty) Ltd Message-Id: <1159262891.24662.25.camel@fuzzie.sanpeople.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 26 Sep 2006 11:28:11 +0200 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 833 Lines: 30 hi Haavard, > Maybe we can agree on a platform_data format so > that we can remove the #ifdef altogether? The platform_data structure is currently defined in include/asm-arm/arch-at91rm9200/board.h as: struct at91_uart_data { short use_dma_tx; /* use transmit DMA? */ short use_dma_rx; /* use receive DMA? */ }; I don't think the DMA-support is currently in mainline, but is in the pending patches on http://maxim.org.za/AT91RM9200/2.6/ I guess we can just add another field: short no_remap; /* base address is already mapped */ (or something similar) Regards, Andrew Victor - 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/