Lines Matching +full:usb +full:- +full:attach
1 // SPDX-License-Identifier: GPL-2.0
3 * USB Empeg empeg-car player driver
8 * Copyright (C) 1999 - 2001
9 * Greg Kroah-Hartman (greg@kroah.com)
11 * See Documentation/usb/usb-serial.rst for more information on using this
24 #include <linux/usb.h>
25 #include <linux/usb/serial.h>
27 #define DRIVER_AUTHOR "Greg Kroah-Hartman <greg@kroah.com>, Gary Brubaker <xavyer@ix.netcom.com>"
28 #define DRIVER_DESC "USB Empeg Mark I/II Driver"
33 /* function prototypes for an empeg-car player */
42 MODULE_DEVICE_TABLE(usb, id_table);
53 .attach = empeg_startup,
65 if (serial->dev->actconfig->desc.bConfigurationValue != 1) { in empeg_startup()
66 dev_err(&serial->dev->dev, "active config #%d != 1 ??\n", in empeg_startup()
67 serial->dev->actconfig->desc.bConfigurationValue); in empeg_startup()
68 return -ENODEV; in empeg_startup()
71 r = usb_reset_configuration(serial->dev); in empeg_startup()
79 struct ktermios *termios = &tty->termios; in empeg_init_termios()
82 * The empeg-car player wants these particular tty settings. in empeg_init_termios()
90 termios->c_iflag in empeg_init_termios()
100 termios->c_oflag in empeg_init_termios()
103 termios->c_lflag in empeg_init_termios()
108 | IEXTEN); /* disable non-POSIX special characters */ in empeg_init_termios()
110 termios->c_cflag in empeg_init_termios()
115 termios->c_cflag in empeg_init_termios()