Commit 5df3c351 authored by Dave Tubbs's avatar Dave Tubbs Committed by Greg Kroah-Hartman

usb: Correction to c67x00 TD data length mask

TD data length is 10 bits, correct TD_PORTLENMASK_DL. Reference
Cypress Semiconductor BIOS User's Manual 1.2, page 3-10
Signed-off-by: default avatarDave Tubbs <dave.tubbs@portalislc.com>
Acked-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1c208881
...@@ -100,7 +100,7 @@ struct c67x00_urb_priv { ...@@ -100,7 +100,7 @@ struct c67x00_urb_priv {
#define TD_PIDEP_OFFSET 0x04 #define TD_PIDEP_OFFSET 0x04
#define TD_PIDEPMASK_PID 0xF0 #define TD_PIDEPMASK_PID 0xF0
#define TD_PIDEPMASK_EP 0x0F #define TD_PIDEPMASK_EP 0x0F
#define TD_PORTLENMASK_DL 0x02FF #define TD_PORTLENMASK_DL 0x03FF
#define TD_PORTLENMASK_PN 0xC000 #define TD_PORTLENMASK_PN 0xC000
#define TD_STATUS_OFFSET 0x07 #define TD_STATUS_OFFSET 0x07
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment