linux/drivers/usb/misc/ehset.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (c) 2010-2013, The Linux Foundation. All rights reserved.
 */

#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/usb.h>
#include <linux/usb/ch11.h>

#define TEST_SE0_NAK_PID
#define TEST_J_PID
#define TEST_K_PID
#define TEST_PACKET_PID
#define TEST_HS_HOST_PORT_SUSPEND_RESUME
#define TEST_SINGLE_STEP_GET_DEV_DESC
#define TEST_SINGLE_STEP_SET_FEATURE

extern const struct usb_device_id *usb_device_match_id(struct usb_device *udev,
						const struct usb_device_id *id);

/*
 * A list of USB hubs which requires to disable the power
 * to the port before starting the testing procedures.
 */
static const struct usb_device_id ehset_hub_list[] =;

static int ehset_prepare_port_for_testing(struct usb_device *hub_udev, u16 portnum)
{}

static int ehset_probe(struct usb_interface *intf,
		       const struct usb_device_id *id)
{}

static void ehset_disconnect(struct usb_interface *intf)
{}

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

static struct usb_driver ehset_driver =;

module_usb_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();