linux/drivers/usb/serial/usb_debug.c

// SPDX-License-Identifier: GPL-2.0
/*
 * USB Debug cable driver
 *
 * Copyright (C) 2006 Greg Kroah-Hartman <[email protected]>
 */

#include <linux/gfp.h>
#include <linux/kernel.h>
#include <linux/tty.h>
#include <linux/module.h>
#include <linux/usb.h>
#include <linux/usb/serial.h>

#define USB_DEBUG_MAX_PACKET_SIZE
#define USB_DEBUG_BRK_SIZE
static const char USB_DEBUG_BRK[USB_DEBUG_BRK_SIZE] =;

static const struct usb_device_id id_table[] =;

static const struct usb_device_id dbc_id_table[] =;

static const struct usb_device_id id_table_combined[] =;
MODULE_DEVICE_TABLE(usb, id_table_combined);

/* This HW really does not support a serial break, so one will be
 * emulated when ever the break state is set to true.
 */
static int usb_debug_break_ctl(struct tty_struct *tty, int break_state)
{}

static void usb_debug_process_read_urb(struct urb *urb)
{}

static struct usb_serial_driver debug_device =;

static struct usb_serial_driver dbc_device =;

static struct usb_serial_driver * const serial_drivers[] =;

module_usb_serial_driver();
MODULE_LICENSE();