From: Greg Kroah-Hartman Subject: Re: [PATCH 1/2] serial: New serial driver SCCNXP Date: Mon, 24 Sep 2012 10:26:14 -0700 Message-ID: <20120924172614.GB32691@kroah.com> References: <1345908260-6948-1-git-send-email-shc_work@mail.ru> <20120905202433.GA23267@kroah.com> <20120924205047.da73876b.shc_work@mail.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-pa0-f46.google.com ([209.85.220.46]:38957 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755934Ab2IXR0U (ORCPT ); Mon, 24 Sep 2012 13:26:20 -0400 Received: by padhz1 with SMTP id hz1so1065783pad.19 for ; Mon, 24 Sep 2012 10:26:20 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20120924205047.da73876b.shc_work@mail.ru> Sender: linux-serial-owner@vger.kernel.org List-Id: linux-serial@vger.kernel.org To: Alexander Shiyan Cc: linux-serial@vger.kernel.org, Alan Cox On Mon, Sep 24, 2012 at 08:50:47PM +0400, Alexander Shiyan wrote: > On Wed, 5 Sep 2012 13:24:33 -0700 > Greg Kroah-Hartman wrote: > ... > > > +config SERIAL_SCCNXP > > > + bool "SCCNXP serial port support" > > > + depends on !SERIAL_SC26XX > > > + select SERIAL_CORE > > > + default n > > > + help > > > + This selects support for an advanced UART from NXP (Philips). > > > + Supported ICs are SCC2681, SCC2691, SCC2692, SC28L91, SC28L92, > > > + SC28L202, SCC68681 and SCC68692. > > > + Positioned as a replacement for the driver SC26XX. > > > > This driver can be built as a module, right? If so, please change this > > to a tristate variable, not a "bool". I don't feel like always building > > it into my kernels :) > > Care to send a follow-on patch fixing this up? > > I'm not sure whether the driver works as a module, as in the case of the > module, we can not setup at least IO-address and IRQ parameters. Or, we are > need to create module_param variables. You should not use module parameters for this type of thing. What about platform data instead? gre gk-h