[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7af815b6-b12a-b8a3-70d1-64a40ed073a0@suse.com>
Date: Mon, 13 Mar 2023 21:18:40 +0100
From: Oliver Neukum <oneukum@...e.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jarkko Sonninen <kasper@....fi>
Cc: Johan Hovold <johan@...nel.org>, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] USB: serial: xr: Add TIOCGRS485 and TIOCSRS485 ioctls
On 13.03.23 16:50, Greg Kroah-Hartman wrote:
> On Mon, Mar 13, 2023 at 05:07:59PM +0200, Jarkko Sonninen wrote:
>> Using ENOTTY breaks all other tty ioctls.
>
> What other tty ioctls?
>
> confused,
>
This is one of those handlers which simulate OO inheritance in C.
You can implement any IOCTL in the driver. If you do not, you
give back -ENOICTLCOMMAND. Any other error means that you did
implement it and an error occured in the method.
HTH
Oliver
Powered by blists - more mailing lists