diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-03-17 01:46:40 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-03-17 01:46:40 +0000 |
commit | 152e3d301d04fa2aa6bf7600705f0170d2ba27c0 (patch) | |
tree | 85006ed8a85d5213a94fe0bf4564ece9a33ebbfe /sys/dev/usb/usb_device.h | |
parent | aaec37fdbe35075f7a6fb6c59c1541265361965d (diff) | |
download | FreeBSD-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.h | 2 |
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 |