[<prev] [next>] [day] [month] [year] [list]
Message-ID: <478DF8AB.50400@imap.cc>
Date: Wed, 16 Jan 2008 13:29:31 +0100
From: Tilman Schmidt <tilman@...p.cc>
To: linux-kernel@...r.kernel.org
Subject: assigning a line discipline to a serial device from inside the kernel
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@...p.cc
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Ungeöffnet mindestens haltbar bis: (siehe Rückseite)
Download attachment "signature.asc" of type "application/pgp-signature" (251 bytes)
Powered by blists - more mailing lists