summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_dev.h
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2009-02-28 17:14:03 +0000
committerthompsa <thompsa@FreeBSD.org>2009-02-28 17:14:03 +0000
commitea8d02b4ddafcb724135189d62f3ef1ab1f821cf (patch)
treec37a1bfee6b04d79db9718d07039d94aa0f04fa2 /sys/dev/usb/usb_dev.h
parent322413c46c002718cc357647800a58347e6a7535 (diff)
downloadFreeBSD-src-ea8d02b4ddafcb724135189d62f3ef1ab1f821cf.zip
FreeBSD-src-ea8d02b4ddafcb724135189d62f3ef1ab1f821cf.tar.gz
- Remove the usb interface number from the device nodes as it is not needed.
- Do not recreate the device nodes in set_alt_interface as the endpoints do not change. Submitted by: Hans Petter Selasky
Diffstat (limited to 'sys/dev/usb/usb_dev.h')
-rw-r--r--sys/dev/usb/usb_dev.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/usb/usb_dev.h b/sys/dev/usb/usb_dev.h
index ee00852..92be7af 100644
--- a/sys/dev/usb/usb_dev.h
+++ b/sys/dev/usb/usb_dev.h
@@ -92,7 +92,6 @@ struct usb2_cdev_privdata {
struct usb2_fifo *txfifo;
int bus_index; /* bus index */
int dev_index; /* device index */
- int iface_index; /* interface index */
int ep_addr; /* endpoint address */
uint8_t fifo_index; /* FIFO index */
uint8_t is_read; /* location has read access */
@@ -105,7 +104,6 @@ struct usb2_cdev_privdata {
struct usb2_fs_privdata {
int bus_index;
int dev_index;
- int iface_index;
int ep_addr;
int mode;
int fifo_index;
OpenPOWER on IntegriCloud