aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/r8a66597.h
diff options
context:
space:
mode:
authorYoshihiro Shimoda <shimoda.yoshihiro@renesas.com>2008-04-10 08:05:47 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2008-04-25 00:16:49 -0400
commit6d8791076c7742c65dd796ae0ac260ab22e85517 (patch)
tree402ec1f9c417e09db52c39081dc57fbe278eedfb /drivers/usb/host/r8a66597.h
parent97af0a911bfb1e798c395c6ebabb4731f821736f (diff)
USB: r8a66597-hcd: fix interrupt transfer interval
This driver ignored the value of bInterval and revised the problem that performed interrupt transfer. ASIX USB Ethernet adapter comes to work with this host controller by applying this patch. Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/r8a66597.h')
-rw-r--r--drivers/usb/host/r8a66597.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/host/r8a66597.h b/drivers/usb/host/r8a66597.h
index 57388252b693..a01461017ad6 100644
--- a/drivers/usb/host/r8a66597.h
+++ b/drivers/usb/host/r8a66597.h
@@ -404,6 +404,7 @@
404#define make_devsel(addr) (addr << 12) 404#define make_devsel(addr) (addr << 12)
405 405
406struct r8a66597_pipe_info { 406struct r8a66597_pipe_info {
407 unsigned long timer_interval;
407 u16 pipenum; 408 u16 pipenum;
408 u16 address; /* R8A66597 HCD usb address */ 409 u16 address; /* R8A66597 HCD usb address */
409 u16 epnum; 410 u16 epnum;
@@ -478,9 +479,11 @@ struct r8a66597 {
478 479
479 struct timer_list rh_timer; 480 struct timer_list rh_timer;
480 struct timer_list td_timer[R8A66597_MAX_NUM_PIPE]; 481 struct timer_list td_timer[R8A66597_MAX_NUM_PIPE];
482 struct timer_list interval_timer[R8A66597_MAX_NUM_PIPE];
481 483
482 unsigned short address_map; 484 unsigned short address_map;
483 unsigned short timeout_map; 485 unsigned short timeout_map;
486 unsigned short interval_map;
484 unsigned char pipe_cnt[R8A66597_MAX_NUM_PIPE]; 487 unsigned char pipe_cnt[R8A66597_MAX_NUM_PIPE];
485 unsigned char dma_map; 488 unsigned char dma_map;
486 489