Messages in this thread | | | Date | Thu, 15 Oct 2009 23:08:53 +0100 | From | Alan Cox <> | Subject | Re: Hardware initialization in line discipline - ldisc_open() ? |
| |
On Thu, 15 Oct 2009 23:46:42 +0200 Peter Stuge <peter@stuge.se> wrote:
> Alan Cox wrote: > > > Can you suggest a solution to this problem? Ideally one that can be > > > contained in the ldisc. > > > > Similar problem with the GSM mux I've been working on. I've gone for > > making the ldisc attach always work and then kicking things off via an > > ioctl which sets the desired mode/parameters/encoding. > > I'll do the same. Did you add a new ioctl for this, or use an > existing one?
I added a private one - given I needed to pass the adaption layer code, gsm mux level and whether we were initiator or not it didn't really fit anything generic in the tty layer.
| |