From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.229]) by ozlabs.org (Postfix) with ESMTP id 33E5ADDD0B for ; Tue, 2 Sep 2008 17:34:41 +1000 (EST) Received: by rv-out-0506.google.com with SMTP id f6so2360210rvb.9 for ; Tue, 02 Sep 2008 00:34:39 -0700 (PDT) Message-ID: <319b0ac50809020034m12b4d57cj1fdf31f3282935e6@mail.gmail.com> Date: Tue, 2 Sep 2008 09:34:39 +0200 From: "=?ISO-8859-1?Q?S=E9bastien_Chr=E9tien?=" To: benh@kernel.crashing.org Subject: Re: Trace In-Reply-To: <1220334314.13010.89.camel@pasglop> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2049_22361501.1220340879409" References: <319b0ac50809010216jac3ae30r9260699abde6535@mail.gmail.com> <929D3CED81F34E43887A393170D66FB926B259@GBRSUN01MS002.eu.xerox.net> <319b0ac50809010525w7451ef92m5aaf6fd5f5a8958e@mail.gmail.com> <929D3CED81F34E43887A393170D66FB926B40F@GBRSUN01MS002.eu.xerox.net> <929D3CED81F34E43887A393170D66FB926B41A@GBRSUN01MS002.eu.xerox.net> <48BC195F.4070505@gmail.com> <1220314383.13010.62.camel@pasglop> <48BCCB6D.5040209@fr.thalesgroup.com> <1220334314.13010.89.camel@pasglop> Cc: =?ISO-8859-1?Q?S=E9bastien_CHRETIEN?= , linuxppc-dev@ozlabs.org, "Jenkins, Clive" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , ------=_Part_2049_22361501.1220340879409 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline ok is it a bad way to write a tty driver ? why ? 2008/9/2, Benjamin Herrenschmidt : > > On Tue, 2008-09-02 at 07:13 +0200, S=E9bastien CHRETIEN wrote: > > My board has only a uart device on a FPGA. I don't use the serial layer > > because it isn't documented in Linux Device Driver 3rd. Only the tty > > layer is documented > > > You won't go very far in linux kernel dev. with using books like > that :-) > > Look at other drivers in drivers/serial that should give you all the > information you need :-0 > > Cheers, > Ben. > > > ------=_Part_2049_22361501.1220340879409 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline ok is it a bad way to write a tty driver ? why ?

2008/9/2, Benjamin Herrenschmidt <benh@kernel.crashing.org>:
On Tue, 2008-09-02 at 07:13 +0200, S=E9bastien CHRETIEN wrote:
> My = board has only a uart device on a FPGA. I don't use the serial layer > because it isn't documented in Linux Device Driver 3rd. Only the= tty
> layer is documented


You won't go very far in linux k= ernel dev. with using books like
that :-)

Look at other driver= s in drivers/serial that should give you all the
information you need := -0

Cheers,
Ben.



------=_Part_2049_22361501.1220340879409--