Re: Hardware initialization in line discipline - ldisc_open() ?

From: Alan Cox
Date: Thu Oct 15 2009 - 18:08:47 EST


On Thu, 15 Oct 2009 23:46:42 +0200
Peter Stuge <peter@xxxxxxxx> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/