Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758488AbZJMBJd (ORCPT ); Mon, 12 Oct 2009 21:09:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757294AbZJMBJc (ORCPT ); Mon, 12 Oct 2009 21:09:32 -0400 Received: from mail-px0-f187.google.com ([209.85.216.187]:47676 "EHLO mail-px0-f187.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756772AbZJMBJb (ORCPT ); Mon, 12 Oct 2009 21:09:31 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=gQn4e0fDkEXPjEl4p08eJkQ2LzHs4HUyvGKSorukBZmGsjRETaqOHx4H0vAsLn9Je0 P7b3pNv5s227fdH/SFA6RvrqxF8cSsw2OApSIk+WWVhoqBZKyIePpr2R8BvPw4PVbeB5 3a4H5MKfO2tjTMq5suqbgB3+a+Imwt/sKfTrI= Date: Mon, 12 Oct 2009 18:08:51 -0700 From: Dmitry Torokhov To: Thomas Chou Cc: linux-input@vger.kernel.org, Nios2 development list , linux-kernel@vger.kernel.org Subject: Re: [PATCH] input: New driver for Altera PS/2 controller Message-ID: <20091013010850.GC21626@core.coreip.homeip.net> References: <1254985152-32407-1-git-send-email-thomas@wytron.com.tw> <20091010045603.GA9914@core.coreip.homeip.net> <4AD060D0.7090502@wytron.com.tw> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4AD060D0.7090502@wytron.com.tw> User-Agent: Mutt/1.5.19 (2009-01-05) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1633 Lines: 44 On Sat, Oct 10, 2009 at 06:24:16PM +0800, Thomas Chou wrote: > On 10/10/2009 12:56 PM, Dmitry Torokhov wrote: >> Hi Thomas, >> >> On Thu, Oct 08, 2009 at 02:59:12PM +0800, Thomas Chou wrote: >> >>> This patch adds a new SERIO driver to support the Altera University >>> Program PS/2 controller. >>> >>> >> Thank you for the patch, it looks like it is reasonable written although >> it should do request_mem_region for the IO memory region it tries to >> remap and also IO addresses should not be cast to unsigned int but >> rather 'void __iomem *'. I also don;t see the reason for it to depend on >> EMBEDDED since the things that depend on EMBEDDED are usually features >> that are used almost by everyone and only in case of embedded arch you >> may want to turn them off to save some memory. >> >> I also prefer even static functions to have the driver name as their >> prefix - this way if I see a backtrace I know exactly which module is >> involved. >> >> I made a small patch on top of yours, please give it a try and if it did >> not break anything then I will fold it all together and queue for >> 2.6.33. >> >> Thanks! >> >> > Hi Dmitry, > > Thank you very much for your help. I have tested the updated driver with > PS/2 keyboard and mouse on boards. They all worked well. > Great, tahnk you for giving it a spin. I'll queue the driver for 2.6.33. -- Dmitry -- 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/