12 #include <linux/kernel.h>
14 #include <linux/tty.h>
15 #include <linux/module.h>
19 #define USB_DEBUG_MAX_PACKET_SIZE 8
20 #define USB_DEBUG_BRK_SIZE 8
33 { USB_DEVICE(0x0525, 0x127a) },
41 static void usb_debug_break_ctl(
struct tty_struct *tty,
int break_state)
49 static void usb_debug_process_read_urb(
struct urb *
urb)
54 memcmp(urb->transfer_buffer, USB_DEBUG_BRK,
71 .break_ctl = usb_debug_break_ctl,
72 .process_read_urb = usb_debug_process_read_urb,