Re: Help with Implementing a custom line discipline driver
From: Alan Cox <hidden>
Date: 2011-12-02 14:04:49
From: Alan Cox <hidden>
Date: 2011-12-02 14:04:49
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