From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Subodh Nijsure <nijsure.subodh@gmail.com>
Cc: linux-serial@vger.kernel.org
Subject: Re: Help with Implementing a custom line discipline driver
Date: Fri, 2 Dec 2011 14:06:32 +0000 [thread overview]
Message-ID: <20111202140632.4380c70c@lxorguk.ukuu.org.uk> (raw)
In-Reply-To: <CAMFeL9Jjr_4L8a_8-QD=PZ6dGZF2LkxPHa2Ooc+poWfgDvkMow@mail.gmail.com>
> So the question is, Is it possible to implement line discipline
> driver for serial port, that just provides ioctl?
No. A line discipline implements data processing for the tty and non
device specific interfaces.
Device specific extensions and interfaces should go into the tty driver
for that actual hardware. Unknown tty ioctls are also passed to the tty
drivers ioctl method to allow this.
Alan
prev parent reply other threads:[~2011-12-02 14:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-02 13:45 Help with Implementing a custom line discipline driver Subodh Nijsure
2011-12-02 14:06 ` Alan Cox [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20111202140632.4380c70c@lxorguk.ukuu.org.uk \
--to=alan@lxorguk.ukuu.org.uk \
--cc=linux-serial@vger.kernel.org \
--cc=nijsure.subodh@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox