From: Tilman Schmidt <tilman@imap.cc>
To: linux-kernel@vger.kernel.org
Subject: assigning a line discipline to a serial device from inside the kernel
Date: Wed, 16 Jan 2008 13:29:31 +0100 [thread overview]
Message-ID: <478DF8AB.50400@imap.cc> (raw)
[-- Attachment #1: Type: text/plain, Size: 826 bytes --]
The Siemens Gigaset M101 driver (drivers/isdn/gigaset/ser_gigaset.ko)
is implemented as a serial line discipline N_GIGASET_M101, much like
the better-known N_SLIP and N_PPP LDs. It must therefore be "pushed"
onto a serial device in order to be used.
The classic approach is a trivial userspace daemon which opens the
device, sets the LD via ioctl(~,TIOCSETD,~), and must then sleep
indefinitely while keeping the device open, because closing it
would unload the LD.
Is there a clean and acceptable way to avoid this userspace daemon
and push the LD onto the serial device from within the kernel?
Thanks,
Tilman
--
Tilman Schmidt E-Mail: tilman@imap.cc
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Ungeöffnet mindestens haltbar bis: (siehe Rückseite)
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]
reply other threads:[~2008-01-16 12:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=478DF8AB.50400@imap.cc \
--to=tilman@imap.cc \
--cc=linux-kernel@vger.kernel.org \
/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