On Fri, Sep 14, 2018 at 04:23:52PM +0100, Al Viro wrote:
> On Fri, Sep 14, 2018 at 03:39:30PM +0200, Johan Hovold wrote:
> > > + if (port->serial->type->get_serial)
> > > + return port->serial->type->get_serial(tty, ss);
> > > + return -ENOIOCTLCMD;
> > > +}
> > > +
> > > +static int
On Fri, Sep 14, 2018 at 04:23:52PM +0100, Al Viro wrote:
> On Fri, Sep 14, 2018 at 03:39:30PM +0200, Johan Hovold wrote:
> > > + if (port->serial->type->get_serial)
> > > + return port->serial->type->get_serial(tty, ss);
> > > + return -ENOIOCTLCMD;
> > > +}
> > > +
> > > +static int
On Fri, Sep 14, 2018 at 03:39:30PM +0200, Johan Hovold wrote:
> > + if (port->serial->type->get_serial)
> > + return port->serial->type->get_serial(tty, ss);
> > + return -ENOIOCTLCMD;
> > +}
> > +
> > +static int serial_set_serial(struct tty_struct *tty, struct serial_struct
> >
On Fri, Sep 14, 2018 at 03:39:30PM +0200, Johan Hovold wrote:
> > + if (port->serial->type->get_serial)
> > + return port->serial->type->get_serial(tty, ss);
> > + return -ENOIOCTLCMD;
> > +}
> > +
> > +static int serial_set_serial(struct tty_struct *tty, struct serial_struct
> >
On Thu, Sep 13, 2018 at 03:40:16AM +0100, Al Viro wrote:
> From: Al Viro
>
> add such methods for usb_serial_driver, provide tty_operations
> ->[sg]et_serial() calling those. For now the lack of methods
> in driver means ENOIOCTLCMD from usb-serial ->[sg]et_serial(),
> making tty_ioctl() fall
On Thu, Sep 13, 2018 at 03:40:16AM +0100, Al Viro wrote:
> From: Al Viro
>
> add such methods for usb_serial_driver, provide tty_operations
> ->[sg]et_serial() calling those. For now the lack of methods
> in driver means ENOIOCTLCMD from usb-serial ->[sg]et_serial(),
> making tty_ioctl() fall
From: Al Viro
add such methods for usb_serial_driver, provide tty_operations
->[sg]et_serial() calling those. For now the lack of methods
in driver means ENOIOCTLCMD from usb-serial ->[sg]et_serial(),
making tty_ioctl() fall back to calling ->ioctl(). Once all
drivers are converted, we'll be
From: Al Viro
add such methods for usb_serial_driver, provide tty_operations
->[sg]et_serial() calling those. For now the lack of methods
in driver means ENOIOCTLCMD from usb-serial ->[sg]et_serial(),
making tty_ioctl() fall back to calling ->ioctl(). Once all
drivers are converted, we'll be
8 matches
Mail list logo