summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_device.h
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2009-03-17 01:46:40 +0000
committerthompsa <thompsa@FreeBSD.org>2009-03-17 01:46:40 +0000
commit152e3d301d04fa2aa6bf7600705f0170d2ba27c0 (patch)
tree85006ed8a85d5213a94fe0bf4564ece9a33ebbfe /sys/dev/usb/usb_device.h
parentaaec37fdbe35075f7a6fb6c59c1541265361965d (diff)
downloadFreeBSD-src-152e3d301d04fa2aa6bf7600705f0170d2ba27c0.zip
FreeBSD-src-152e3d301d04fa2aa6bf7600705f0170d2ba27c0.tar.gz
MFp4 //depot/projects/usb 159225,159241,159292
Fix regression issue in the USB file system interface. - Use cdev_privdata pointer as indicator of correct file handle. - Remove redundant FIFO opened flags. Don't send ZLP at close for ulpt and uscanner devices as this causes some models to stop working. This reverts back to the USB1 behaviour. Submitted by: Hans Petter Selasky
Diffstat (limited to 'sys/dev/usb/usb_device.h')
-rw-r--r--sys/dev/usb/usb_device.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/usb/usb_device.h b/sys/dev/usb/usb_device.h
index 8ebf9e5..a6a5d79 100644
--- a/sys/dev/usb/usb_device.h
+++ b/sys/dev/usb/usb_device.h
@@ -127,8 +127,6 @@ struct usb2_device {
uint32_t plugtime; /* copy of "ticks" */
- uint16_t ep_rd_opened; /* bitmask of endpoints opened */
- uint16_t ep_wr_opened; /* from the device nodes. */
uint16_t refcount;
#define USB_DEV_REF_MAX 0xffff
OpenPOWER on IntegriCloud